RE: [users@httpd] access to user directories

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

 




> -----Original Message-----
> From: John Canderan [mailto:dcbuddy@xxxxxxxxxxx]
> Sent: Freitag, 27. Mai 2005 17:20
> To: users@xxxxxxxxxxxxxxxx
> Subject: RE: [users@httpd] access to user directories
> 
> 
> Here's  "cut and paste" from the error_log file:
> [Fri May 27 06:42:33 2005] [error] [client 66.92.146.208] 
> (13)Permission
> denied: access to /~canderan denied
> 
> That's all I'm getting !

That's actually tons....

The browser gets a 403 Forbidden when either of *two* apache errors occur:
1) "client denied by server configuration": caused by a "Deny from" directive in apache config.
2) "Permission denied": caused by insufficient Unix access privileges.

Not that *neither* contains the string "access denied", so I hope you now realise why it is essential to cut'n'paste error messages and not to try to type them in from memory.

So now go and fix the unix permissions and all will be well.

[hint: I suppose /~canderan points to your home directory, so check that it is executable and readable by others (eg, 755), or if you don't want to allow that, put you and apache in the same group and make it executable and readable by group (eg, 750) or whatever].

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

> 
> -----Original Message-----
> From: Boyle Owen [mailto:Owen.Boyle@xxxxxxx] 
> Sent: Friday, May 27, 2005 6:59 AM
> To: users@xxxxxxxxxxxxxxxx
> Subject: RE: [users@httpd] access to user directories
> 
> 
> 
> > -----Original Message-----
> > From: John Canderan [mailto:dcbuddy@xxxxxxxxxxx]
> > Sent: Freitag, 27. Mai 2005 12:50
> > To: users@xxxxxxxxxxxxxxxx
> > Subject: RE: [users@httpd] access to user directories
> > 
> > 
> > I've checked it quite a few times...........it just says "access
> > denied", that's all ...........nothing specific to go on !
> 
> Isn't it more like: "client denied by server configuration... 
> etc"? Please
> cut'n'paste the *exact* line.
> 
> Sorry to put you out, but the exact wording is important and 
> can distinguish
> several possible causes.
> 
> Rgds,
> Owen Boyle
> Disclaimer: Any disclaimer attached to this message may be ignored. 
> 
> > 
> > -----Original Message-----
> > From: Boyle Owen [mailto:Owen.Boyle@xxxxxxx] 
> > Sent: Friday, May 27, 2005 6:41 AM
> > To: users@xxxxxxxxxxxxxxxx
> > Subject: RE: [users@httpd] access to user directories
> > 
> > You must've missed the line in David's original response:
> > 
> > > Check the error_log, there should be a clearer message.
> > 
> > So what does it say?
> > 
> > Rgds,
> > Owen Boyle
> > Disclaimer: Any disclaimer attached to this message may be ignored. 
> > 
> > > -----Original Message-----
> > > From: John Canderan [mailto:dcbuddy@xxxxxxxxxxx]
> > > Sent: Freitag, 27. Mai 2005 12:09
> > > To: users@xxxxxxxxxxxxxxxx
> > > Subject: RE: [users@httpd] access to user directories
> > > 
> > > 
> > > Davide,
> > > 	Thanks for your suggestions.  
> > > However, I do have an index.html file in the public_html 
> > > directory, and
> > > I'm quite sure that the permissions are set as they are 
> > > supposed to be.
> > > 
> > > 	I also do have the <Directory ...  block that you suggested, as
> > > follows:
> > > <Directory /home/*/public_html>
> > >     AllowOverride FileInfo AuthConfig Limit
> > >     Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
> > >     <Limit GET POST OPTIONS>
> > >         Order allow,deny
> > >         Allow from all
> > >     </Limit>
> > >     <LimitExcept GET POST OPTIONS>
> > >         Order deny,allow
> > >         Deny from all
> > >     </LimitExcept>
> > > </Directory>
> > > 
> > > Is there something wrong with this particular block?  It's the one
> > > suggested for "read-only", by default.
> > > 
> > > But, I still get the error as stated previously.
> > > 
> > > I'm perplexed !
> > > 
> > > Hope someone can figure this out.
> > > 
> > > Thanks again,
> > > John
> > > 
> > > -----Original Message-----
> > > From: Davide Bianchi [mailto:davide@xxxxxxxxxxxxxx] 
> > > Sent: Friday, May 27, 2005 12:28 AM
> > > To: users@xxxxxxxxxxxxxxxx
> > > Subject: Re: [users@httpd] access to user directories
> > > 
> > > John Canderan wrote:
> > > > However, I can not get it to deliver web pages for users.  I am
> > > storing
> > > > the html pages at /home/<user>/public_html, and I am 
> > quite sure that
> > > the
> > > > file permissions are set correctly.  I have also set "UserDir
> > > > pubic_html" in httpd.conf. 
> > > 
> > > Plain text post only please,
> > > 
> > > You should also have a <Directory /home/*/public_html> block
> > > detailing what you can and cannot do in there. But from your
> > > error I think that you miss an index.html file in the
> > > public html directory.
> > > Check the error_log, there should be a clearer message.
> > > 
> > > Davide
> > > 
> > > 
> > 
> ---------------------------------------------------------------------
> > > 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
> > > 
> > > 
> > > 
> > > 
> > 
> ---------------------------------------------------------------------
> > > 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
> > 
> > 
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > 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
> > 
> > 
> 
> ---------------------------------------------------------------------
> 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
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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
> 
> 

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