hybrid kill3r Posted October 21, 2011 Share Posted October 21, 2011 So I am trying to make an htaccess file that rewrites the url only if you're accessing a URL with "xml/" at the beginning. For some reason I'm getting a 500 Internal Server Error and I don't know why. Here's my file: RewriteEngine onRewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-d RewriteCond xml/$1 !^(xml\.php|images|robots\.txt)RewriteRule xml/^(.*)$ xml.php/$1 [L]= Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.