On Oct 27, 2:38 am, "HansH" <ha....RemoveThis@invalid.invalid> wrote:
> "Russell Bell" <r....RemoveThis@fastbase.co.nz> schreef in berichtnews:fftt9b$cdf$1@aioe.org...> We're hosting a website for customer using named virtual hosting,
> > which works fine except for one problem. The customer says they
> > can't access the website home page (www.xxx.co.nz)
> > from certain PC's. The browser gets a "Directory index forbidden by rule"
> > error.
>
> > x.x.x.x [23/Oct/2007:13:29:40 +1300] "www.xxx.co.nz/"
> > 398 "GET / HTTP/1.0" Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
> > SV1; .NET CLR 1.1.4322)
>
> > [Tue Oct 23 13:29:40 2007] [error] [client x.x.x.x]
> > Directory index forbidden by rule: /var/www/html/xxx/
>
> Like to know your logformat for better understanding.
>
> For now it seems those PC are using HTTP/1.0, thus do NOT send a host header
> at all. Without a hostheader the default -first defined- vhost is
> responding.
>
> Most likely those PC fall back to HTTP/1.0 while using a proxy :
> Check under Tools -> Options -> Advanced
>
> HansH
do you use some rewrites for your customers which results in the host
being modified from
www.xxx.co.nz
to
www.xxx.co.nz/
that would appear to be non-standard.
and yes your log format suggests http/1.0 and the fact that your log
file doesnt record the host accurately suggests that you are setting
it using some rules in the httpd conf when http/1.0 is used over
proxies but getting it slightly wrong.
>> Stay informed about: Host with trailing slash