primefalcon
01-08-2010, 04:09 PM
I am trying to do a .htaccess redirect like so for a maintenance page
RewriteEngine On
RewriteBase /var/www/example/
RewriteCond %{REQUEST_URI} !index\.php$
RewriteRule .* index\.php [R=302,L]
however all I am getting back is
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, me@me.com 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.
However everything is working fine on everything exept this virtual host, which also works fine without the .htaccess file
RewriteEngine On
RewriteBase /var/www/example/
RewriteCond %{REQUEST_URI} !index\.php$
RewriteRule .* index\.php [R=302,L]
however all I am getting back is
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, me@me.com 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.
However everything is working fine on everything exept this virtual host, which also works fine without the .htaccess file