Ver Mensaje Individual
  #1 (permalink)  
Antiguo 13/02/2010, 07:27
Samou
 
Fecha de Ingreso: junio-2009
Mensajes: 115
Antigüedad: 14 años, 9 meses
Puntos: 0
Error 500 Internal Server Error

Hola, acabo de empezar con el Zend Framework y estoy teniendo problemas para arrancar el codigo de prueba que trae, el problema solo me salta si intento arrancar la aplicacion que he creado basandome en el zend, ya q otras aplicaciones q stan en l mismo directorio de apache me funcionan correctamente.
El problema creo q m viene del fichero .htaccess:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]

Yo no cambie nada y esto es lo q venia por defecto.
Lo unico que modifique fue el doc_root para q sea el mismo en apache y php pq asi lo pedia la instalacion del framework. Ademas tengo en variables d entorno el path del zend y el dl php correctamente insertados, pero desde el error log de apache me salta el siguiente error:
[Sat Feb 13 14:04:26 2010] [alert] [client 127.0.0.1] C:/Archivos de programa/PostgreSQL/EnterpriseDB-ApachePhp/apache/www/biblioteca/public/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
[Sat Feb 13 14:05:01 2010] [alert] [client 127.0.0.1] C:/Archivos de programa/PostgreSQL/EnterpriseDB-ApachePhp/apache/www/biblioteca/public/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
[Sat Feb 13 14:06:19 2010] [alert] [client 127.0.0.1] C:/Archivos de programa/PostgreSQL/EnterpriseDB-ApachePhp/apache/www/biblioteca/public/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
[Sat Feb 13 14:08:30 2010] [alert] [client 127.0.0.1] C:/Archivos de programa/PostgreSQL/EnterpriseDB-ApachePhp/apache/www/biblioteca/public/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
[Sat Feb 13 14:08:31 2010] [alert] [client 127.0.0.1] C:/Archivos de programa/PostgreSQL/EnterpriseDB-ApachePhp/apache/www/biblioteca/public/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration

Y sinceramente no tengo ni idea de como resolverlo, ya que como les comento es algo q m falla solo en este proyecto q usa zend, el resto de proyectos m van bien, x lo q no creo q sea de una mala configuracion del apache o dl php sino q vendra del archivo .htaccess q esta en la carpeta:
biblioteca\public, donde biblioteca es el proyecto con estructura zend.
Gracias de antemano por sus respuestas