Skip to content
Newer
Older
100644 33 lines (30 sloc) 1.02 KB
46137dc @snytkine Commiting, ready for release
authored Feb 11, 2011
1 ###
2 ### this is lighttpd config for our own support site
3 ### edit it to point to your own full path to www directory
4452d1b @snytkine Updated lighttpd.conf - config file for Lighttpd server. New rewrite …
authored Jun 27, 2012
4 #
5 # The rewrite rules are optional but if you decide to use them
6 # make sure to edit your !config.ini and make sure the INDEX_FILE value is blank
7 #
8 # Also these rules are for hosting Lampcms in root directory
9 # For hosting in sub-folder you will have to tweak these rules yourself
10 #
46137dc @snytkine Commiting, ready for release
authored Feb 11, 2011
11
12
4452d1b @snytkine Updated lighttpd.conf - config file for Lighttpd server. New rewrite …
authored Jun 27, 2012
13 # This one is for hosting lampcms (new) in root dir
14 # This is the actual configuration used in support.lampcms.com site
15 #
46137dc @snytkine Commiting, ready for release
authored Feb 11, 2011
16 $HTTP["host"] == "support.lampcms.com" {
4452d1b @snytkine Updated lighttpd.conf - config file for Lighttpd server. New rewrite …
authored Jun 27, 2012
17 server.document-root = "/usr/local/support.lampcms.com/www/"
18 url.rewrite-once = (
19 "/(index|api)\.php" => "$0",
20 ".*\.(png|gif|jpg|jpeg|css|js)$" => "$0",
21 ".*\.(css|js)\?t" => "$0",
22 "^/(.*)$" => "/index.php/$1"
23 )
1c78883 @snytkine Added Autocomplete, added Followers/Followees blocks, Taginput widget,
authored Apr 7, 2011
24 #
4452d1b @snytkine Updated lighttpd.conf - config file for Lighttpd server. New rewrite …
authored Jun 27, 2012
25 # Expire headers for images, /js/min/ and style (mainly to cache main.css file)
46137dc @snytkine Commiting, ready for release
authored Feb 11, 2011
26 #
4452d1b @snytkine Updated lighttpd.conf - config file for Lighttpd server. New rewrite …
authored Jun 27, 2012
27 expire.url = (
28 "/images/" => "access plus 10 years",
29 "/js/min/" => "access plus 10 years",
30 "/style/" => "access plus 1 days",
15379a9 @snytkine Added try/catch to __destruct, better handling on Mongo connection.
authored May 6, 2012
31 )
46137dc @snytkine Commiting, ready for release
authored Feb 11, 2011
32 }
Something went wrong with that request. Please try again.