Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lighttpd + Permalinks
#1
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?
Reply
#2
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.
Reply
#3
hey, there are some postings concerning Lighttpd already

why not add this info to our WIKI?
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#4
Done!
Reply




Users browsing this thread: 1 Guest(s)