Mon, 28 Jan 2013 17:37:18 +0100
Correct socket error reporting improvement with IPv6 portable code,
after helpful recommendation by Saúl Ibarra Corretgé on OSips devlist.
1 ##
2 ## apache.conf -- Apache Custom Configuration
3 ##
5 # include Apache default/base configuration
6 Include "@l_prefix@/etc/apache/apache.base"
8 # include Apache add-on configurations
9 # (mainly provided by other packages)
10 Include "@l_prefix@/etc/apache/apache.d/*.conf"
12 Listen 127.0.0.1:80
13 NameVirtualHost 127.0.0.1:80
15 <IfModule ssl_module>
16 Listen 127.0.0.1:443
17 </IfModule>
19 <VirtualHost 127.0.0.1:80>
20 ServerName @l_hostname@.@l_domainname@
21 ServerAlias localhost.@l_domainname@
22 ServerAdmin root@localhost.@l_domainname@
23 ServerSignature on
25 DocumentRoot @l_prefix@/share/apache/htdocs
26 <Directory @l_prefix@/share/apache/htdocs>
27 Options Indexes FollowSymLinks MultiViews
28 AllowOverride none
29 Order allow,deny
30 Allow from all
31 </Directory>
33 ScriptAlias /cgi-bin @l_prefix@/cgi
34 <Directory @l_prefix@/cgi>
35 Options Indexes FollowSymLinks MultiViews ExecCGI
36 AllowOverride None
37 Order allow,deny
38 Allow from all
39 </Directory>
40 </VirtualHost>
42 <IfModule ssl_module>
43 <VirtualHost 127.0.0.1:443>
44 ServerName @l_hostname@.@l_domainname@
45 ServerAlias localhost.@l_domainname@
46 ServerAdmin root@localhost.@l_domainname@
47 ServerSignature on
49 DocumentRoot @l_prefix@/share/apache/htdocs
50 <Directory @l_prefix@/share/apache/htdocs>
51 Options Indexes FollowSymLinks MultiViews
52 AllowOverride none
53 Order allow,deny
54 Allow from all
55 </Directory>
57 ScriptAlias /cgi-bin @l_prefix@/cgi
58 <Directory @l_prefix@/cgi>
59 Options Indexes FollowSymLinks MultiViews ExecCGI
60 AllowOverride None
61 Order allow,deny
62 Allow from all
63 </Directory>
65 SSLEngine on
66 SSLCADNRequestFile @l_prefix@/etc/x509/example-ca.crt.pem
67 SSLCACertificateFile @l_prefix@/etc/x509/example-ca.crt.pem
68 SSLCertificateFile @l_prefix@/etc/x509/example-server.crt.pem
69 SSLCertificateKeyFile @l_prefix@/etc/x509/example-server.key.pem
70 </VirtualHost>
71 </IfModule>