Afficher un message
Vieux 12/10/2006, 12h41   #3
Davide Bianchi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to list a directory if .htaccess redirect is present?

On 2006-10-12, Howie <to.reply.pls.see.sig@end.of.message.com.invalid > wrote:
> I have a redirect in my top-level web directory which says this:
>
> AllowOverride All
> Redirect / http://www.pontinshistory.co.uk
> Redirect /index.htm/ http://www.pontinshistory.co.uk


The second one is already redundant, since the first one will bump
everything away.

> However, I want my server to list files in a lower directory to
> allow downloads.


I'm not enterily sure if it's possible, since the first one will already
redirect you when you hit the root dir.

> RewriteEngine on


?? why ?

> However, when I try to access www.pontinshistory.co.uk/downloads/
> I get a 500 server error page.


And in the error log ?

Davide

--
One distinguishing characteristic of BOFHen is attention deficit disorder.
Put me in front of something boring and I can find a near-infinite number
of really creative ways to bugger off.
-- ADB
  Réponse avec citation
 
Page generated in 0,05397 seconds with 9 queries