Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
TXP and lighttp?
I’m curious about txp and lighttp and am looking for answers to a few questions for anyone who’s using this kind of configuration.
- I notice that there have been a few issues with lighttp and Textpattern mostly related to rewrite rules? Are all these problems solved?
- What specifically do you have to do different to configure a lighttp TXP install.
- What are the advantages? Mostly speed and memory footprint I’m guessing…
- What do you lose moving from an Apache situation?
- Any other observations?
Thanks much
Offline
Re: TXP and lighttp?
I notice that there have been a few issues with lighttp and Textpattern mostly related to rewrite rules? Are all these problems solved?
Out of the box, the rewrite rules are for apache only. Lighttpd does not have per directory confiuration files, so an administrator has to do stuff to get clean urls to work anyhow. One simple way is to use the error-handler directive which is basically a shorthand for what the apache rewrite rules do. (Theoretically it is possible to use the error-handler in apache as well, but this leads to problems due to apache specific design decisions – luckily lighty is more logical in that aspect).
Advantages and Disadvantages must be evaluated on a case by case basis. There is hardly anything that affects textattern directly (maybe the odd plugin), mostly it’s just a matter of which webserver better suits your needs.
Speedwise there is little difference between apache+mod_php and lighty+fcgi. Memory fotprint can be brought down significantly with apache if you configure it correctly, but it’s more work than with lighty – the cases where you’re most likely to notice any real world difference, is when you have everything (mail, web, db) on one server and a very limited amount of ram (512 or 1024MB), or in the other extreme where you have several front-end machines (webservers only). For most other sites in between it’s really only a matter of preference, feature-set, ease of maintenance etc..
Last edited by Sencer (2007-10-05 09:08:41)
Offline
Re: TXP and lighttp?
Thanks for your clear and detailed response. That was helpful.
Offline
Pages: 1