LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   You don't have permission to access.. apache ?'s (https://www.linuxquestions.org/questions/linux-general-1/you-dont-have-permission-to-access-apache-s-29712/)

jester_69 09-06-2002 04:08 AM

What am i doing wrong
 
Running my own server

www.eziekiel.com

Apache 1.3.26

document root is /home/httpd/html & is loading fine

When trying to get to a user web page i get the following

You don't have permission to access /~andrew on this server.
Apache/1.3.26 Server at www.eziekiel.com Port 80

My permissions look fine ,,,,i think

Would it be something in my httpd.conf file stopping this from loading

in my access log i am getting this

eziekiel - - [06/Sep/2002:18:47:01 +1000] "GET /andrew HTTP/1.1" 404 3190
eziekiel - - [06/Sep/2002:18:47:07 +1000] "GET /~andrew HTTP/1.1" 403 290

What could i be doing wrong

permissions are
-rw-r--r-- 1 root root 897 Aug 18 21:10 index.html

acid_kewpie 09-06-2002 04:10 AM

have you enabled user spaces properly in httpd.conf?

jester_69 09-06-2002 07:26 AM

Chris what do you mean by spaces ????

acid_kewpie 09-06-2002 07:43 AM

make sure you have a number of things...

a stright out of the box httpd.conf may contain something like
Code:

# UserDir: The name of the directory which is appended onto a user's home
# directory if a ~user request is received. 
#
# The path to the end user account 'public_html' directory must be
# accessible to the webserver userid.  This usually means that ~userid
# must have permissions of 711, ~userid/public_html must have permissions
# of 755, and documents contained therein must be world-readable. 
# Otherwise, the client will only receive a "403 Forbidden" message.

# See also: http://httpd.apache.org/docs/misc/FAQ.html#forbidden
#
#<IfModule mod_userdir.c>
#    UserDir public_html
#</IfModule>

so teh code at the end will need uncommenting. you'll also need to make sure you've already got...
Code:

LoadModule userdir_module    modules/mod_userdir.so
and
Code:

AddModule mod_userdir.c
listed somewhere too.


All times are GMT -5. The time now is 10:49 AM.