|
|
@@ -8,6 +8,10 @@ Include "@l_prefix@/etc/apache/apache.base"
|
|
|
Listen 127.0.0.1:80
|
|
|
NameVirtualHost 127.0.0.1:80
|
|
|
|
|
|
+<IfModule mod_ssl.c>
|
|
|
+Listen 127.0.0.1:443
|
|
|
+</IfModule>
|
|
|
+
|
|
|
<VirtualHost 127.0.0.1:80>
|
|
|
ServerName @l_hostname@.@l_domainname@
|
|
|
ServerAlias localhost.@l_domainname@
|
|
|
@@ -31,3 +35,34 @@ NameVirtualHost 127.0.0.1:80
|
|
|
</Directory>
|
|
|
</VirtualHost>
|
|
|
|
|
|
+<IfModule mod_ssl.c>
|
|
|
+<VirtualHost 127.0.0.1:443>
|
|
|
+ ServerName @l_hostname@.@l_domainname@
|
|
|
+ ServerAlias localhost.@l_domainname@
|
|
|
+ ServerAdmin root@localhost.@l_domainname@
|
|
|
+ ServerSignature on
|
|
|
+
|
|
|
+ DocumentRoot @l_prefix@/share/apache/htdocs
|
|
|
+ <Directory @l_prefix@/share/apache/htdocs>
|
|
|
+ Options Indexes FollowSymLinks MultiViews
|
|
|
+ AllowOverride none
|
|
|
+ Order allow,deny
|
|
|
+ Allow from all
|
|
|
+ </Directory>
|
|
|
+
|
|
|
+ ScriptAlias /cgi-bin @l_prefix@/cgi
|
|
|
+ <Directory @l_prefix@/cgi>
|
|
|
+ Options Indexes FollowSymLinks MultiViews ExecCGI
|
|
|
+ AllowOverride None
|
|
|
+ Order allow,deny
|
|
|
+ Allow from all
|
|
|
+ </Directory>
|
|
|
+
|
|
|
+ SSLEngine on
|
|
|
+ SSLCertificateFile @l_prefix@/etc/apache/ssl.crt/snakeoil-rsa.crt
|
|
|
+ SSLCertificateKeyFile @l_prefix@/etc/apache/ssl.key/snakeoil-rsa.key
|
|
|
+ SSLCertificateFile @l_prefix@/etc/apache/ssl.crt/snakeoil-dsa.crt
|
|
|
+ SSLCertificateKeyFile @l_prefix@/etc/apache/ssl.key/snakeoil-dsa.key
|
|
|
+</VirtualHost>
|
|
|
+</IfModule>
|
|
|
+
|