« Project home page

phpSQLiteCMS Forum

Back to the forum index
Open in thread

How to run phpSQLiteCMS on lighttpd [tip] (Technics)

by Lighttpd tester, Monday, July 26, 2010, 20:38 (44 days ago) @ nBVCXz

I also tried this with lighttpd and I had to use two separate rewrite rules to get the content and management to work correctly. I use it in the root directory /

url.rewrite-once = (
^/cms/([^\?.]*)/?$" => "/cms/index.php?qs=$1",
"^/([^\?.]*)/?$" => "/index.php?qs=$1"
)

And here the order is important, ie. the /cms/ rule is before the / rule.

And I am also happy to report that this works like a charm with lighttpd and php fast-cgi run as a separate user.

 

Complete thread:

 RSS Feed of thread

192 Postings in 89 Threads, 63 registered users, 7 users online (0 registered, 7 guests)
Forum time: 2010-09-08, 15:16
RSS Postings  RSS Threads | Contact
powered by my little forum