I'm getting in my server error log.
[Mon Jan 27 08:04:06 2014] [alert] [client x.x.x.x] /home/…/public_html/.htaccess: Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration
And here is my simple .htaccess
:
<IfModule mod_rewrite.c>
Options -MultiViews
php_flag display_startup_errors on
php_flag display_errors on
php_flag html_errors on
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ silex.php/ [L]
</IfModule>
What could be wrong?
Best Answer
It might be because
mod_headers
is not enabled. Try runninga2enmod headers
to enable the module.