Re: [users@httpd] configuration question for httpd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux