Re: [users@httpd] httpd occasional 403 error

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

 



Hi Joshua,

Le 30 août 05, à 17:47, Joshua Slive a écrit :

On 8/29/05, Dominique Fober <fober@xxxxxxxx> wrote:
I'm running apache on a linux station (detailed versions below) and I
get occasional 403 errors (Directory index forbidden).


I can completely avoid these 403 errors using the '--cache=off' on the
wget command line. I'm therefore suspecting that some 'cache strategy'
could be involved in the problem but looking at the documentation, I
can't find any explanation (cache seems to be mainly related to proxy
and there is none in the local config and when I use wget).

--cache=off tells wget to send Pragma: no-cache, which shouldn't have
any effect unless there is some cache or proxy between you and the
server.  Are you sure you are directly accessing the server?

yes, the station that issues wget and the one with apache server are located on the same local network: no router, no proxy.



Here is some additional information:

- the server and system version numbers:
Apache-AdvancedExtranetServer/2.0.50 (Mandrakelinux/7.3.101mdk)
mod_perl/1.99_16 Perl/v5.8.5 mod_ssl/2.0.50 OpenSSL/0.9.7d PHP/4.3.8
Linux 2.6.8.1-12mdksmp #1 SMP Fri Oct 1 11:24:45 CEST 2004 i686
Intel(R) Pentium(R) 4 CPU 2.80GHz (official Mandrake 10.1)

Oooo.  I get scarded whenever I see that "AdvancedExtranet" stuff.
That means a version of apache with random extra hacks added.  Who
knows what it will do.

the apache server is as provided with the official mandrake 10.1 distribution + some updates



- some reports from error_log:
[Thu Aug 25 11:15:09 2005] [error] [client 81.199.84.124] Directory
index forbidden by rule: /home/www/html/Creation/Residences/Giroudon/
[Mon Aug 29 17:57:14 2005] [error] [client 194.5.49.22] Directory index
forbidden by rule: /home/www/html/
errors are on any folder, access rights have been controled


- an excerpt of the commonhttpd.conf
<Directory /home/www/html>
     Options -Indexes Includes FollowSymLinks -MultiViews

Well, you do have indexes turned off (although your Options line
doesn't make a lot of sense -- see the docs for Options).  Do you have
a file in those directories that matches the DirectoryIndex directive?

yes, there is one (index.html) and the server can find and use it almost each time, apart these 'occasional' errors...

here is also the 'DirectoryIndex' used:
<IfModule mod_dir.c>
DirectoryIndex index.html index.html.var index.php index.php3 index.shtml index.cgi index.pl index.htm Default.htm default.htm index.xml
</IfModule>


Joshua.

---------------------------------------------------------------------
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


---
Dominique Fober


---------------------------------------------------------------------
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