httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <>
Subject Re: [users@httpd] A newbie question about mod_rewrite configuration
Date Tue, 20 Mar 2007 23:42:33 GMT
On 3/20/07, Charles Michener <> wrote:

>  RewriteRule ^([^/]+).htm$ index.php?SKU=$1 [R]

Inside httpd.conf, rewriterules are / based, so you need
RewriteRule ^/([^/]+)..... /index.php....

Also, you'll need to either use RewriteOptions Inherit inside the
<VirtualHost>, or explicitly put the RewriteRule inside the
<VirtualHost> section.

In addition, I doubt you want the [R] which will cause client's
URL-bar to change.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message