mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
97 lines
3.7 KiB
Diff
97 lines
3.7 KiB
Diff
--- doc/config/conf.d/cgi.conf.orig 2010-07-11 12:01:32.000000000 -0500
|
|
+++ doc/config/conf.d/cgi.conf 2010-10-17 05:19:33.000000000 -0500
|
|
@@ -12,11 +12,11 @@
|
|
##
|
|
## For PHP don't forget to set cgi.fix_pathinfo = 1 in the php.ini.
|
|
##
|
|
-cgi.assign = ( ".pl" => "/usr/bin/perl",
|
|
- ".cgi" => "/usr/bin/perl",
|
|
- ".rb" => "/usr/bin/ruby",
|
|
- ".erb" => "/usr/bin/eruby",
|
|
- ".py" => "/usr/bin/python" )
|
|
+cgi.assign = ( ".pl" => "@PREFIX@/bin/perl",
|
|
+ ".cgi" => "@PREFIX@/bin/perl",
|
|
+ ".rb" => "@PREFIX@/bin/ruby",
|
|
+ ".erb" => "@PREFIX@/bin/eruby",
|
|
+ ".py" => "@PREFIX@/bin/python" )
|
|
|
|
##
|
|
## to get the old cgi-bin behavior of apache
|
|
--- doc/config/conf.d/fastcgi.conf.orig 2017-11-11 10:30:25.000000000 -0600
|
|
+++ doc/config/conf.d/fastcgi.conf 2017-11-12 09:42:40.000000000 -0600
|
|
@@ -23,7 +23,7 @@
|
|
# ( "php-local" =>
|
|
# (
|
|
# "socket" => socket_dir + "/php-fastcgi-1.socket",
|
|
-# "bin-path" => server_root + "/cgi-bin/php5",
|
|
+# "bin-path" => "@PREFIX@/bin/php-cgi",
|
|
# "max-procs" => 1,
|
|
# "broken-scriptfilename" => "enable",
|
|
# ),
|
|
@@ -37,7 +37,7 @@
|
|
# "php-num-procs" =>
|
|
# (
|
|
# "socket" => socket_dir + "/php-fastcgi-2.socket",
|
|
-# "bin-path" => server_root + "/cgi-bin/php5",
|
|
+# "bin-path" => "@PREFIX@/bin/php",
|
|
# "bin-environment" => (
|
|
# "PHP_FCGI_CHILDREN" => "16",
|
|
# "PHP_FCGI_MAX_REQUESTS" => "10000",
|
|
@@ -112,7 +112,7 @@
|
|
|
|
## chrooted webserver + external PHP
|
|
##
|
|
-## $ spawn-fcgi -f /usr/bin/php-cgi -p 2000 -a 127.0.0.1 -C 8
|
|
+## $ spawn-fcgi -f @PREFIX@/bin/php-cgi -p 2000 -a 127.0.0.1 -C 8
|
|
##
|
|
## webserver chrooted to /srv/www/
|
|
## php running outside the chroot
|
|
--- doc/config/conf.d/rrdtool.conf.orig 2022-08-07 14:03:57.000000000 -0500
|
|
+++ doc/config/conf.d/rrdtool.conf 2022-08-09 20:13:15.000000000 -0500
|
|
@@ -10,7 +10,7 @@
|
|
##
|
|
## Path to the rrdtool binary.
|
|
##
|
|
-rrdtool.binary = "/usr/bin/rrdtool"
|
|
+rrdtool.binary = "@PREFIX@/bin/rrdtool"
|
|
|
|
##
|
|
## Path to the rrdtool database. You can override this in conditionals.
|
|
--- doc/config/lighttpd.annotated.conf.orig 2022-08-07 14:03:57.000000000 -0500
|
|
+++ doc/config/lighttpd.annotated.conf 2022-08-09 20:15:15.000000000 -0500
|
|
@@ -13,11 +13,11 @@
|
|
## if you add a variable here. Add the corresponding variable in the
|
|
## chroot example as well.
|
|
##
|
|
-var.log_root = "/var/log/lighttpd"
|
|
-var.server_root = "/srv/www"
|
|
-var.state_dir = "/run"
|
|
-var.home_dir = "/var/lib/lighttpd"
|
|
-var.conf_dir = "/etc/lighttpd"
|
|
+var.log_root = "@PREFIX@/var/log/lighttpd"
|
|
+var.server_root = "@PREFIX@/www"
|
|
+var.state_dir = "@PREFIX@/var/run/lighttpd"
|
|
+var.home_dir = "@PREFIX@/var/lib/lighttpd"
|
|
+var.conf_dir = "@PREFIX@/etc/lighttpd"
|
|
|
|
##
|
|
## run the server chrooted.
|
|
@@ -58,7 +58,7 @@
|
|
## used in:
|
|
## conf.d/deflate.conf
|
|
##
|
|
-var.cache_dir = "/var/cache/lighttpd"
|
|
+var.cache_dir = "@PREFIX@/var/cache/lighttpd"
|
|
|
|
##
|
|
## Base directory for sockets.
|
|
@@ -374,7 +374,7 @@
|
|
## Format: <errorfile-prefix><status-code>.html
|
|
## -> ..../status-404.html for 'File not found'
|
|
##
|
|
-#server.errorfile-prefix = server_root + "/htdocs/errors/status-"
|
|
+#server.errorfile-prefix = server.document-root + "/errors/status-"
|
|
|
|
##
|
|
## mimetype mapping
|