Code snippets: October 2008 Archives

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


About this Archive

This page is a archive of entries in the Code snippets category from October 2008.

Code snippets: August 2008 is the previous archive.

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

Code snippets: October 2008: Monthly Archives

Powered by Movable Type 4.21-en