maybe chmod 0755 'apache2/conf-available'
maybe chmod 0644 'apache2/conf-available/apache2-doc.conf'
maybe chmod 0644 'apache2/conf-available/charset.conf'
+maybe chmod 0644 'apache2/conf-available/custom-log.conf'
maybe chmod 0644 'apache2/conf-available/javascript-common.conf'
maybe chmod 0644 'apache2/conf-available/localized-error-pages.conf'
maybe chmod 0644 'apache2/conf-available/other-vhosts-access-log.conf'
--- /dev/null
+LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" \"%T\" \"%v\" \"%f\"" full
+LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\" \"%T\" \"%v\" \"%f\"" full_combined
+
+<IfModule logio_module>
+ # You need to enable mod_logio.c to use %I and %O
+ LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" \"%T\" \"%v\" \"%f\" %I %O" full_io
+ LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
+ LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" vhostio
+</IfModule>
+
+# vim: filetype=apache ts=4 sw=4 sts=4 sr noet
# Define an access log for VirtualHosts that don't define their own logfile
-CustomLog ${APACHE_LOG_DIR}/other_vhosts_access.log vhost_combined
+CustomLog ${APACHE_LOG_DIR}/other_vhosts_access.log full_combined
+
+# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
--- /dev/null
+../conf-available/custom-log.conf
\ No newline at end of file
#
<Location /server-info>
SetHandler server-info
- Require local
- #Require ip 192.0.2.0/24
+ AuthName "Server Status Access"
+ AuthType Basic
+ AuthBasicProvider file
+ AuthUserFile /etc/apache2/info_users_passwd
+ <RequireAny>
+ Require local
+ Require valid-user
+ </RequireAny>
+
</Location>
+
+# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
<Location /server-status>
SetHandler server-status
- Require local
- #Require ip 192.0.2.0/24
+ AuthName "Server Status Access"
+ AuthType Basic
+ AuthBasicProvider file
+ AuthUserFile /etc/apache2/info_users_passwd
+ <RequireAny>
+ Require local
+ Require valid-user
+ </RequireAny>
+
</Location>
# Keep track of extended status information for each request
# Show Proxy LoadBalancer status in mod_status
ProxyStatus On
</IfModule>
+
+# vim: syntax=apache ts=4 sw=4 sts=4 sr noet