Hi Olivier,
This still doesn't work as what I want it too. It makes every access to html
and php forbidden.
Regards,
Feris
On 2/2/07, Chirouze Olivier <[EMAIL PROTECTED]> wrote:
Hi,
I guess you should add [L] ("last") to your first rule, and make sure
the second one is AFTER. Thus, the first rule will work for *.html, and
exit. When calling *.php, it will go to the second one...
RewriteEngine on
RewriteRule ^([0-9a-zA-Z]+)\.html$ $1.php [L]
RewriteCond %{REQUEST_URI} "\.(php)$"
RewriteRule .* - [F]
Olivier
Olivier CHIROUZE
I&0 Infrastructure
Volvo Information Technology