GetSimple Support Forum
Lighttpd + Permalinks - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: Lighttpd + Permalinks (/showthread.php?tid=2726)



Lighttpd + Permalinks - JoeyDown - 2012-02-08

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?


Lighttpd + Permalinks - JoeyDown - 2012-02-08

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.


Lighttpd + Permalinks - Connie - 2012-02-08

hey, there are some postings concerning Lighttpd already

why not add this info to our WIKI?


Lighttpd + Permalinks - JoeyDown - 2012-02-08

Done!