1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/apache/apache.conf Mon Sep 17 19:01:16 2012 +0200 1.3 @@ -0,0 +1,72 @@ 1.4 +## 1.5 +## apache.conf -- Apache Custom Configuration 1.6 +## 1.7 + 1.8 +# include Apache default/base configuration 1.9 +Include "@l_prefix@/etc/apache/apache.base" 1.10 + 1.11 +# include Apache add-on configurations 1.12 +# (mainly provided by other packages) 1.13 +Include "@l_prefix@/etc/apache/apache.d/*.conf" 1.14 + 1.15 +Listen 127.0.0.1:80 1.16 +NameVirtualHost 127.0.0.1:80 1.17 + 1.18 +<IfModule ssl_module> 1.19 +Listen 127.0.0.1:443 1.20 +</IfModule> 1.21 + 1.22 +<VirtualHost 127.0.0.1:80> 1.23 + ServerName @l_hostname@.@l_domainname@ 1.24 + ServerAlias localhost.@l_domainname@ 1.25 + ServerAdmin root@localhost.@l_domainname@ 1.26 + ServerSignature on 1.27 + 1.28 + DocumentRoot @l_prefix@/share/apache/htdocs 1.29 + <Directory @l_prefix@/share/apache/htdocs> 1.30 + Options Indexes FollowSymLinks MultiViews 1.31 + AllowOverride none 1.32 + Order allow,deny 1.33 + Allow from all 1.34 + </Directory> 1.35 + 1.36 + ScriptAlias /cgi-bin @l_prefix@/cgi 1.37 + <Directory @l_prefix@/cgi> 1.38 + Options Indexes FollowSymLinks MultiViews ExecCGI 1.39 + AllowOverride None 1.40 + Order allow,deny 1.41 + Allow from all 1.42 + </Directory> 1.43 +</VirtualHost> 1.44 + 1.45 +<IfModule ssl_module> 1.46 +<VirtualHost 127.0.0.1:443> 1.47 + ServerName @l_hostname@.@l_domainname@ 1.48 + ServerAlias localhost.@l_domainname@ 1.49 + ServerAdmin root@localhost.@l_domainname@ 1.50 + ServerSignature on 1.51 + 1.52 + DocumentRoot @l_prefix@/share/apache/htdocs 1.53 + <Directory @l_prefix@/share/apache/htdocs> 1.54 + Options Indexes FollowSymLinks MultiViews 1.55 + AllowOverride none 1.56 + Order allow,deny 1.57 + Allow from all 1.58 + </Directory> 1.59 + 1.60 + ScriptAlias /cgi-bin @l_prefix@/cgi 1.61 + <Directory @l_prefix@/cgi> 1.62 + Options Indexes FollowSymLinks MultiViews ExecCGI 1.63 + AllowOverride None 1.64 + Order allow,deny 1.65 + Allow from all 1.66 + </Directory> 1.67 + 1.68 + SSLEngine on 1.69 + SSLCADNRequestFile @l_prefix@/etc/x509/example-ca.crt.pem 1.70 + SSLCACertificateFile @l_prefix@/etc/x509/example-ca.crt.pem 1.71 + SSLCertificateFile @l_prefix@/etc/x509/example-server.crt.pem 1.72 + SSLCertificateKeyFile @l_prefix@/etc/x509/example-server.key.pem 1.73 +</VirtualHost> 1.74 +</IfModule> 1.75 +