ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/apache2-frontend/apache2.conf
(Generate patch)

Comparing apache2-frontend/apache2.conf (file contents):
Revision 1.10 by root, Fri Jun 19 13:16:06 2015 UTC vs.
Revision 1.11 by root, Fri Jun 19 15:18:47 2015 UTC

42LoadModule mime_module /usr/lib/apache2/modules/mod_mime.so 42LoadModule mime_module /usr/lib/apache2/modules/mod_mime.so
43TypesConfig /etc/mime.types 43TypesConfig /etc/mime.types
44LoadModule mime_magic_module /usr/lib/apache2/modules/mod_mime_magic.so 44LoadModule mime_magic_module /usr/lib/apache2/modules/mod_mime_magic.so
45MIMEMagicFile /etc/apache2/magic 45MIMEMagicFile /etc/apache2/magic
46 46
47# must not be loaded 47# must NOT be loaded
48#LoadModule dir_module /usr/lib/apache2/modules/mod_dir.so 48#LoadModule dir_module /usr/lib/apache2/modules/mod_dir.so
49#DirectoryIndex index.html 49#DirectoryIndex index.html
50 50
51LoadModule autoindex_module /usr/lib/apache2/modules/mod_autoindex.so 51LoadModule autoindex_module /usr/lib/apache2/modules/mod_autoindex.so
52IndexOptions Charset=UTF-8 FancyIndexing FoldersFirst HTMLTable SuppressColumnSorting 52IndexOptions Charset=UTF-8 FancyIndexing FoldersFirst HTMLTable SuppressColumnSorting
69LoadModule deflate_module /usr/lib/apache2/modules/mod_deflate.so 69LoadModule deflate_module /usr/lib/apache2/modules/mod_deflate.so
70LoadModule proxy_html_module /usr/lib/apache2/modules/mod_proxy_html.so 70LoadModule proxy_html_module /usr/lib/apache2/modules/mod_proxy_html.so
71 71
72LoadModule perl_module /usr/lib/apache2/modules/mod_perl.so 72LoadModule perl_module /usr/lib/apache2/modules/mod_perl.so
73 73
74# Sets the default security model of the Apache2 HTTPD server. It does
75# not allow access to the root filesystem outside of /usr/share and /var/www.
76# The former is used by web applications packaged in Debian,
77# the latter may be used for local directories served by the web server. If
78# your system is serving content from a sub-directory in /srv you must allow
79# access here, or in any related virtual host.
80<Directory /> 74#<Directory />
81 Options FollowSymLinks 75# Options FollowSymLinks
82 AllowOverride None 76# AllowOverride None
83 Require all denied 77## Require all denied
84</Directory> 78#</Directory>
85 79
86<Directory /var/www/>
87 Options Indexes FollowSymLinks
88 Require all granted
89</Directory>
90
91AccessFileName .htaccess 80#AccessFileName .htaccess
92
93#
94# The following lines prevent .htaccess and .htpasswd files from being
95# viewed by Web clients.
96#
97<FilesMatch "^\.ht">
98 Require all denied
99</FilesMatch>
100 81
101LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\" %{Host}i" schmorp 82LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\" %{Host}i" schmorp
102LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined 83LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
103LogFormat "%h %l %u %t \"%r\" %>s %O" common 84LogFormat "%h %l %u %t \"%r\" %>s %O" common
104LogFormat "%{Referer}i -> %U" referer 85LogFormat "%{Referer}i -> %U" referer
179# mod_autoindex response 160# mod_autoindex response
180# ap_process_request_internal() function in server/request.c 161# ap_process_request_internal() function in server/request.c
181 162
182<Location /> 163<Location />
183 Options Indexes FollowSymLinks 164 Options Indexes FollowSymLinks
184 Require all granted 165# Require all granted
185</Location> 166</Location>
186 167
187Include local.conf 168Include local.conf
188 169
189# vim: syntax=apache ts=8 sw=4 170# vim: syntax=apache ts=8 sw=4

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines