Welcome to WebmasterWorld Guest from 54.226.194.180

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Apache - UserDir directive

First time setup of Apache...

     

shell

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

10+ Year Member



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

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

WebmasterWorld Administrator bakedjake is a WebmasterWorld Top Contributor of All Time 10+ Year Member



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

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

10+ Year Member



I'm getting 404s :(

bakedjake

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

WebmasterWorld Administrator bakedjake is a WebmasterWorld Top Contributor of All Time 10+ Year Member



What do the logs say? (TM)

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

shell

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

10+ Year Member



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

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

bakedjake

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

WebmasterWorld Administrator bakedjake is a WebmasterWorld Top Contributor of All Time 10+ Year Member



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

shell

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

10+ Year Member



Doh!

Thanks

 

Featured Threads

Hot Threads This Week

Hot Threads This Month