From 63a578fe92fa9ac8de98a652e8ea8567f1c9fa1c Mon Sep 17 00:00:00 2001 From: Glenn Strauss Date: Sat, 11 Jun 2022 18:18:15 -0400 Subject: [doc] more consistent use of vars in examples incorporate some patches from macports package of lighttpd (thx) --- doc/config/conf.d/auth.conf | 2 +- doc/config/conf.d/cgi.conf | 2 +- doc/config/conf.d/fastcgi.conf | 2 +- doc/config/conf.d/rrdtool.conf | 2 +- doc/config/lighttpd.conf | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'doc') diff --git a/doc/config/conf.d/auth.conf b/doc/config/conf.d/auth.conf index 6039478a..a004fb6e 100644 --- a/doc/config/conf.d/auth.conf +++ b/doc/config/conf.d/auth.conf @@ -11,7 +11,7 @@ server.modules += ( "mod_auth" ) #server.modules += ( "mod_authn_file" ) #auth.backend = "plain" -#auth.backend.plain.userfile = "/etc/lighttpd/lighttpd.user" +#auth.backend.plain.userfile = conf_dir + "/lighttpd.user" #server.modules += ( "mod_authn_ldap" ) #auth.backend = "ldap" diff --git a/doc/config/conf.d/cgi.conf b/doc/config/conf.d/cgi.conf index ac956099..e233ed40 100644 --- a/doc/config/conf.d/cgi.conf +++ b/doc/config/conf.d/cgi.conf @@ -41,7 +41,7 @@ cgi.assign = ( ".pl" => "/usr/bin/perl", ## default: disable ## #cgi.x-sendfile = "enable" -#cgi.x-sendfile-docroot = ( "/srv/www/html", "/srv/www/static" ) +#cgi.x-sendfile-docroot = ( server_root + "/html", server_root + "/static" ) ## ## Local Redirect Response optimization diff --git a/doc/config/conf.d/fastcgi.conf b/doc/config/conf.d/fastcgi.conf index 0760af06..8c8a934f 100644 --- a/doc/config/conf.d/fastcgi.conf +++ b/doc/config/conf.d/fastcgi.conf @@ -125,7 +125,7 @@ server.modules += ( "mod_fastcgi" ) # ))) # #server.chroot = "/srv/www" -#server.document-root = "/servers/wwww.example.org/htdocs/" +#server.document-root = "/servers/www.example.org/htdocs/" # ## diff --git a/doc/config/conf.d/rrdtool.conf b/doc/config/conf.d/rrdtool.conf index 652e589f..1bc13374 100644 --- a/doc/config/conf.d/rrdtool.conf +++ b/doc/config/conf.d/rrdtool.conf @@ -15,7 +15,7 @@ rrdtool.binary = "/usr/bin/rrdtool" ## ## Path to the rrdtool database. You can override this in conditionals. ## -rrdtool.db-name = "/var/lib/lighttpd/lighttpd.rrd" +rrdtool.db-name = home_dir + "/lighttpd.rrd" ## ####################################################################### diff --git a/doc/config/lighttpd.conf b/doc/config/lighttpd.conf index 2d3f2db2..0abee3f1 100644 --- a/doc/config/lighttpd.conf +++ b/doc/config/lighttpd.conf @@ -388,7 +388,7 @@ static-file.exclude-extensions = ( ".php", ".pl", ".fcgi", ".scgi" ) ## Format: .html ## -> ..../status-404.html for 'File not found' ## -#server.errorfile-prefix = "/srv/www/htdocs/errors/status-" +#server.errorfile-prefix = server_root + "/htdocs/errors/status-" ## ## mimetype mapping -- cgit v1.2.1