[SOLVED] Wondercms and Lighttpd

Post Reply
gameshacker
Posts: 8
Joined: Tue Aug 16, 2016 12:00 pm

[SOLVED] Wondercms and Lighttpd

Post 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
User avatar
wiz
Posts: 749
Joined: Sat Oct 30, 2010 12:23 am

Re: Wondercms and Lighttpd

Post 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!
gameshacker
Posts: 8
Joined: Tue Aug 16, 2016 12:00 pm

Re: Wondercms and Lighttpd

Post by gameshacker »

Allright, Thank You
User avatar
wiz
Posts: 749
Joined: Sat Oct 30, 2010 12:23 am

Re: Wondercms and Lighttpd

Post by wiz »

You're welcome, let us know if it works as intended so we can mark this thread as solved.
gameshacker
Posts: 8
Joined: Tue Aug 16, 2016 12:00 pm

Re: Wondercms and Lighttpd

Post by gameshacker »

Hi,

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

Thank You
Post Reply