[rhn-users] apache : mod_rewrite question
FM
dist-list at LEXUM.UMontreal.CA
Thu May 12 18:44:55 UTC 2005
Hello for specifics folders
I want that :
if http://www.site.org/a1/b1/f2/test.htm;
does not exist, if return this page :
http://www.site.org/a1/b1/f2/index.html
there is a lot of 'f' folder.
What I try :
RewriteEngine On
RewriteCond ^/(a1)/(b2)/([^/+])/%{REQUEST_FILENAME} !-f
RewriteRule /$1/$2/$3/index.html [R]
But I have the 404 error page
Some ideas ?
Thanks !!!
More information about the rhn-users
mailing list