MyBB Community Forums

Full Version: Trying to setup rewrites for lighttpd in the current year
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys,

Currently doing a mybb test site as part of a performance review of my forum (we currently use nginx). One of them needs to use lighttpd, as one of the guys wants to see it vs OpenLitespeed and NGINX, both of which are VERY well-documented. 

I need to know how to setup rewrite rules, as the only tutorial I found was for 1.6 and it results in 404s and other glitches on most rewrites. As this is an internal project, I can't share a public URL of the test site. 

Current lighttpd supports QSA-type rules unlike a decade ago. Can anyone perhaps humor me because I'm trash at regex. 

Docs:

https://redmine.lighttpd.net/projects/1/...modrewrite
I haven't touched lighttpd since forever, the syntax seems to have changed a little, but in essence it should still work...?

Maybe enable the debug log to see what it's doing...

Performance wise you should be limited by PHP/MySQL, the webserver can't do much (other than serving static files directly instead of looping them through PHP, too - but you can get this wrong with both lighttpd and nginx, if you've not configured properly).
We're using postgres and I have a pretty quick server. I'll play with it and see if I can get things going, but expect me to ask how best to consolidate them haha. Thank you!