Just wondered if anyone had tried lighttpd with virtual hosts and url-rewriting?
The vhosts system looks like it might make more sense if you're literally hosting sites as:
- /websites/example1.com
- /websites/example2.com
- /websites/example3.com
But if you wanted to do anything more exotic, you'd need to write lots of rewrite rules, by the looks of things. Anyone tried this at all? Is it faster than the equivalent Apache setup? (I should imagine if you're using 'simple vhosts' like above, it would in all probability be faster)
Also, it's not overly clear from the lighttpd website whether URL rewriting is specified in the main configuration file, or whether it can be set per-directory like in Apache's .htaccess files. If not, that could be quite a limitation which would put me - and probably others - off.
It seems that lighttpd might work better for what I want than Apache might, but I'm not yet sure.
Has anyone here tried this?