1 From 6b227adac5dbabc958ef215f15637d3c4d21d759 Mon Sep 17 00:00:00 2001
2 From: Yan <yanxk.fnst@fujitsu.com>
3 Date: Sat, 7 Oct 2023 18:27:42 +0800
4 Subject: [PATCH] boa: modify conf file matching AGL system
6 set boa and boa_index working path to /usr/bin
7 error log and access log are re-directed to /var/log/
8 default index reset to homepage
9 cgi-bin folder to /usr/bin/cgi-bin
11 Upstream-Status: Pending
12 Signed-off-by: Yan <yanxk.fnst@fujitsu.com>
14 boa.conf | 12 ++++++------
15 1 file changed, 6 insertions(+), 6 deletions(-)
17 diff --git a/boa.conf b/boa.conf
18 index e3775db..4da9983 100644
21 @@ -59,7 +59,7 @@ Group nogroup
22 # Set to /dev/null if you don't want errors logged.
23 # If unset, defaults to /dev/stderr
25 -ErrorLog /var/log/boa/error_log
26 +ErrorLog /var/log/boa_error_log
27 # Please NOTE: Sending the logs to a pipe ('|'), as shown below,
28 # is somewhat experimental and might fail under heavy load.
29 # "Usual libc implementations of printf will stall the whole
30 @@ -71,7 +71,7 @@ ErrorLog /var/log/boa/error_log
31 # Comment out or set to /dev/null (less effective) to disable
34 -AccessLog /var/log/boa/access_log
35 +AccessLog /var/log/boa_access_log
36 # Please NOTE: Sending the logs to a pipe ('|'), as shown below,
37 # is somewhat experimental and might fail under heavy load.
38 # "Usual libc implementations of printf will stall the whole
39 @@ -108,7 +108,7 @@ AccessLog /var/log/boa/access_log
40 # DocumentRoot: The root directory of the HTML documents.
41 # Comment out to disable server non user files.
43 -DocumentRoot /var/www
44 +DocumentRoot /etc/boa/www
46 # UserDir: The name of the directory which is appended onto a user's home
47 # directory if a ~user request is recieved.
48 @@ -120,14 +120,14 @@ UserDir public_html
49 # fly creation of directory indexes can be _slow_.
50 # Comment out to always use DirectoryMaker
52 -DirectoryIndex index.html
53 +DirectoryIndex homepage.html
55 # DirectoryMaker: Name of program used to create a directory listing.
56 # Comment out to disable directory listings. If both this and
57 # DirectoryIndex are commented out, accessing a directory will give
58 # an error (though accessing files in the directory are still ok).
60 -DirectoryMaker /usr/lib/boa/boa_indexer
61 +DirectoryMaker /usr/bin/boa_indexer
63 # DirectoryCache: If DirectoryIndex doesn't exist, and DirectoryMaker
64 # has been commented out, the the on-the-fly indexing of Boa can be used
65 @@ -190,5 +190,5 @@ Alias /doc /usr/doc
66 # ScriptAlias: Maps a virtual path to a directory for serving scripts
67 # Example: ScriptAlias /htbin/ /www/htbin/
69 -ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
70 +ScriptAlias /cgi-bin/ /usr/bin/cgi-bin/