Este es otro de los fallos que pueden aparecer comúnmente en apache tras una instalación si uno de los virtualhost's nuevos tiene una configuración que implique una redirección.
shell> /etc/init.d/apache2 start Syntax error on line 22 of /etc/apache2/sites-enabled/000-default: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration Action 'configtest' failed. The Apache error log may have more information. failed!
Para solucionarlo, únicamente hay que habilitar el módulo de apache que se encarga de realizar las redirecciones. Tal y como sigue,
shell> a2enmod rewrite Enabling module rewrite.Y ya está.
shell> /etc/init.d/apache2 start Restarting web server: apache2 ... waiting .
No hay comentarios :
Publicar un comentario