Ver Mensaje Individual
  #4 (permalink)  
Antiguo 08/03/2012, 04:15
fcojose2001
 
Fecha de Ingreso: marzo-2009
Ubicación: Salamanca, España
Mensajes: 141
Antigüedad: 15 años, 8 meses
Puntos: 4
Respuesta: Configurando Zend Framework

Buenos Dias!

He hecho dos modificaciones, la primera de ellas ha sido descomentar la linea de httpd.conf y despues añadir las librerias a mi proyecto manualmente

Código:
Include conf/extra/httpd-vhosts.conf
Reinicio servidor y al poner testzend.local en el navegador me muestra:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


He probado ademas a entrar en localhost y me dice:

Forbidden You don't have permission to access / on this server.

Este es mi archivo httpd-vhosts:

Código:
#
# Virtual Hosts
#
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at 
# <URL:http://httpd.apache.org/docs/2.2/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.

#
# Use name-based virtual hosting.
#
NameVirtualHost *:80

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
<VirtualHost *:80>
    ServerAdmin [email protected]
    DocumentRoot "C:/Users/Fran/Documents/Entorno de Programacion/Servers/Apache2.2/docs/dummy-host.FranPC.home"
    ServerName dummy-host.FranPC.home
    ServerAlias www.dummy-host.FranPC.home
    ErrorLog "logs/dummy-host.FranPC.home-error.log"
    CustomLog "logs/dummy-host.FranPC.home-access.log" common
</VirtualHost>

<VirtualHost *:80>
    ServerAdmin [email protected]
    DocumentRoot "C:/Users/Fran/Documents/Entorno de Programacion/Servers/Apache2.2/docs/dummy-host2.FranPC.home"
    ServerName dummy-host2.FranPC.home
    ErrorLog "logs/dummy-host2.FranPC.home-error.log"
    CustomLog "logs/dummy-host2.FranPC.home-access.log" common
</VirtualHost>

<VirtualHost *:80>
   DocumentRoot "C:/Users/Fran/Documents/Entorno de Programacion/Servers/Apache2.2/htdocs/testzend/public"
   ServerName testzend.local

   # This should be omitted in the production environment
   SetEnv APPLICATION_ENV development

   <Directory "C:/Users/Fran/Documents/Entorno de Programacion/Servers/Apache2.2/htdocs/testzend/public">
       Options Indexes MultiViews FollowSymLinks
       AllowOverride All
       Order allow,deny
       Allow from all
   </Directory>

</VirtualHost>
__________________
Puedes seguirme en Twitter: @fcojose2001