User Tools

Site Tools


lighttpd_permalinks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

lighttpd_permalinks [2012/02/08 09:16]
HelloWorld created
lighttpd_permalinks [2013/04/19 14:54]
Line 1: Line 1:
-====== Lighttpd Permalinks ====== 
  
-In lighttpd, in order to get permalinks working, you should add some lines on your configuration file. 
- 
-**For the pattern:** page/%slug% for example you should add this: 
-<​code>​url.rewrite-once = ( 
- "/​test/​page/​(.*)"​ => "/​test/​index.php?​id=$1"​ 
-)</​code>​ 
- 
-Don't forget to **replace** "​**test**"​ with the **directory** you installed GetSimpleCMS. 
- 
-===== Getting Permalinks to work with News Manager ===== 
- 
-If you want to get a plugin like **News Manager** work with **permalinks** it's a little bit more complex. 
- 
-Add this to your configuration file: 
-<​code>​url.rewrite-once = ( 
- "/​test/​page/​test123post/​(.*)"​ => "/​test/​index.php?​id=test123&​post=$1",​ 
- "/​test/​page/​(.*)"​ => "/​test/​index.php?​id=$1"​ 
-)</​code>​ 
- 
-Then **replace** "​**test**"​ with the **directory** you installed GetSimpleCMS,​ and "​**test123**"​ with the **menu text name**. 
lighttpd_permalinks.txt ยท Last modified: 2013/04/19 14:54 (external edit)