homepage Welcome to WebmasterWorld Guest from 184.72.82.126
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Apache - UserDir directive
First time setup of Apache...
shell




msg:1499104
 9:40 pm on Jul 30, 2003 (gmt 0)

I'm a bit confussed as to how exactly the 'UserDir' directive operates. I basically want to have a public_html directory in /home/user/ which responds to myhost/~user and I'm a tad confussed.. :(

 

bakedjake




msg:1499105
 6:57 pm on Jul 31, 2003 (gmt 0)

Hello again, shell. :) All you need in httpd.conf is:

UserDir public_html

And you'll get the desired behavior as you've described.

shell




msg:1499106
 7:29 am on Aug 1, 2003 (gmt 0)

I'm getting 404s :(

bakedjake




msg:1499107
 2:25 pm on Aug 1, 2003 (gmt 0)

What do the logs say? (TM)

Check your error log, and see what physical file apache is trying to request.

shell




msg:1499108
 3:52 pm on Aug 1, 2003 (gmt 0)

httpd-access.log shows nothing unexpected.. shows the get requests

http-error.log doesn't show anything either :\

bakedjake




msg:1499109
 5:14 pm on Aug 1, 2003 (gmt 0)

Do you have a <Directory> entry allowing access for /home/* in httpd.conf?

shell




msg:1499110
 6:43 pm on Aug 1, 2003 (gmt 0)

Doh!

Thanks

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved