apache/apache.conf

Mon, 28 Jan 2013 17:37:18 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Mon, 28 Jan 2013 17:37:18 +0100
changeset 758
a2c6460cfb16
permissions
-rw-r--r--

Correct socket error reporting improvement with IPv6 portable code,
after helpful recommendation by Saúl Ibarra Corretgé on OSips devlist.

michael@684 1 ##
michael@684 2 ## apache.conf -- Apache Custom Configuration
michael@684 3 ##
michael@684 4
michael@684 5 # include Apache default/base configuration
michael@684 6 Include "@l_prefix@/etc/apache/apache.base"
michael@684 7
michael@684 8 # include Apache add-on configurations
michael@684 9 # (mainly provided by other packages)
michael@684 10 Include "@l_prefix@/etc/apache/apache.d/*.conf"
michael@684 11
michael@684 12 Listen 127.0.0.1:80
michael@684 13 NameVirtualHost 127.0.0.1:80
michael@684 14
michael@684 15 <IfModule ssl_module>
michael@684 16 Listen 127.0.0.1:443
michael@684 17 </IfModule>
michael@684 18
michael@684 19 <VirtualHost 127.0.0.1:80>
michael@684 20 ServerName @l_hostname@.@l_domainname@
michael@684 21 ServerAlias localhost.@l_domainname@
michael@684 22 ServerAdmin root@localhost.@l_domainname@
michael@684 23 ServerSignature on
michael@684 24
michael@684 25 DocumentRoot @l_prefix@/share/apache/htdocs
michael@684 26 <Directory @l_prefix@/share/apache/htdocs>
michael@684 27 Options Indexes FollowSymLinks MultiViews
michael@684 28 AllowOverride none
michael@684 29 Order allow,deny
michael@684 30 Allow from all
michael@684 31 </Directory>
michael@684 32
michael@684 33 ScriptAlias /cgi-bin @l_prefix@/cgi
michael@684 34 <Directory @l_prefix@/cgi>
michael@684 35 Options Indexes FollowSymLinks MultiViews ExecCGI
michael@684 36 AllowOverride None
michael@684 37 Order allow,deny
michael@684 38 Allow from all
michael@684 39 </Directory>
michael@684 40 </VirtualHost>
michael@684 41
michael@684 42 <IfModule ssl_module>
michael@684 43 <VirtualHost 127.0.0.1:443>
michael@684 44 ServerName @l_hostname@.@l_domainname@
michael@684 45 ServerAlias localhost.@l_domainname@
michael@684 46 ServerAdmin root@localhost.@l_domainname@
michael@684 47 ServerSignature on
michael@684 48
michael@684 49 DocumentRoot @l_prefix@/share/apache/htdocs
michael@684 50 <Directory @l_prefix@/share/apache/htdocs>
michael@684 51 Options Indexes FollowSymLinks MultiViews
michael@684 52 AllowOverride none
michael@684 53 Order allow,deny
michael@684 54 Allow from all
michael@684 55 </Directory>
michael@684 56
michael@684 57 ScriptAlias /cgi-bin @l_prefix@/cgi
michael@684 58 <Directory @l_prefix@/cgi>
michael@684 59 Options Indexes FollowSymLinks MultiViews ExecCGI
michael@684 60 AllowOverride None
michael@684 61 Order allow,deny
michael@684 62 Allow from all
michael@684 63 </Directory>
michael@684 64
michael@684 65 SSLEngine on
michael@684 66 SSLCADNRequestFile @l_prefix@/etc/x509/example-ca.crt.pem
michael@684 67 SSLCACertificateFile @l_prefix@/etc/x509/example-ca.crt.pem
michael@684 68 SSLCertificateFile @l_prefix@/etc/x509/example-server.crt.pem
michael@684 69 SSLCertificateKeyFile @l_prefix@/etc/x509/example-server.key.pem
michael@684 70 </VirtualHost>
michael@684 71 </IfModule>
michael@684 72

mercurial