500 Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator www@ and inform them of the time the error occurred, and anything you might have done that may have caused the error.
Reason: Error parsing access file
RewriteEngine On
RewriteBase /_staging
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /staging/index.php?q=$1 [L,QSA]
Thanks for responding!
I don’t think you’d normally add /staging/ to the actual RewriteRule as it’s declared in the RewriteBase
I’m guessing on this one but you could check the template for this:
Code:
<base href="[(site_url)]" />
Also check you .htaccess (this is mine)
Code:
RewriteEngine On
RewriteBase /modx/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]*)/?(.*)$ index.php?q=$1&d=$2 [L,QSA,NC]
See if that helps.
[Wed May 21 20:27:58 2008] HTTPd: syntax error or override violation in access control file [SERVER]/web/_staging/.htaccess, reason: Unknown method RewriteBase
Try just removing RewriteBase and make sure your Apache config allows you to override mod_rewrite directives in .htaccess files (this is a common source of a 500 error even if mod_rewrite is setup).
error parsing access file [server]/web/_staging/.htaccess, line 1, reason: unknown Directive
This discussion is closed to further replies. Keep calm and carry on.