Thanks turboblack. The link you provided had the apache .htaccess data I was talking about.
I spent some time searching on the internet and found a fix for lighttpd that would make WonderCMS work.
I added to the lighttpd config file the following lines:
Code: Select all
url.rewrite-once = (
"^/([^.?]*)$" => "/index.php?page=$1",
)
This seems to be the equivalent for the apache's:
Code: Select all
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1#%{REQUEST_URI} ([^#]*)#(.*)\1$
RewriteRule ^([^\.]+)$ %2?page=$1 [QSA,L]
If there is someone with experience in Rewrite command in lighttpd, please correct the config if required. For now, all seems OK!
I need to say also that the WonderCMS 0.6 vulnerability fix does not work for lighttpd. In order to work, there is still necessary to have a lighttpd .htaccess equivalent for:
Code: Select all
RewriteCond %{THE_REQUEST} password($|\ |\?) [NC]
RewriteRule .* - [F]
If anyone can contribute to this, I would be most grateful.
For now, we should wait for a newer version.