1 From c2396f1a329f954f37aa59d5eabda819c06e954e Mon Sep 17 00:00:00 2023
2 From: Yan <yanxk.fnst@fujitsu.com>
3 Date: Fri, 25 Aug 2023 09:44:01 +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
10 Upstream-Status: Pending
11 Signed-off-by: Yan <yanxk.fnst@fujitsu.com>
13 boa.conf | 10 +++++-----
14 1 file changed, 5 insertions(+), 5 deletions(-)
16 diff --git a/boa.conf b/boa.conf
17 index e3775db..77c9f9b 100644
20 @@ -59,7 +59,7 @@ Group nogroup
21 # Set to /dev/null if you don't want errors logged.
22 # If unset, defaults to /dev/stderr
24 -ErrorLog /var/log/boa/error_log
25 +ErrorLog /var/log/boa_error_log
26 # Please NOTE: Sending the logs to a pipe ('|'), as shown below,
27 # is somewhat experimental and might fail under heavy load.
28 # "Usual libc implementations of printf will stall the whole
29 @@ -71,7 +71,7 @@ ErrorLog /var/log/boa/error_log
30 # Comment out or set to /dev/null (less effective) to disable
33 -AccessLog /var/log/boa/access_log
34 +AccessLog /var/log/boa_access_log
35 # Please NOTE: Sending the logs to a pipe ('|'), as shown below,
36 # is somewhat experimental and might fail under heavy load.
37 # "Usual libc implementations of printf will stall the whole
38 @@ -108,7 +108,7 @@ AccessLog /var/log/boa/access_log
39 # DocumentRoot: The root directory of the HTML documents.
40 # Comment out to disable server non user files.
42 -DocumentRoot /var/www
43 +DocumentRoot /etc/boa/www
45 # UserDir: The name of the directory which is appended onto a user's home
46 # directory if a ~user request is recieved.
47 @@ -120,14 +120,14 @@ UserDir public_html
48 # fly creation of directory indexes can be _slow_.
49 # Comment out to always use DirectoryMaker
51 -DirectoryIndex index.html
52 +DirectoryIndex homepage.html
54 # DirectoryMaker: Name of program used to create a directory listing.
55 # Comment out to disable directory listings. If both this and
56 # DirectoryIndex are commented out, accessing a directory will give
57 # an error (though accessing files in the directory are still ok).
59 -DirectoryMaker /usr/lib/boa/boa_indexer
60 +DirectoryMaker /usr/bin/boa_indexer
62 # DirectoryCache: If DirectoryIndex doesn't exist, and DirectoryMaker
63 # has been commented out, the the on-the-fly indexing of Boa can be used