Mod_rewrite in httpd.conf

| | Comments (0)
For various reasons, you might end up needing to put your mod_rewrite syntax in your httpd.conf, usually if you want to use basic rewriting, but with .htaccess support turned of.

In that case, you need to be aware that you need to add a / for it to work, like this:

From http://drupal.org/node/9418:
herefore :
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
becomes
RewriteRule ^/(.*)$ /index.php?q=$1 [L,QSA]
in my case


Categories

Leave a comment

About this Entry

This page contains a single entry by Niklas Bivald published on October 5, 2008 3:08 PM.

Hyper Island Seminars was the previous entry in this blog.

File upload as email attachments in Django is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 4.21-en