Line 0
Link Here
|
|
|
1 |
--- examples/boa.conf.orig Mon Nov 25 18:27:13 2002 |
2 |
+++ examples/boa.conf Mon Nov 25 18:33:40 2002 |
3 |
@@ -45,8 +45,8 @@ |
4 |
# User: The name or UID the server should run as. |
5 |
# Group: The group name or GID the server should run as. |
6 |
|
7 |
-User nobody |
8 |
-Group nogroup |
9 |
+User www |
10 |
+Group www |
11 |
|
12 |
# ServerAdmin: The email address where server problems should be sent. |
13 |
# Note: this is not currently used, except as an environment variable |
14 |
@@ -155,7 +155,7 @@ |
15 |
# DocumentRoot: The root directory of the HTML documents. |
16 |
# Comment out to disable server non user files. |
17 |
|
18 |
-DocumentRoot /var/www |
19 |
+DocumentRoot %%PREFIX%%/www/data |
20 |
|
21 |
# UserDir: The name of the directory which is appended onto a user's home |
22 |
# directory if a ~user request is recieved. |
23 |
@@ -174,7 +174,7 @@ |
24 |
# DirectoryIndex are commented out, accessing a directory will give |
25 |
# an error (though accessing files in the directory are still ok). |
26 |
|
27 |
-DirectoryMaker /usr/lib/boa/boa_indexer |
28 |
+DirectoryMaker %%PREFIX%%/sbin/boa_indexer |
29 |
|
30 |
# DirectoryCache: If DirectoryIndex doesn't exist, and DirectoryMaker |
31 |
# has been commented out, the the on-the-fly indexing of Boa can be used |
32 |
@@ -199,7 +199,7 @@ |
33 |
# Set to /dev/null if you do not want to load a mime types file. |
34 |
# Do *not* comment out (better use AddType!) |
35 |
|
36 |
-MimeTypes /etc/mime.types |
37 |
+MimeTypes %%PREFIX%%/etc/mime.types |
38 |
|
39 |
# DefaultType: MIME type used if the file extension is unknown, or there |
40 |
# is no file extension. |
41 |
@@ -208,7 +208,7 @@ |
42 |
|
43 |
# CGIPath: The value of the $PATH environment variable given to CGI progs. |
44 |
|
45 |
-CGIPath /bin:/usr/bin:/usr/local/bin |
46 |
+CGIPath /bin:/usr/bin:%%PREFIX/bin |
47 |
|
48 |
# SinglePostLimit: The maximum allowable number of bytes in |
49 |
# a single POST. Default is normally 1MB. |
50 |
@@ -232,10 +232,10 @@ |
51 |
# Aliases: Aliases one path to another. |
52 |
# Example: Alias /path1/bar /path2/foo |
53 |
|
54 |
-Alias /doc /usr/doc |
55 |
+Alias /doc /usr/share/doc |
56 |
|
57 |
# ScriptAlias: Maps a virtual path to a directory for serving scripts |
58 |
# Example: ScriptAlias /htbin/ /www/htbin/ |
59 |
|
60 |
-ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ |
61 |
+ScriptAlias /cgi-bin/ %%PREFIX/www/cgi-bin/ |
62 |
|