On Sat, Feb 15, 2003 at 01:04:52PM -0600, Timothy Bolz wrote:
> Larry
> 
> Well after looking in public_html I did not find a index.html so I put one in 
> and I'm still getting the 403 error.
index.html is not necessary.  Without it apache will show a file listing
of /home/timothy/public_html

 
> The /var/log/apache/acces.logs show this.
> 
> 127.0.0.1 - - [15/Feb/2003:12:55:41 -0600] "GET /~timothy/index.html 
> HTTP/1.1" 403 297 "-" "Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.0.0) 
> Gecko/20020623 Debian/1.0.0-0.woody.1"
> 127.0.0.1 - - [15/Feb/2003:12:57:22 -0600] "GET /~timothy/index.html 
> HTTP/1.1" 403 297 "-" "Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.0.0) 
> Gecko/20020623 Debian/1.0.0-0.woody.1"
> 127.0.0.1 - - [15/Feb/2003:12:57:38 -0600] "GET /~timothy/ HTTP/1.1" 403 287 
> "-" "Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.0.0) Gecko/20020623 
> Debian/1.0.0-0.woody.1"
Good.

> On defalult when you adduser it doesn't give them a public_html directory you 
> have to add this.  So I should have that directory as read only on group & 
> others.  I don't think I need my home directory as read only by group & 
> others do I?  That would mean anyone could read my directorys from the web.
Your public_html should be 7?5 your home should be 7?1 or 7?5 depending
on wether or not you want other users on your system to be able to read
your directory.  With 1, they can cd into your directory, but an ls will
not work.  This doesn't give you much protection to others on your local
system from reading your files.  However if you don't trust them and
don't want to setup proper permissions on all of the files in your home
directory, then you shouldn't use /home/*/public_html and instead should
place user webpages in another place like /var/public_html/<user> or
something.  Most likely you won't care and will be fine with 7?1. where
? is 0,5,6,7.

 
> I know I should be able to try
> http://localhost/~timothy/index.html  or http://localhost/~timothy and get 
> the page up.
Yes

 
> In /etc/apache/httpd.conf I found this but I don't think it has anything to 
> do with the problem I'm having.  I thought it might because of the localhost.
> 
> # Allow access to local system documentation from localhost.
> # (Debian Policy assumes /usr/share/doc is "/doc/", at least from the 
> localhost.)
> Alias /doc/ /usr/share/doc/
> 
> <Location /doc>
>   order deny,allow
>   deny from all
>   allow from 127.0.0.0/255.0.0.0
>   Options Indexes FollowSymLinks MultiViews
> </Location>

Go to this address in your browser:
http://localhost/doc

you'll see all of your directories under /usr/share/doc (which is where
applications install their documentation usually).  

Cory
_______________________________________________
Eug-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug

Reply via email to