RE: [users@httpd] Missing User-Agent:

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Joshua Slive [mailto:jslive@xxxxxxxxx] 
> Sent: Sunday, June 05, 2005 9:52 PM
> To: users@xxxxxxxxxxxxxxxx
> Subject: Re: [users@httpd] Missing User-Agent:
> 
> 
> On 6/5/05, Michael D. Berger <m.d.berger@xxxxxxxx> wrote:
> > > On 6/4/05, Michael D. Berger <m.d.berger@xxxxxxxx> wrote:
> > > > I notice that Apache 2.0 rejects, with a 403,
> > > > a GET that does not have a User-Agent header,
> > > > and I to get some of these.
> > > >
> > > > Why do I get them?
> > > > Why are they rejected?
> > >
> > > Apache 2 certainly does not do this by default.  There must be
> > > someplace in your config that your are restricting based on
> > > User-Agent.
> > >
> > > Joshua.
> > 
> > cd /etc/httpd/conf
> > vi httpd.conf
> > :set ignorecase
> > /user
> > /agent
> > 
> > I find nothing in the config file that suggests this.
> 
> What about Include'd config files?
> 
> Other than that, you haven't mentioned the relevant error log and
> access log messages.  You also haven't mentioned if you are running a
> proxy in front of apache, or if apache is proxying to another server,
> etc.
> 
> As I said, apache doesn't do this by default.
> 
> Joshua.

I am using the configuration supplied with RH-E-W-3, with a few changes,
inclusing a virtual host and blocking of directory listing.  As you can
see from the log lines below, the block of directory listing is involved.
It is as if when a User-Agent is not supplied, it tries to list the
direcory, even though there is an index.html.  Why would this be?  I
don't know about the Include'd config files -- whatever RH set up.
Sorry for the long silence.
Mike.


halls-129-31-65-108.hor.ic.ac.uk - - [07/Jun/2005:09:42:01 -0400] "GET /
HTTP/1.1" 200 808 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB;
rv:1.7.8) Gecko/20050511 Firefox/1.0.4"

adsl-68-72-134-32.dsl.chcgil.ameritech.net - - [07/Jun/2005:13:52:47 -0400]
"GET / HTTP/1.0" 403 202 "-" "-"

[Tue Jun 07 13:52:47 2005] [error] [client 68.72.134.32] Directory index
forbidden by rule: /var/www/html/

--
Michael D. Berger
m.d.berger@xxxxxxxx 



---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux