|
|
|
|
|
|
| Author |
Message |
Karl Wang *nix forums beginner
Joined: 21 Jul 2006
Posts: 1
|
Posted: Fri Jul 21, 2006 2:10 pm Post subject:
configuration question for httpd
|
|
|
Hi,
I installed Apatch httpd server
now, it works ok when I visit http://localhost:80/
I add following in httpd.conf
<IfModule mod_userdir>
UserDir public_html
UserDir enabled
</IfModule>
to enable personal web page in ~user/public_html/index.html
However, when I visit http://localhost:80/~user/
I got the wrong information
I checked the error log,
it is redirected to the serverdirctory/htdocs/~user/
instead of the user home/public_html/index.html
can anyone help?
thanks.
---------------------------------
Do you Yahoo!?
Next-gen email? Have it all with the all-new Yahoo! Mail Beta. |
|
| Back to top |
|
 |
Immanuel Tranz-Mischen *nix forums beginner
Joined: 13 Aug 2007
Posts: 2
|
Posted: Mon Aug 13, 2007 3:10 pm Post subject:
Re: configuration question for httpd
|
|
|
Is this line or something like it in your httpd-conf file?
| Code: | | LoadModule userdir_module libexec/httpd/mod_userdir.so |
and this one?
| Quote: | | AddModule mod_userdir.c |
| Karl Wang wrote: | I add following in httpd.conf
<IfModule mod_userdir>
UserDir public_html
UserDir enabled
</IfModule>
to enable personal web page in ~user/public_html/index.html
However, when I visit http://localhost:80/~user/
I got the wrong information
I checked the error log,
it is redirected to the serverdirctory/htdocs/~user/
instead of the user home/public_html/index.html
|
|
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Sat Nov 22, 2008 8:55 pm | All times are GMT
|
|
Debt Consolidation | Credit Cards UK | Mortgages | Debt Consolidation | Credit Cards
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|