public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael Hampicke <gentoo-user@hadt.biz>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] USERDIR problem with apache on new install
Date: Sat, 29 Sep 2012 18:31:07 +0200	[thread overview]
Message-ID: <5067224B.6010208@hadt.biz> (raw)
In-Reply-To: <yu97grcuarq.fsf@nyu.edu>

Am 29.09.2012 17:08, schrieb Allan Gottlieb:
> On my new install USERDIR is not working.
> 
> When I try http://localhost/~gottlieb, firefox says
>   "you don't have permission to access /~gottlieb"
> and the apache error log says
>   "client denied by server configuration: /local/allan/gottlieb/public_html"
> 
> The file permissions are ok since both
>   file:///home/gottlieb/public_html/index.html and
>   file:///home/gottlieb/public_html
> work fine.
> 

I am sure your user has access to the files - thus allowing you to
browse them locally (file:///) - but does apache (more precisely the
systems user 'apache') have access to this files?

Have you tried this:

# sudu -u apache cat /home/gottlieb/public_html/index.html


  reply	other threads:[~2012-09-29 16:34 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-29 15:08 [gentoo-user] USERDIR problem with apache on new install Allan Gottlieb
2012-09-29 16:31 ` Michael Hampicke [this message]
2012-09-29 17:27   ` Allan Gottlieb
2012-09-29 17:52 ` Neil Bothwick
2012-09-29 18:14   ` Michael Hampicke
2012-09-29 18:57     ` Allan Gottlieb
2012-09-29 21:59 ` [gentoo-user] USERDIR problem with apache on new install (SOLVED) Allan Gottlieb
2012-09-29 22:14   ` Michael Hampicke
2012-09-30  1:39     ` Allan Gottlieb
2012-09-30  6:42   ` Andrea Conti
2012-09-30 16:36     ` Allan Gottlieb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5067224B.6010208@hadt.biz \
    --to=gentoo-user@hadt.biz \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox