on master help sign in
Add apache httpd.conf example
eeea537Sebastian Andersson
tests/syntax-tests/highlighted/Apache/httpd.confnew file+42
@@ -0,0 +1,42 @@
1+# This is a comment
2+#
3+ServerRoot ""
4+Listen 80
5+LoadModule mpm_event_module /usr/lib/apache2/modules/mod_mpm_event.so
6+<IfModule unixd_module>
7+User daemon
8+Group daemon
9+</IfModule>
10+ServerAdmin you@example.com
11+<Directory />
12+ AllowOverride none
13+ Require all denied
14+</Directory>
15+DocumentRoot "/usr/share/apache2/default-site/htdocs"
16+<Directory "/usr/share/apache2/default-site/htdocs">
17+ Options Indexes FollowSymLinks
18+ AllowOverride None
19+ Require all granted
20+</Directory>
21+<Files ".ht*">
22+ Require all denied
23+</Files>
24+ErrorLog "/var/log/apache2/error_log"
25+LogLevel warn
26+<IfModule log_config_module>
27+ LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
28+ CustomLog "/var/log/apache2/access_log" common
29+</IfModule>
30+
31+<IfModule alias_module>
32+ ScriptAlias /cgi-bin/ "/usr/lib/cgi-bin/"
33+</IfModule>
34+
35+<IfModule mime_module>
36+ TypesConfig /etc/apache2/mime.types
37+ AddType application/x-compress .Z
38+ AddOutputFilter INCLUDES .shtml
39+</IfModule>
40+<IfModule proxy_html_module>
41+Include /etc/apache2/extra/proxy-html.conf
42+</IfModule>
tests/syntax-tests/source/Apache/httpd.confnew file+42
@@ -0,0 +1,42 @@
1+# This is a comment
2+#
3+ServerRoot ""
4+Listen 80
5+LoadModule mpm_event_module /usr/lib/apache2/modules/mod_mpm_event.so
6+<IfModule unixd_module>
7+User daemon
8+Group daemon
9+</IfModule>
10+ServerAdmin you@example.com
11+<Directory />
12+ AllowOverride none
13+ Require all denied
14+</Directory>
15+DocumentRoot "/usr/share/apache2/default-site/htdocs"
16+<Directory "/usr/share/apache2/default-site/htdocs">
17+ Options Indexes FollowSymLinks
18+ AllowOverride None
19+ Require all granted
20+</Directory>
21+<Files ".ht*">
22+ Require all denied
23+</Files>
24+ErrorLog "/var/log/apache2/error_log"
25+LogLevel warn
26+<IfModule log_config_module>
27+ LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
28+ CustomLog "/var/log/apache2/access_log" common
29+</IfModule>
30+
31+<IfModule alias_module>
32+ ScriptAlias /cgi-bin/ "/usr/lib/cgi-bin/"
33+</IfModule>
34+
35+<IfModule mime_module>
36+ TypesConfig /etc/apache2/mime.types
37+ AddType application/x-compress .Z
38+ AddOutputFilter INCLUDES .shtml
39+</IfModule>
40+<IfModule proxy_html_module>
41+Include /etc/apache2/extra/proxy-html.conf
42+</IfModule>