Hi everone!
Thank you very much! It seems my misfortune was only due to a small mistake. I hadn't included the subfolder in the error-handler:
$HTTP["url"] =~ "^/forum/" { server.error-handler-404 = "/rewrite.php" }
This isn't 100% correct yet; it should be
server.error-handler-404 = "/forum/rewrite.php"
if your forum is located at /forum.
As a conclusion for all of you looking for instructions to have clean urls in punbb 1.3 with lighttpd:
Assuming your forum installation is in a folder named "punbb" (i.e. http://www.yourdomain.com/punbb/):
- Add this to the appropriate section of your lighttpd.conf file:
$HTTP["url"] =~ "^/punbb/" {
server.error-handler-404 = "/punbb/rewrite.php"
}
Assuming your forum resides at the root of your site (i.e. http://www.yourdomain.com/):
- Add this to the appropriate section of your lighttpd.conf file:
server.error-handler-404 = "/rewrite.php"
- Restart lighttpd
- Go to the admin panel of your punBB installation, go to Settings and choose which ever URL scheme you like
That's it! The rewrite.php script takes care of the rest.
- Jyri