/usr/share/doc/webgui/examples/apache.config-standalone is in webgui 7.10.28-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | ExtendedStatus On
PerlOptions +SetupEnv
PerlSetVar WebguiRoot /usr/share/webgui
PerlCleanupHandler Apache2::SizeLimit
PerlRequire /usr/share/webgui/sbin/preload.perl
NameVirtualHost *:80
<VirtualHost *:80>
ServerName localhost
ServerAdmin webmaster@localhost
ErrorLog /var/log/apache2/error.log
CustomLog /var/log/apache2/access.log common
DocumentRoot /var/www/webgui/
SetHandler perl-script
PerlInitHandler WebGUI
PerlSetVar WebguiConfig webgui.conf
Alias /extras /usr/share/webgui/extras
# Uncomment this if you want to have access to /server-status, and
# then make sure "/server-status" appears in the passthruUrls list
# in /etc/webgui/webgui.conf
#
#<Location /server-status>
# SetHandler server-status
# Order deny,allow
# Deny from all
# Allow from all
#</Location>
# Uncomment this if you want to have access to /perl-status, and
# then make sure "/perl-status" appears in the passthruUrls list
# in /etc/webgui/webgui.conf
#
#<Location /perl-status>
# SetHandler perl-script
# PerlHandler Apache2::Status
# Order deny,allow
# Deny from all
# Allow from all
#</Location>
# Uncomment this if you want to have access to /webalizer, and
# then add "/webalizer" to passthruUrls in webgui.conf
#
#Alias /webalizer /var/www/webalizer
#<Directory /var/www/webalizer>
# Order deny,allow
# Deny from all
# Allow from all
#</Directory>
Alias /uploads /var/lib/webgui/uploads
<Directory /var/lib/webgui/uploads>
Order deny,allow
Deny from all
Allow from all
</Directory>
Alias /exports /var/lib/webgui/exports
<Directory /var/lib/webgui/exports>
Order deny,allow
Deny from all
Allow from all
</Directory>
</VirtualHost>
|