Portal Home > Knowledgebase > Articles Database > [lighttpd] link userdir to a domain?


[lighttpd] link userdir to a domain?




Posted by berners-lee, 02-03-2008, 06:26 PM
Hi all, I have installed lighttpd and set userdir to "public_html". In Apache, we can use WHM to link a userdir to a domain, e.g.: "URL/~example/" => "example.org" How do I do this for lighttpd? Thanks a lot.

Posted by RBBOT, 02-03-2008, 07:58 PM
HTTP["host"] =~ "example.org" { server.document-root="/home/example/public_html/" /* And any other domain-specific settings here */ }

Posted by david510, 02-03-2008, 10:50 PM
This might help. http://forum.lighttpd.net/topic/32768



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
c (Views: 526)