GetSimple Support Forum

Full Version: Lighttpd + Permalinks
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I installed GetSimpleCMS in my server. Firstly I have to say It's great! I really love that's simple but well functioning without any stupid bugs. Good job!

In my server I run lighttpd and I would like to use custom permalink structure. What should I put in my configuration file?
Well, I figured it out.

For the pattern: page/%slug%

You should put this on your configuration file:
Code:
url.rewrite-once = (
"/test/page/(.*)" => "/test/index.php?id=$1"
)

If you're using News Manager with permalinks use this:
Code:
url.rewrite-once = (
"/test/page/test123post/(.*)" => "/test/index.php?id=test123&post=$1",
"/test/page/(.*)" => "/test/index.php?id=$1"
)

Don't forget that you should change the paths to suit your install.
hey, there are some postings concerning Lighttpd already

why not add this info to our WIKI?
Done!