httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Feris Thia" <feris.apache.ht...@gmail.com>
Subject Re: [users@httpd] URLRewrite Question
Date Sat, 03 Feb 2007 04:55:15 GMT
On 2/3/07, Bob <bobsiegen@googlemail.com> wrote:
>
> Feris Thia wrote:
> > I have added the [L] but it seems not stopping.
>
> It does. But there is an internal redirect in directory context.
>
> Put
>
> RewriteEngine on
> RewriteRule ^/([0-9a-zA-Z]+)\.html$ /$1.php [PT]
> RewriteRule \.php$ - [F]
>
> into your httpd.conf/ per-server context (main server config section or
> inside your client's <virtualhost>-section).

--
> Bob
>


Hi Bob,

It's working. Thanks.

Another question, the rule will not work in shared host, right ?

Regards,

Feris

Mime
View raw message