mirror of
https://git.fsfe.org/FSFE/fsfe-local-build.git
synced 2026-04-20 11:23:06 +02:00
use log files and add optional PHP support
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
server.modules = ( "mod_access" )
|
server.modules = ( "mod_access", "mod_accesslog" )
|
||||||
$HTTP["remoteip"] !~ "127.0.0.1" {
|
$HTTP["remoteip"] !~ "127.0.0.1" {
|
||||||
url.access-deny = ("") # prevent hosting to the network
|
url.access-deny = ("") # prevent hosting to the network
|
||||||
}
|
}
|
||||||
@@ -6,9 +6,14 @@ $HTTP["remoteip"] !~ "127.0.0.1" {
|
|||||||
# change port and document-root accordingly
|
# change port and document-root accordingly
|
||||||
server.port = 5080
|
server.port = 5080
|
||||||
server.document-root = "/home/USER/subversion/fsfe/local-build/fsfe.org"
|
server.document-root = "/home/USER/subversion/fsfe/local-build/fsfe.org"
|
||||||
server.errorlog = "/dev/stdout"
|
server.errorlog = "/home/USER/subversion/fsfe/local-build/lighttpd-fsfe.error.log"
|
||||||
|
accesslog.filename = "/home/USER/subversion/fsfe/local-build/lighttpd-fsfe.access.log"
|
||||||
server.dir-listing = "enable"
|
server.dir-listing = "enable"
|
||||||
dir-listing.encoding = "utf-8"
|
dir-listing.encoding = "utf-8"
|
||||||
index-file.names = ("index.html", "index.en.html")
|
index-file.names = ("index.html", "index.en.html")
|
||||||
|
|
||||||
include_shell "./create-mime.assign.pl"
|
include_shell "./create-mime.assign.pl"
|
||||||
|
|
||||||
|
# Uncomment if your would like to enable php support
|
||||||
|
# server.modules += ( "mod_cgi" )
|
||||||
|
# cgi.assign = ( ".php" => "/usr/bin/php-cgi" )
|
||||||
|
|||||||
Reference in New Issue
Block a user