[CentOS] mod_rewrite issue

Gary gdriggs at gmail.com
Wed Jun 4 15:33:38 UTC 2008

I'm installing Drupal 6.2 in the document root of a CentOS 5 install using
httpd-2.2.3-11.el5_1. I'm using a virtual host entry with the following
rewrite rule to enable "clean" URLs:

RewriteRule ^(.*)$ index.php?q=$1 [R,L,QSA]

This works fine expect the user still sees the "ugly" URL in the address
bar. However, if I remove the R, it breaks completely. Any clues? I can send
more of my httpd.conf if you think it'll help.

much thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.centos.org/pipermail/centos/attachments/20080604/84179066/attachment.htm

More information about the CentOS mailing list