jaymc Posted August 24, 2008 Share Posted August 24, 2008 Ive just setup lighttpd, Im trying to add multiple websites using the simple vhosts module for some reason when I add the 3 settings for a new domain I get a syntax error saying duplicate entires Anyway.. I have found a solution, I can disable the vhosts module and just do this $HTTP["host"] == "test.site.co.uk" { server.document-root = "/home/test" } $HTTP["host"] == "more.site.co.uk" { server.document-root = "/home/more" } This works perfect, is there anything wrong with this method? Will it effect processing time.. How do you guys deal with multiple domain names with lighttpd Quote Link to comment https://forums.phpfreaks.com/topic/121122-lighttpd-vhosts/ Share on other sites More sharing options...
ivytony Posted October 24, 2008 Share Posted October 24, 2008 if you don't host 50+ websites, I would suggest you add vhost manually. That's what I do though Quote Link to comment https://forums.phpfreaks.com/topic/121122-lighttpd-vhosts/#findComment-673840 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.