]>
Commit | Line | Data |
---|---|---|
1fe39ef5 | 1 | # Apache2 server configuration file for IPFire |
90c973a6 MT |
2 | |
3 | # run under this user/group id | |
4 | Include /etc/httpd/conf/uid.conf | |
5 | ||
6 | # - how many server processes to start (server pool regulation) | |
7 | # - usage of KeepAlive | |
8 | Include /etc/httpd/conf/server-tuning.conf | |
9 | ||
1fe39ef5 | 10 | # ErrorLog: The location of the error log file |
90c973a6 MT |
11 | ErrorLog /var/log/httpd/error_log |
12 | ||
13 | # Load Modules here | |
14 | Include /etc/httpd/conf/loadmodule.conf | |
15 | ||
1fe39ef5 | 16 | # IP addresses and ports to listen on |
90c973a6 MT |
17 | Include /etc/httpd/conf/listen.conf |
18 | ||
19 | # predefined logging formats | |
20 | Include /etc/httpd/conf/mod_log_config.conf | |
21 | ||
22 | # global settings | |
23 | Include /etc/httpd/conf/global.conf | |
24 | ||
90c973a6 MT |
25 | # associate MIME types with filename extensions |
26 | TypesConfig /etc/mime.types | |
90c973a6 | 27 | |
1fe39ef5 | 28 | # global (server-wide) SSL configuration, that is not specific to any virtual host |
90c973a6 MT |
29 | Include /etc/httpd/conf/ssl-global.conf |
30 | ||
31 | <Directory /> | |
32 | Options None | |
33 | AllowOverride None | |
34 | </Directory> | |
35 | ||
36 | # use .htaccess files for overriding, | |
37 | AccessFileName .htaccess | |
38 | # and never show them | |
39 | <Files ~ "^\.ht"> | |
d41fe99f | 40 | Require all denied |
90c973a6 MT |
41 | </Files> |
42 | ||
43 | # List of resources to look for when the client requests a directory | |
44 | DirectoryIndex index.html index.htm index.shtml index.cgi | |
45 | ||
1fe39ef5 | 46 | # 'Main' server configuration |
90c973a6 MT |
47 | Include /etc/httpd/conf/default-server.conf |
48 | ||
1fe39ef5 | 49 | # Virtual server configuration |
ca9f21de | 50 | Include /etc/httpd/conf/vhosts.d/*.conf |
90c973a6 | 51 | |
1fe39ef5 | 52 | # EOF |