lighttpd: multiple virtual hosts?
Hi all
I'm trying to set up multiple virtual hosts in lighttpd, though I can't seem to find any documentation on setup. Can anyone give me a hand? |
So, this documentation didn't help?
|
:scratch: :eek: :rolleyes:
Well, it was monday... |
LOL. I'm sorry if my response seemed sarcastic (as it might in hindsight). As I've never used lighttpd, I wasn't sure if there was something I was missing. Did you get it working, now that it's Tuesday? :)
|
Yes, though there's a strange kink i'm trying to iron out.
The server seems to be keeping the connection open, even though all the content's been passed. This only happens with requests to the php5-fcgi running on there. I know understand why some developers go bald before they hit 30... :scratch: |
Look and see if it has keepalive options somewhere.
|
Right on the money. The defaults are quite big:
Code:
server.max-keep-alive-requests = 128 Code:
server.max-keep-alive-requests = 4 Thanks for your help. |
No problem. Glad you got it working. :)
|
Not to bring up an old thread, but I'm having the same problem...
For example, let's say all of my servers follow the scheme /var/www/servers/(subdomain).(server).(tld)/pages With mod_evhost: Code:
# define a pattern for the host url finding example.org falls back to default host /var/www/pages, which is a good thing www.example.org goes to /var/www/servers/www.example.org/pages/, which is a good thing test.example.org brings up a server not found error. Yes, I did create /var/www/servers/test.example.com/pages/ and have placed an index.html in there. |
All times are GMT -5. The time now is 12:53 PM. |