LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux 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
  Search this Thread
Old 09-06-2002, 04:08 AM   #1
jester_69
Member
 
Registered: May 2002
Location: Sydney Australia
Distribution: Redhat 6.1 & 7.2
Posts: 91

Rep: Reputation: 15
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
 
Old 09-06-2002, 04:10 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
have you enabled user spaces properly in httpd.conf?
 
Old 09-06-2002, 07:26 AM   #3
jester_69
Member
 
Registered: May 2002
Location: Sydney Australia
Distribution: Redhat 6.1 & 7.2
Posts: 91

Original Poster
Rep: Reputation: 15
Chris what do you mean by spaces ????
 
Old 09-06-2002, 07:43 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
  


Reply



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 On
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 10:01 AM
Changing access permission LinuxVirgIan Linux - Newbie 16 07-05-2004 08:59 PM
Apache gives "You don't have permission to access..." paulvl Linux - Security 2 11-23-2003 03:46 PM
Editor, access permission, ... correro Linux - General 1 03-19-2003 04:13 AM
You don't have permission to access / on this server jaydave Linux - Networking 1 03-15-2003 06:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:56 PM.

Main Menu
Advertisement
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.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration