…it to work. Use other server, ie lighttpd with FastCGI. Honestly I like this solution …your application if you used apache specific modules – ie mod_rewrite, .htaccess, apache specific environment…application. Dedicated server for static content. If you serve a lot of static content – music, videos…
Post: Lighttpd as reverse proxy
…/05/21/speedup-your-lamp-stack-with-lighttpd/ ) , redirect dynamic requests to apache and handle static files by itself. I just gathered… lines in lighttpd.conf server.modules = ( … “mod_auth”, “mod_status”, “mod_proxy”, … ) mod_status is useful to show additional information from lighttpd mod…
Post: Pitfall of proxying HTTP requests through Lighttpd
… them was running Lighttpd that handled the requests coming from the internet. It was configured however only to serve static content, such as images. The requests asking for PHP files were passed down with proxy module to Apache… problems will appear with much smaller data being sent through Lighttpd proxy. For example with a PHP script for handling larger…
Post: Content delivery system design mistakes
… apache is not good for serving static content especially with many thousands of keep-alive connections. Lighttpd is often named as faster alternative. It is surely true if you server static content from memory or… do. The optimal solution would be to using some server modules for access control or hacking one if you need some…
Comment: Lighttpd as reverse proxy
Saiyine Lighttpd can compress static files and and compressed result (to not perform compression each time) just enable compression module and use next lines #### compress module #compress.cache-dir = “/var/cache/lighttpd/compress/” #compress.filetype = (“text/plain”, “text/html”)
Comment: Lighttpd as reverse proxy
… use Apache with threaded MPM as reverse proxy (and for static files) and Apache prefork MPM for serving PHP files. Big… Apache has decent memory consumption and almost same performance as lighttpd with sendfile network module.
Post: Are PHP persistent connections evil ?
…-alive while still keeping MySQL connection open, others will serve static content such as images which also does not need MySQL… can place squid in front, use apache proxy module or even use lighttpd with FastCGI all can fix this problem. Lets talk…

