httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Effenberger <flo...@arcor.de>
Subject Re: [users@httpd] suEXEC and RewriteRule
Date Wed, 31 Jan 2007 16:06:22 GMT
Hi Olivier,

> I'm not exactly sure RewriteRule accepts all sorts of regex, such as
> "?".
> But if so, I guess the following should do:
> 
> RewriteRule ^/projects/design/(.?) http://www.mydoma.in/~michael/$1 [P]
> 
> And below:
> 
> RewriteRule ^/projects/design/  - [F]
> 
> Or even:
> 
> RewriteRule .*  - [F]
> 
> That would make a call to any script available, but trying to access
> root directory return a "Forbidden" response...

thanks for your reply. Unfortunately, in that case I still have "Index 
of /~michael" as title of my Directory Listings. :-( Any idea on how to 
avoid that?

Thanks
Florian

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message