httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] mod_rewrite syntax question
Date Tue, 18 Nov 2003 03:10:29 GMT

On Mon, 17 Nov 2003, Eben Goodman wrote:

> thanks for the reply,
> so I tried this and it didn't work, is there another way to use the R flag?
> RewriteEngine on
> RewriteCond %{REQUEST_URI} ^/index\.php.*
> RewriteRule ^(.+) - [L]
> RewriteRule ^(.+)/$ index.php?request=$1 [T=application/x-httpd-php,R,L]
> thanks for your time,

I meant take the specific case where you need to add the trailing slash
and do a redirect for that.  Leave the other cases the same.  (It makes no
sense to change the content-type on a redirect.)


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