Jump to content

Rewrite Directories


hybrid kill3r

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...