RE: [users@httpd] You don't have permission to access / on this server.

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

 



> -----Original Message-----
> From: Peter de Groot [mailto:peter.de.groot@xxxxxxxxxxxxx] 
> Sent: Freitag, 24. März 2006 10:24
> To: users@xxxxxxxxxxxxxxxx
> Subject: [users@httpd] You don't have permission to access / 
> on this server.
> 
> Sorry guys yet another  one of these.....
> 
> from a newbie
> 
> 
> Forbidden
> 
> You don't have permission to access / on this server.
> Apache-AdvancedExtranetServer/2.0.53 (Mandriva 
> Linux/PREFORK-9.2.102mdk) 
> mod_auth_external/2.2.9 mod_ssl/2.0.53 OpenSSL/0.9.7e DAV/2 
> PHP/4.3.10 
> proxy_html/2.4 mod_perl/1.999.21 Perl/v5.8.6 Server at 
> egshs.wa.edu.au 
> Port 80
> 
> 
> 
> I have this web site
>                                         http://egshs.wa.edu.au
> 
> And on accessing, I am getting the
>                 Forbidden to access / on this server
> 
> It appears on the error_log file too..... as
> 
> [Fri Mar 24 17:01:37 2006] [error] [client 203.14.53.45] 
> Directory index 
> forbidden by rule: /mnt/hd/website/

