puppy webserver question

Booting, installing, newbie
Post Reply
Message
Author
pprevoo
Posts: 33
Joined: Fri 30 May 2008, 09:24

puppy webserver question

#1 Post by pprevoo »

It's a bit off topic for this forum but who can help me with lighttpd?
I need to make a evhost config for my multiple websites that will be on my puppy webserver.
I have lighttpd up and running but I'm stuck with the evhost config for virtual hosting of different websites running from one ip.
Maybe someone here who knows howto do this? :roll:

Bruce B

#2 Post by Bruce B »

To the top (hope you all don't mind) From page two, zero replies

pprevoo
Posts: 33
Joined: Fri 30 May 2008, 09:24

#3 Post by pprevoo »

Oeps what's this all about?
Sorry for whatever I did wrong here.
Never mind, I found the answer myself.
And I'm proud of it.
If anybody should need it. (lighttpd evhost)

simple example:
place the site in a folder called whatever.com (example)

Than put in lighttpd.conf:

$HTTP["host"] == "whatever.com" {
server.document-root = "/root/www/"
evhost.path-pattern = "/root/www/vhost/%0/"

don't forget to enable evhost module.

Special thanks to costal for making puppy webenvironment
I like it a lot.
I now have 13 websites running from Puppy Dingo (wow!!)

Post Reply