|
|
|
|
Username
Password
Post Comment
enter in new blog/news entries
*Title
Body
[quote name='smileaf']<p>I've replaced [http://apache.org|Apache] with [http://www.lighttpd.net/|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.<br /> I was able to setup all of my virtual hosts with minimal effort being they were all so simular.</p> <p>I have 4 rewrite rules that handle all 4 that would have normally been duplicated in all vhosts.</p> <p>All vhosts have been setup in 1-3 lines depending on how you look at it.</p> <p>$HTTP["host"] =~ ".smileaf.org" {<br /> [http://trac.lighttpd.net/trac/wiki/Docs:ModEVhost|evhost.path-pattern] = "/srv/www/%3.%0/htdocs/"<br /> }</p> <p>If this isn't cool, I'm not sure what is :D</p>[/quote]
*Do you agree?
Type 'yes' in the above dialog to agree to posting your comment. This is not an agreement to any license, its just a confirmation that you are not a bot. This is case-sensitive.
* denotes required fields
Generated in 0.0192070007324 secs, using 2 database queries.