Page 1 of 1

[SOLVED] Wondercms and Lighttpd

Posted: Wed Jan 25, 2017 2:11 pm
by gameshacker
Hallo,
Can anybody helped me to get Wondercms 1.x working on Lighttpd.

On Version 0.6.6 somebody has posted how to convert the .htaccess file in the lighttpd.conf. Until Version 0.9.8 this solution worked already.
Now Wondercms works, but it is very slow. Each click is needed some minutes.

This config lines in Lighttpd.conf are the old ones.
Here I think the database.js file is missing

Code: Select all

#Wondercms .access rewrite
url.rewrite-once = (
        "^/([^.?]*)$" => "/index.php?page=$1",
)
Thankyou Gameshacker

Re: Wondercms and Lighttpd

Posted: Wed Feb 01, 2017 9:57 pm
by wiz
Hello gameshacker, try out the config below.

Code: Select all

url.rewrite-once = (
    "^/([^.?]*)$" => "/index.php?page=$1",
)

$HTTP["querystring"] == "database.js" {
    url.access-deny = ("")
}
To test this solution, you'll have to visit your domain (example.com) and try to access the database (example.com/database.js).
If you can't access the database, you're good to go!

Re: Wondercms and Lighttpd

Posted: Sat Feb 04, 2017 1:23 pm
by gameshacker
Allright, Thank You

Re: Wondercms and Lighttpd

Posted: Thu Feb 09, 2017 10:40 am
by wiz
You're welcome, let us know if it works as intended so we can mark this thread as solved.

Re: Wondercms and Lighttpd

Posted: Mon Mar 13, 2017 8:56 am
by gameshacker
Hi,

Yes, it works.
This Thread can marked as solved.

Thank You