RE: [users@httpd] Forbidden You don't have permission to access /site/ Error
by Boyle Owen other posts by this author
Feb 28 2006 3:52AM messages near this date
RE: [users@httpd] Forbidden You don't have permission to access /site/ Error
|
Re: [users@httpd] Forbidden You don't have permission to access /site/ Error
> -----Original Message-----
> From: Pubudu Premachandra [mailto:npubudu@[...].com]
> Sent: Dienstag, 28. Februar 2006 11:36
> To: users@[...].org
> Subject: Re: [users@httpd] Forbidden You don't have
> permission to access /site/ Error
>
> These are what access and Error log says.
>
> Error log.
> [Tue Feb 28 16:32:00 2006] [error] [client 127.0.0.1]
> (13)Permission denied: access to /moodle/index.php denied
This type of error indicates that the apache "User" does not have permission to read (or per
haps execute) this file (or directory). I assume (from your "chown -R" command) that the dir
ectory is readable, so it must be execute permission that apache is lacking. How are you run
ning PHP - compiled-in module or as a CGI? IF as a CGI, I think you need to make the .php fi
les executable (PHP files don't need to be executable if they're processed by mod_php).
what happens with a plain text or html file in the same dir?
Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored.
Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen Bezug zur Börs
en- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a private and personal natur
e. 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.
> [Tue Feb 28 16:32:00 2006] [error] [client 127.0.0.1] File
> does not exist: /var/www/html/favicon.ico
>
>
> Access log
> 127.0.0.1 - - [28/Feb/2006:16:32:00 +0000] "GET /moodle/
> HTTP/1.1" 403 284 "-" "Mozilla/5.0 (X11; U; Linux i686;
> en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4"
> 127.0.0.1 - - [28/Feb/2006:16:32:00 +0000] "GET /favicon.ico
> HTTP/1.1" 404 284 "-" "Mozilla/5.0 (X11; U; Linux i686;
> en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4"
>
>
> On 2/28/06, Boyle Owen <Owen.Boyle@[...].com> wrote:
>
> > -----Original Message-----
> > From: Pubudu Premachandra [mailto: npubudu@[...].com
> <mailto:npubudu@[...].com> ]
> > Sent: Dienstag, 28. Februar 2006 10:25
> > To: users@[...].org
> > Subject: [users@httpd] Forbidden You don't have permission to
> > access /site/ Error
> >
> > I installed var on a seperate /var partition. and I need
> > mysite to have this 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.
>
> What's in the access and error logs?
>
>
> Rgds,
> Owen Boyle
> Disclaimer: Any disclaimer attached to this message may
> be ignored.
>
> >
> > 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
> >
> >
> >
> > **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
> >
> 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@[...].org
> " from the digest:
> users-digest-unsubscribe@[...].org
> For additional commands, e-mail:
> users-help@[...].org <mailto:users-help@[...].org>
>
>
>
>
>
---------------------------------------------------------------------
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@[...].org
" from the digest: users-digest-unsubscribe@[...].org
For additional commands, e-mail: users-help@httpd.apache.org
Thread:
Pubudu Premachandra
Jerry McAllister
Pubudu Premachandra
Boyle Owen
Boyle Owen
Pubudu Premachandra
|