httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jerry McAllister <jerr...@clunix.cl.msu.edu>
Subject Re: [users@httpd] Forbidden You don't have permission to access /site/ Error
Date Tue, 28 Feb 2006 14:36:45 GMT
> 
> ------=_Part_22734_12110787.1141118677219
> Content-Type: text/plain; charset=ISO-8859-1
> Content-Transfer-Encoding: quoted-printable
> Content-Disposition: inline
> 
> I installed var on a seperate /var partition. and I need mysite to have thi=
> s
> recomended access control.
> 
> chown -R apache:apache /var/mysite
> I entered these in httpd.conf at end of it.
> 
> <Directory "/var/mysite">
> DirectoryIndex index.php
> AcceptPathInfo on
> AllowOverride None
> Options None
> Order allow,deny
> Allow from all
> </Directory>
> 
> Alias /site"/var/mysite"
> 
> ****But following error occures
> 
> Forbidden
>  on this server.
> 
> I did all this according to recomended munual (of moodle- opensource
> product.) I have successfully ran this previously for  /usr/local/mysite
> 
>  But this time it fails. Help me

Hmmm.   One thought that comes to mind is do you have indexing
allowed in that directory?    If not and you address it as a 
directory and you don't have an index.html (index.htm or any other
that you have allowed) in that directory, it will give that error
message.

Try sticking some index.html in the directory it is going to and see
if it makes a difference.   If not, ignore this.

////jerry

> 
> 
> **What I feel is that my alias don't work properly or that *** site
> permissions gives error. but note that I have tryed by giving full
> permissions also, but it also gives the same error.
> Thank you,
> pubudu
> 
> ------=_Part_22734_12110787.1141118677219
> Content-Type: text/html; charset=ISO-8859-1
> Content-Transfer-Encoding: quoted-printable
> Content-Disposition: inline
> 
> <div>
> <p><font size=3D"2">I installed var&nbsp;on a seperate /var partition.
and =
> I need mysite to have this recomended access control.</font></p>
> <p><font size=3D"2">chown -R apache:apache /var/mysite </font></p></div>
> <div>I entered these in httpd.conf at end of it.</div>
> <div>&nbsp;</div>
> <div>&lt;Directory &quot;/var/mysite&quot;&gt; </div>
> <div>DirectoryIndex index.php </div>
> <div>AcceptPathInfo on </div>
> <div>AllowOverride None </div>
> <div>Options None </div>
> <div>Order allow,deny </div>
> <div>Allow from all </div>
> <div>&lt;/Directory&gt; </div>
> <div>&nbsp;</div>
> <div>Alias /site&quot;/var/mysite&quot;</div>
> <div>&nbsp;</div>
> <div>****But following error occures</div>
> <div><font size=3D"2"></font>&nbsp;</div>
> <div><font size=3D"2">Forbidden</font></div>
> <div><font size=3D"2">&nbsp;on this server.</font></div>
> <div><font size=3D"2"></font>&nbsp;</div>
> <div><font size=3D"2">I did all this according to recomended munual (of moo=
> dle- opensource product.) I have successfully ran this previously for&nbsp;=
>  /usr/local/mysite </font></div>
> <div>&nbsp;</div>
> <div>
> <div>But this time it fails. Help me</div>
> <div>
> <p><font size=3D"2">&nbsp;</font></p><font size=3D"2">**What
I feel is that=
>  my alias don't work properly or that *** site permissions gives error. but=
>  note that I have tryed by giving full permissions also, but it also gives =
> the same error.=20
> </font></div></div>
> <div>Thank you,</div><span></span><span class=3D"sg">
> <div>pubudu</div><span></span></span>
> 
> ------=_Part_22734_12110787.1141118677219--
> 


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