summaryrefslogtreecommitdiff
path: root/www/boa/files/patch-src__defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/boa/files/patch-src__defines.h')
-rw-r--r--www/boa/files/patch-src__defines.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/www/boa/files/patch-src__defines.h b/www/boa/files/patch-src__defines.h
new file mode 100644
index 000000000000..d5e8adbbd503
--- /dev/null
+++ b/www/boa/files/patch-src__defines.h
@@ -0,0 +1,20 @@
+--- src/defines.h.orig Mon Nov 25 18:25:31 2002
++++ src/defines.h Mon Nov 25 18:26:09 2002
+@@ -27,7 +27,7 @@
+ /***** Change this, or use -c on the command line to specify it *****/
+
+ #ifndef SERVER_ROOT
+-#define SERVER_ROOT "/etc/boa"
++#define SERVER_ROOT "%%PREFIX%%/etc"
+ #endif
+
+ /***** Change this via the CGIPath configuration value in boa.conf *****/
+@@ -53,7 +53,7 @@
+
+ #define REQUEST_TIMEOUT 60
+
+-#define MIME_TYPES_DEFAULT "/etc/mime.types"
++#define MIME_TYPES_DEFAULT "%%PREFIX%%/etc/mime.types"
+ #define CGI_MIME_TYPE "application/x-httpd-cgi"
+
+ /***** CHANGE ANYTHING BELOW THIS LINE AT YOUR OWN PERIL *****/