httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter de Groot <peter.de.gr...@det.wa.edu.au>
Subject Re: [users@httpd] You don't have permission to access / on this server.
Date Mon, 27 Mar 2006 05:57:11 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
<br>
Mmmmm ... AHA .... when I do shift-reload.(in Firefox)&nbsp; it works . and
you can see<br>
the traffic from the server .... but when you do subsquent reload .. it
comes<br>
up with the error again ... I assumed that a force reload from the
server, it would<br>
update the proxy as well ... but it seem not too......&nbsp; any suggestions
???<br>
<br>
Does that mean that we have a funny in the coorporate proxy ??<br>
<br>
Does you guys get the forbidden error also on<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a class="moz-txt-link-freetext" href="http://egshs.wa.edu.au">http://egshs.wa.edu.au</a><br>
<br>
because that would be coming straight from the apache server...<br>
Yes... I have re-typed that line a number of time .. it is clean.<br>
<br>
Thanks for the shift tip in Firefox .. I did not realize that there was
2 levels<br>
of reload in there.... IE just seem to do it....<br>
<br>
The sticky guid was for uploads from the web developer .. I was trying
to get<br>
clever to make sure he did not have permission problems .... a re-think
in <br>
order there ....<br>
<br>
Peter<br>
<br>
<br>
Boyle Owen wrote:
<blockquote
 cite="midFDD5D99066749040AF9098A720E9897701451C34@CIWMEXZSA0E.ex.ordersx.org"
 type="cite">
  <blockquote type="cite">
    <pre wrap="">-----Original Message-----
From: Peter de Groot [<a class="moz-txt-link-freetext" href="mailto:peter.de.groot@det.wa.edu.au">mailto:peter.de.groot@det.wa.edu.au</a>]

Sent: Freitag, 24. M&auml;rz 2006 10:24
To: <a class="moz-txt-link-abbreviated" href="mailto:users@httpd.apache.org">users@httpd.apache.org</a>
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
                                        <a class="moz-txt-link-freetext" href="http://egshs.wa.edu.au">http://egshs.wa.edu.au</a>

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/
    </pre>
  </blockquote>
  <pre wrap=""><!---->
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 <a class="moz-txt-link-freetext"
href="http://egshs.wa.edu.au/about.html">http://egshs.wa.edu.au/about.html</a> works
OK)

  </pre>
  <blockquote type="cite">
    <pre wrap="">[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


&lt;Directory "/mnt/hd/website"&gt;
     Options -Indexes FollowSymLinks MultiViews
    </pre>
  </blockquote>
  <pre wrap=""><!---->

  </pre>
  <blockquote type="cite">
    <pre wrap="">     DirectoryIndex  index.html
    </pre>
  </blockquote>
  <pre wrap=""><!---->
This is correct and the file is OK (<a class="moz-txt-link-freetext" href="http://egshs.wa.edu.au/index.html">http://egshs.wa.edu.au/index.html</a>
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)...

  </pre>
  <blockquote type="cite">
    <pre wrap="">     AllowOverride None
     ExpiresActive on
     ExpiresDefault M0
     Order allow,deny
     allow from  all
&lt;/Directory&gt;

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 ...  ???
    </pre>
  </blockquote>
  <pre wrap=""><!---->
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..

  </pre>
  <blockquote type="cite">
    <pre wrap="">
The files and protections seem o.k.  
    </pre>
  </blockquote>
  <pre wrap=""><!---->
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. 


  </pre>
  <blockquote type="cite">
    <pre wrap="">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 -&gt; 
/mnt/hd/mambo//
-rw-rw----  1 apache apache   2927 Jun 20  2005 map.html
lrwxrwxrwx  1 apache apache     14 Feb 27 12:45 moodle -&gt; 
/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 -&gt; 
/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 <a class="moz-txt-link-rfc1738" href="http://httpd.apache.org/userslist.html">&lt;URL:http://httpd.apache.org/userslist.html&gt;</a>
for more info.
To unsubscribe, e-mail: <a class="moz-txt-link-abbreviated" href="mailto:users-unsubscribe@httpd.apache.org">users-unsubscribe@httpd.apache.org</a>
   "   from the digest: <a class="moz-txt-link-abbreviated" href="mailto:users-digest-unsubscribe@httpd.apache.org">users-digest-unsubscribe@httpd.apache.org</a>
For additional commands, e-mail: <a class="moz-txt-link-abbreviated" href="mailto:users-help@httpd.apache.org">users-help@httpd.apache.org</a>


    </pre>
  </blockquote>
  <pre wrap=""><!---->Diese E-mail ist eine private und pers&ouml;nliche Kommunikation.
Sie hat keinen Bezug zur B&ouml;rsen- bzw. Gesch&auml;ftst&auml;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&eacute;sent e-mail est un message priv&eacute;
et personnel, sans rapport avec l'activit&eacute; boursi&egrave;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 <a class="moz-txt-link-rfc1738" href="http://httpd.apache.org/userslist.html">&lt;URL:http://httpd.apache.org/userslist.html&gt;</a>
for more info.
To unsubscribe, e-mail: <a class="moz-txt-link-abbreviated" href="mailto:users-unsubscribe@httpd.apache.org">users-unsubscribe@httpd.apache.org</a>
   "   from the digest: <a class="moz-txt-link-abbreviated" href="mailto:users-digest-unsubscribe@httpd.apache.org">users-digest-unsubscribe@httpd.apache.org</a>
For additional commands, e-mail: <a class="moz-txt-link-abbreviated" href="mailto:users-help@httpd.apache.org">users-help@httpd.apache.org</a>

  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="132">-- 
Peter de Groot
Windows Installation Engineer
Kalgoorlie-Boulder Senior College
Mob  0418915312</pre>
</body>
</html>

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


Mime
View raw message