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]

 



Why are you putting your website inside the mnt, because only root on
your system has access to /mnt/.

What is your Document root. if for instance your Document root
is /usr/local/apache/html/htdocs/

I suggest that you create a link as follows

ln -s /wwww	/usr/local/apache/html/htdocs

then do the following for your website

<VirtualHost *:80>
    <Directory /www/website>
      Options FollowSymLinks Indexes ExecCGI
      AllowOverride None
    </Directory>
    

    ServerAdmin webmaster@xxxxxxxxxx

    DocumentRoot /www/website
    ServerName website.com
    ServerAlias www.website....(e.g www.website.com)
</VirtualHost>


On Fri, 2006-03-24 at 17:24 +0800, Peter de Groot wrote:
> 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/
> [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
>      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 ...  ???
> 
> 
> The files and protections seem o.k.  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
> 
> 


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