Archives
Recent posts
Recent comments
- In Lighty Story
- poLK wrote: You are welcome - I am glad it is usable for someone else. Éber Freitas Dias: I see you were...
- In Lighty Story
- Éber Freitas Dias wrote: The lua script is really cool, but on my webapp, sometimes I need to pass url's as a param to...
- In Lighty Story
- Martin Westin wrote: Thanks a lot for this post. I have previously abandoned trying out lighty but with a good...
Categories
Words of Wisdom from
-
Lighty Story
December 20 2008 | | System Administration, Uncategorized
I will tell you a story. Once upon a time... Seriously though, it was not too long ago in the past - but it happened and it is possible you can benefit from it. What? This tutorial will show how to make lighttpd 1.4.20 serve virtual hosts with CakePHP applications. Our scenario is quite simple: For admin purposes, lighttpd will listen on localhost, it will serve several CakePHP applications on several external ip addresses, without SSL. Virtual hosts will be organized in groups and every group will use one CakePHP core checkout for its virtual hosts. Every virtual host will have it own access log (this server will not run hundreds of virtual hosts, so we can afford to waste one file descriptor for each) and its own directory for caching of compressed static files. Management of virtual hosts, their default and custom settings should be as easy as possible, so we can delegate ...[ Read More | 3 Comments ]