Sample virtual host config to use Steercms with lighttpd and php5-cgi

1 view
Skip to first unread message

Francois Baligant

unread,
Jan 18, 2008, 6:46:16 PM1/18/08
to Steer CMS Users
$HTTP["host"] == "www.example.com" {

server.document-root = "/www/www.example.com/html/web/"

alias.url = (
"/sf" => "/usr/share/php/data/symfony/web/
sf/",
"/cms/sf" => "/usr/share/php/data/symfony/web/
sf/"
)

url.rewrite-once = (
"^/cms/([^.]+)$" => "/cms/index.php/$1",
"^/cms/$" => "/cms/index.php",
"^/cms$" => "/cms/index.php",
"^/(.*\..+(?!html))$" => "$0",
"^/(.*)\.(.*)" => "$0",
"^/([^.]+)$" => "/index.php/$1",
"^/$" => "/index.php"
)
}

(posted here since Wiki is read-only)

pi...@wranglers.com.au

unread,
Jan 19, 2008, 9:10:36 AM1/19/08
to steercm...@googlegroups.com
Cool,

Thanks for posting that Francois. Do you mind if plud it into the
installation instuctions?

- Piers

Francois Baligant

unread,
Jan 20, 2008, 9:31:08 PM1/20/08
to steercm...@googlegroups.com
Hi Piers,

At all, redistribute it as you wish.

- Francois

pi...@wranglers.com.au a écrit :

Reply all
Reply to author
Forward
0 new messages