Hi,

I am getting the folowing arror from Apache.

"You don't have permission to access /~mikel/ on this server."
when I try "http://localhost/~mikel/"
Details below..

Rick Welykochy wrote:
> NOTE: http://www.apache.org/docs/mod/directives.html
> is a great resource for doco on all the Apache directives.
Wow. I hadn't come across that yet.

> On Thu, 4 May 2000, Michael Lake wrote:
> 
> > I have Apache running and can see pages in /home/httpd/html
> > At present it all works if I copy all the HTML files into the above
> > directory and all the cgi ones into the default /home/httpd/cgi-bin
> > directory. But I really would prefer to develop the app in my own
> > directory ~/mikel/src/UTS/monte-carlo/
...
> > 3. Should I put them in a /mikel/public_html directory?
> 
> Could do. Then you need to config UserDir as public_html

I'll do this. That way development pages can stay in my
src/UTS/monte-carlo and released versions in ~/public_html
 
Looks like i'ts configured fine in srm.conf:

# UserDir: The name of the directory which is appended onto a user's
home
# directory if a ~user request is recieved.
UserDir public_html

> The files and directories should *not* be owned
> by the username the web server runs as (which
> is probably nobody or httpd).
Running as nobody
 
> Best to make the files and directories readable
> to the world,
> mode 644 for files, mode 751 or 755 for directories
They are in ~/mikel/public_html/kinetics/
        drwxrwxr-x   3 mikel    mikel        1024 May  4 14:48 public_html
        drwxr-xr-x   3 mikel    mikel        1024 May  4 14:49 kinetics
within kinetics dir I have...
        -rw-r--r--   1 mikel    mikel      233064 May  4 14:49 data
        drwxr-xr-x   2 mikel    mikel        1024 May  4 14:49 images
        -rw-r--r--   1 mikel    mikel        1171 May  4 14:49 index.html

But if I enter http://localhost/~mikel/kinetics/ I get...
"You don't have permission to access /~mikel/ on this server."
The access_log says:
127.0.0.1 - - [04/May/2000:15:15:06 +1000] "GET /~mikel/ HTTP/1.0" 403
154

I even tried putting all the files in the base dir of public_html but
still same error.

> The files *you* are working should be owned
> by *you*.
OK 

Mike

--------------------------------------------------------------------
Michael Lake
University of Technology, Sydney
Email: mailto:[EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 
URL: http://www.science.uts.edu.au/~mikel
Linux enthusiast, active caver and interested in anything technical.
--------------------------------------------------------------------
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to