This means you requested a directory (ie, didn't specify a filename) but apache can't find an index file (ie, a file that matches a DirectoryIndex argument) and directory listing is disallowed.

Just to prove nothing is seriously wrong, check you can get a file directly (eg http://egshs.wa.edu.au/about.html works OK)

> [Fri Mar 24 17:01:37 2006] [error] [client 203.14.53.45] 
> Directory index 
> forbidden by rule: /mnt/hd/website/
> [Fri Mar 24 17:01:37 2006] [error] [client 203.14.53.45] 
> Directory index 
> forbidden by rule: /mnt/hd/website/
> 
> This  error comes in threes ??
> 
> My config file has
> 
> 
> <Directory "/mnt/hd/website">
>      Options -Indexes FollowSymLinks MultiViews


>      DirectoryIndex  index.html

This is correct and the file is OK (http://egshs.wa.edu.au/index.html works) but somehow, it is not being read...

Double check this directive in your file... Any funny characters? Did you edit the file with another editor? Do "od -X httpd.conf" - does it look funny? In extremis, delete the line and retype it (use vi or emacs or something really plain)...

>      AllowOverride None
>      ExpiresActive on
>      ExpiresDefault M0
>      Order allow,deny
>      allow from  all
> </Directory>
> 
> This is also my document root ...
> 
> 
> The worry is, that it seems to work ok in IE6 but NOT in 
> Firefox 1.5 ......
> 
> The other scary thing, is that it seemed to work .. and then 
> I changed 
> my proxy to
> a squid proxy on the same machine that apache is running .. 
> and then the 
> error
> re-appeared, and is STILL THERE  (in Firefox) even when I change my 
> proxy back
> to other  proxy....
> 
> In Firefox .. when I hit the reload button, it still brings 
> up the error 
> message in the BROWSER
> but NOT in the error_log file.... I am wondering if Firefox does not 
> force a reload from the
> apache server, through the proxy ...  ???

All this funny stuff is almost certainly due to caching in the browsers and proxies. Try shift-reload supposed to force a reload) and/or kill and restart browsers. Same for proxies..

> 
> 
> The files and protections seem o.k.  

Well, it's a bit weird to have 660 on a normal file - you allow owner and group write access but don't allow others even to read? However, this is not the problem...

BTW, thanks for actually posting a live site and not obfuscating everything - it makes checking it much easier!

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 


> Does having a guid 
> sticky cause a 
> problem ??
> 
> 
> drwxrwx---  3 apache apache   4096 May 20  2005 100_schools_snaps/
> -rw-rw----  1 apache apache   3969 Mar 23 09:06 about.html
> -rw-rw----  1 apache apache   4783 Jun 20  2005 areas_bc.html
> -rw-rw----  1 apache apache   3769 Jun 20  2005 areas.html
> -rw-rw----  1 apache apache   5242 Jun 20  2005 contact_enrolment.html
> -rw-rw----  1 apache apache   4235 Jun 20  2005 contact_feedback.html
> -rw-rw----  1 apache apache   4033 Jun 20  2005 contact.html
> drwxr-sr-x  2 apache apache   4096 Jul 22  2005 docs/
> -rw-rw----  1 apache apache   1483 Jun 22  2005 egshs.css
> -rw-rw----  1 apache apache   3333 Jun 20  2005 employment.html
> drwxrwx---  5 apache apache   4096 Nov 21 12:20 homework/
> -rw-rw----  1 apache apache   3880 Oct 10 11:13 homework.html
> -rw-rw----  1 apache apache   6187 Mar 24 16:43 index.html
> lrwxrwxrwx  1 apache apache     14 Mar 16 15:04 mambo -> 
> /mnt/hd/mambo//
> -rw-rw----  1 apache apache   2927 Jun 20  2005 map.html
> lrwxrwxrwx  1 apache apache     14 Feb 27 12:45 moodle -> 
> /moodle/moodle/
> -rw-r--r--  1 apache apache   3296 Aug 18  2005 news.html
> drwxr-sr-x  2 apache apache   4096 Nov 16 14:49 php/
> lrwxrwxrwx  1 apache apache     30 Mar 16 16:26 phpMyAdmin -> 
> /var/www/html/admin/phpMyAdmin/
> drwxrwx---  2 apache apache   4096 Jun 22  2005 pics/
> -rw-rw----  1 apache apache 262144 Jun 17  2005 psftp.exe
> -rw-rw----  1 apache apache 380928 Jun 17  2005 putty.exe
> -rw-rw----  1 apache apache   5099 Jun 20  2005 resource_links.html
> -rw-rw----  1 apache apache   3625 Jun 20  2005 resources.html
> -rw-rw----  1 apache apache   7532 Oct 17 12:45 resource_tools.html
> -rw-rw----  1 apache apache   4125 Jun 20  2005 resource_work.html
> drwxr-s---  6 apache apache   4096 Dec 21 12:54 sarg/
> -rw-r--r--  1 apache apache    140 Jul 29  2005 script.php
> -rw-rw----  1 apache apache  16610 Jun 20  2005 
> search_results_template.html
> -rw-rw----  1 apache apache   4316 Jun 20  2005 services.html
> drwxrwx---  6 apache apache   4096 Jan 31 18:02 site_plans/
> -rw-rw----  1 apache apache   6010 Jun 20  2005 teams_bailey.html
> -rw-rw----  1 apache apache   6007 Jun 20  2005 teams_hannan.html
> -rw-rw----  1 apache apache   4080 Jun 20  2005 teams.html
> -rw-rw----  1 apache apache   6713 Jun 20  2005 teams_irvine.html
> -rw-rw----  1 apache apache   4328 Jun 20  2005 teams_obrien.html
> -rw-rw----  1 apache apache   6168 Jun 20  2005 teams_oconnor.html
> -rw-rw----  1 apache apache   4319 Jun 20  2005 teams_trimmer.html
> drwxrwx---  6 apache apache   4096 Jun 16  2005 testDAV/
> -rw-rw----  1 apache apache   3150 Jun 20  2005 thankyou.html
> drwxrw----  3 apache apache   4096 Jun 17  2005 tmp/
> drwxrwx---  2 apache apache   4096 Oct 17 12:45 tools/
> 
> I am really scratching .. any ideas.
> 
> TIA
> 
> Cheers
> 
> 
> -- 
> Peter de Groot
> Windows Installation Engineer
> Kalgoorlie-Boulder Senior College
> Mob  0418915312
> 
> 
> ---------------------------------------------------------------------
> 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
> 
> 
Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a private and personal nature. It is not related to the exchange or business activities of the SWX Group. Le présent e-mail est un message privé et personnel, sans rapport avec l'activité boursière du Groupe SWX.
 
 
This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company.

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