httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume <silen...@free-4ever.net>
Subject Re: [users@httpd] configuration question for httpd
Date Fri, 21 Jul 2006 14:14:25 GMT
Karl Wang a écrit :
> 
> 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. 
> <http://us.rd.yahoo.com/evt=42241/*http://advision.webevents.yahoo.com/handraisers>

> 

Hi,

UserDir in apache are for Users pages...
So, when it's configured as you did, it will access to: 
/home/user1/public_html

And the URL is: http://localhost:80/~user1

And it will work automatically for every user !

Regards
Guillaume


-- 
Guillaume
E-mail: silencer_<at>_free-4ever_<dot>_net
Blog: http://guillaume.free-4ever.net
----
Site: http://www.free-4ever.net

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message