The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How do i change to super user then revert back to ordinary user ,using shell script? wrapster Shell Programming and Scripting 3 06-04-2008 04:11 AM
Running script from other user rather than login user rawatds Shell Programming and Scripting 2 08-25-2006 12:51 AM
Other than root user .Normal user is unable to create files mallesh UNIX for Advanced & Expert Users 1 06-22-2005 09:18 AM
Limiting length of user in while creating user Satya Mishra AIX 2 04-14-2005 11:40 PM
single user mode - user accounts passwords orestis UNIX for Dummies Questions & Answers 2 03-09-2005 05:54 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-24-2001
Registered User
 

Join Date: Jul 2001
Location: Corvallis
Posts: 61
Talking apache user dir

Ok, i went to the apache website but im still confused.

Does a server on port 5000 cause any problems?

i am able to view dir's in my var/www/html/ directory
domain#:5000/

but, I cannot access user webs
home/user/public_html/
domain#:5000/~user/

What am I doing wrong?

Thanks

Forum Sponsor
  #2 (permalink)  
Old 08-24-2001
flim flam flamma jamma
 

Join Date: May 2001
Location: Chicago IL, USA
Posts: 1,006
there is a directive in the httpd.conf file that enables the ~/public_html dir. make sure it is enabled.

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

UserDir public_html

#
# Port: The port to which the standalone server listens. For
# ports < 1023, you will need httpd to be run as root initially.
#

Port 80

Last edited by Optimus_P; 08-24-2001 at 11:53 AM.
  #3 (permalink)  
Old 08-24-2001
mib mib is offline
Registered User
 

Join Date: Jan 2001
Location: Calicut
Posts: 228
The exact error message would be much help to solve this problem. Check your log. One possibilty is that the permissions for your user's directories are not set to be executable by others.

  #4 (permalink)  
Old 08-29-2001
Registered User
 

Join Date: Jul 2001
Location: Corvallis
Posts: 61
http://65.12.163.3:5000/
here is the main page.

if i try to go to
http://65.12.163.3:5000/~macdonto/
it gives me an error. I have changed the permissions on my public_html file and the index.html file inside to chmod 755.

todd
  #5 (permalink)  
Old 08-30-2001
flim flam flamma jamma
 

Join Date: May 2001
Location: Chicago IL, USA
Posts: 1,006
make sure the public_html folder is chmod 755 also.
  #6 (permalink)  
Old 08-30-2001
Registered User
 

Join Date: Jul 2001
Location: Corvallis
Posts: 61
I had done chmod 755 on the folder also and still got the same result. However, decided i would start anew and created another user and tried a public_html folder. It worked. So i guess it is how i configured the user macdonto.

Thanks for the help. I will try to figure out the configurations on macdonto.

Google The UNIX and Linux Forums
Closed Thread

« Ultra 5 | du »
Thread Tools
Display Modes




All times are GMT -7. The time now is 10:03 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0