How to run phpSQLiteCMS on lighttpd [tip] (Technics)
Lighttpd web-server doesn't have Apaches' .htaccess file support.
To run phpSQLiteCMS on lighttpd edit lighttpd.conf.
For phpSQLiteCMS 1.0:
...
### url handling modules (rewrite, redirect, access)
url.rewrite-once = (
"^/phpSQLiteCMS/(.*.php|cms/|data/|lang/|images/|files/|smarty/|templates/|templates_c/|favicon.ico).*" => "$0",
"^/phpSQLiteCMS/([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*)/?$" => "/phpSQLiteCMS/cms/parser.php?cms_page=$1&get_1=$2&get_2=$3&get_3=$4&get_4=$5&get_5=$6",
"^/phpSQLiteCMS/([^,]*),([^,]*),([^,]*),([^,]*),([^,]*)/?$" => "/phpSQLiteCMS/cms/parser.php?cms_page=$1&get_1=$2&get_2=$3&get_3=$4&get_4=$5",
"^/phpSQLiteCMS/([^,]*),([^,]*),([^,]*),([^,]*)/?$" => "/phpSQLiteCMS/cms/parser.php?cms_page=$1&get_1=$2&get_2=$3&get_3=$4",
"^/phpSQLiteCMS/([^,]*),([^,]*),([^,]*)/?$" => "/phpSQLiteCMS/cms/parser.php?cms_page=$1&get_1=$2&get_2=$3",
"^/phpSQLiteCMS/([^,]*),([^,]*)/?$" => "/phpSQLiteCMS/cms/parser.php?cms_page=$1&get_1=$2",
"^/phpSQLiteCMS/([^,]*)/?$" => "/phpSQLiteCMS/cms/parser.php?cms_page=$1"
)
...
For phpSQLiteCMS 2.0:
...
### url handling modules (rewrite, redirect, access)
url.rewrite-once = (
"^/phpsqlitecms/([^\?.]*)/?$" => "/phpsqlitecms/index.php?qs=$1",
)
...
How to run phpSQLiteCMS on lighttpd [tip]
Lighttpd web-server doesn't have Apaches' .htaccess file support.
To run phpSQLiteCMS on lighttpd edit lighttpd.conf.
For phpSQLiteCMS 2.0:... ### url handling modules (rewrite, redirect, access) url.rewrite-once = ( "^/phpsqlitecms/([^\?.]*)/?$" => "/phpsqlitecms/index.php?qs=$1", ) ...
Unfortunately still doesn't work - still 404 error page. The administration panel works OK.
Tested on:
Linux server 2.6.31-ARCH
lighttpd-1.4.24-1 (with modules fastcgi, rewrite, redirect and access enabled)
php-5.3.0-5 (with PDO and sqlite enabled)
phpSQLiteCMS v. 2.0 beta1 (2009-09-17)
How to run phpSQLiteCMS on lighttpd [tip]
Sorry for little mess - all is working ok. The thing was that my cms is operating at the root http directory (not in /phpsqlitecms): so I need to remove '/phpsqlitecms' and mine is:
url.rewrite-once = ( "^/([^\?.]*)/?$" => "/index.php?qs=$1")
So thing is solved and cms operating like charm 
How to run phpSQLiteCMS on lighttpd [tip]
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.