| Author |
Getting userDir to work in apache
|
Gregg Bolinger
Ranch Hand
Joined: Jul 11, 2001
Posts: 15230
|
|
I know this isn't java related but I am having a problem getting the UserDir to work in apache. I have it set to UserDir /www/public_html and then when I access my web server via http://ethought.com/~gdboling/index.html or http://ethought.com/~gdboling/www/public_html/index.html It is not working. But the web server is working fine with everything else. Is there something I am missing?
|
 |
Andrew Monkhouse
author and jackaroo
Marshal Commander
Joined: Mar 28, 2003
Posts: 10816
|
|
Hi Gregg The directive you are looking for should be: From the sample configuration file normally provided with Apache: If you are using Apache 2.x, you should also ensure that you dont have the UserDir disable directive. Regards, Andrew
|
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
|
 |
Gregg Bolinger
Ranch Hand
Joined: Jul 11, 2001
Posts: 15230
|
|
Originally posted by Andrew Monkhouse: Hi Gregg If you are using Apache 2.x, you should also ensure that you dont have the UserDir disable directive.
I think this might be my problem. Thanks Andrew, I will let you know...
|
 |
Gregg Bolinger
Ranch Hand
Joined: Jul 11, 2001
Posts: 15230
|
|
Well, I added the UserDir enabled gdboling and now I am getting a Forbidden: You don't have permissions to access /~gdboling/index.html on this server. So I added under my UserDir public_html <directory> ..... </directory> To allow access as read only. Basically just had to uncomment thos lines that were already set for me by default. Any more suggestions?
|
 |
Andrew Monkhouse
author and jackaroo
Marshal Commander
Joined: Mar 28, 2003
Posts: 10816
|
|
Hi Gregg, My entire set of directives are: I have not bothered to uncomment the /home/*/public_html directory settings. My permissions are: And this works for me: I can acces my personal web page using the http://192.168.1.1/~andrewm/ address. What does your error log show at the time you try to access your personal web page? Regards, Andrew
|
 |
 |
|
|
subject: Getting userDir to work in apache
|
|
|