Home / News | My Blogs | Projects | Archive |
Username Password
Posted by smileaf

I've replaced Apache with Lighttpd for the fun of it. Configuring it for the first time was a headache and a half, but now that I understand it, its really nice.
I was able to setup all of my virtual hosts with minimal effort being they were all so simular.

I have 4 rewrite rules that handle all 4 that would have normally been duplicated in all vhosts.

All vhosts have been setup in 1-3 lines depending on how you look at it.

$HTTP["host"] =~ ".smileaf.org" {
  evhost.path-pattern = "/srv/www/%3.%0/htdocs/"
}

If this isn't cool, I'm not sure what is :D

Comment | Quote | 0 Comments | 0 Views

Generated in 0.023631811142 secs, using 7 database queries.
Donate
Valid XHTML 1.1!Valid CSS!Any Browser!rss xml feed