LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - General
User Name
Password
Linux - General This forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Thread Tools Search this Thread
Old 09-06-2002, 05:08 AM   #1
jester_69
Member
 
Registered: May 2002
Location: Sydney Australia
Distribution: Redhat 6.1 & 7.2
Posts: 86
Thanked: 0
What am i doing wrong


[Log in to get rid of this advertisement]
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
jester_69 is offline     Reply With Quote
Old 09-06-2002, 05:10 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 33,839
Thanked: 223
have you enabled user spaces properly in httpd.conf?
acid_kewpie is offline     Reply With Quote
Old 09-06-2002, 08:26 AM   #3
jester_69
Member
 
Registered: May 2002
Location: Sydney Australia
Distribution: Redhat 6.1 & 7.2
Posts: 86
Thanked: 0

Original Poster
Chris what do you mean by spaces ????
jester_69 is offline     Reply With Quote
Old 09-06-2002, 08:43 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 33,839
Thanked: 223
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.
acid_kewpie is offline     Reply With Quote

Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Vhost( You don't have permission to access / on this server.) trekgraham Linux - Software 3 07-08-2004 11:01 AM
Changing access permission LinuxVirgIan Linux - Newbie 16 07-05-2004 09:59 PM
Apache gives "You don't have permission to access..." paulvl Linux - Security 2 11-23-2003 04:46 PM
Editor, access permission, ... correro Linux - General 1 03-19-2003 05:13 AM
You don't have permission to access / on this server jaydave Linux - Networking 1 03-15-2003 07:11 AM


All times are GMT -5. The time now is 06:12 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Advertisement
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Click Here to receive a complimentary subscription courtesy of LQ.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration