File Manager
Current Path : /tmp/ |
|
Current File : //tmp/www.babilon.be.conf |
### WW2.BABILON.BE ###
###
$HTTP["host"] =~ "babilon.be|www.babilon.be" {
## Start an FastCGI server for php (needs the php5-cgi package)
fastcgi.server = ( ".php" =>
((
"socket" => "/var/run/php/php5.6-fpm.sock",
"broken-scriptfilename" => "enable"
))
)
server.document-root = "/webspace/www.babilon.be/html/"
server.indexfiles = ( "index.html" , "index.htm", "index.php", "awstats.pl" )
accesslog.filename = "/webspace/www.babilon.be/log/access.log"
cgi.assign = (
".pl" => "/usr/bin/perl",
".cgi" => "/usr/bin/perl"
)
url.rewrite-final = (
"^(\/)$" => "/$0",
"^/(admin.*)$" => "/$1",
"^/(modules.*)$" => "/$1",
"^/(leguide.*)$" => "/$1",
"^/(hoegaarden.*)$" => "/$1",
"^/shop/(owner.*)$" => "/shop/$1",
"^/([^.?]*)(\.htm)$" => "/index.php?page=$1",
"^/(uploads.*)$" => "/$1",
"^/([^.?]*)\?fbclid=(.*)$" => "/index.php?page=$1&fbclid=$2",
"^/([^.?]*)$" => "/index.php?page=$1"
)
#Leverage browser caching
etag.use-inode = "enable"
etag.use-mtime = "enable"
etag.use-size = "enable"
static-file.etags = "enable"
$HTTP["url"] =~ "\.(jpg|gif|png|css|js|pdf|txt|ico)$" {
expire.url = ( "" => "access 7 days" )
}
}
File Manager Version 1.0, Coded By Lucas
Email: hehe@yahoo.com