Topic: Lighttpd + Permalinks

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?

2 (edited by JoeyDown 2012-02-08 04:41:54)

Re: Lighttpd + Permalinks

Well, I figured it out.

For the pattern: page/%slug%

You should put this on your configuration file:

url.rewrite-once = (
 "/test/page/(.*)" => "/test/index.php?id=$1"
)

If you're using News Manager with permalinks use this:

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.

Re: Lighttpd + Permalinks

hey, there are some postings concerning Lighttpd already

why not add this info to our WIKI?

|--
Die deutsche GetSimple-Webseite: http://www.Get-Simple.de = the german Get-Simple-Website!
Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forum/forum/16/german-deutsch/

Re: Lighttpd + Permalinks

Done!