Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <IfModule mod_ssl.c>
- NameVirtualHost *:443
- <VirtualHost *:443>
- ServerName test.feldland.dyndns.org
- DocumentRoot /var/www/testfeldland.dyndns.org
- RewriteEngine On
- <Directory />
- AllowOverride None
- Order Allow,Deny
- Deny from All
- </Directory>
- <Directory /var/www/testfeldland.dyndns.org/>
- Options None
- AllowOverride None
- Order Allow,Deny
- Allow from All
- php_value upload_max_filesize 200M
- php_value post_max_size 200M
- </Directory>
- ErrorLog /var/log/apache2/error.log
- LogLevel warn
- CustomLog /var/log/apache2/ssl_access.log combined
- # SSL Engine Switch:
- SSLEngine on
- SSLCertificateFile /etc/apache2/ssl/feldland.dyndns.org.pem
- # Client Authentication (Type):
- #SSLVerifyClient require
- #SSLVerifyDepth 10
- # SSL Engine Options:
- <FilesMatch "\.(cgi|shtml|phtml|php)$">
- SSLOptions +StdEnvVars
- </FilesMatch>
- <Directory /usr/lib/cgi-bin>
- SSLOptions +StdEnvVars
- </Directory>
- # SSL Protocol Adjustments:
- BrowserMatch ".*MSIE.*" \
- nokeepalive ssl-unclean-shutdown \
- downgrade-1.0 force-response-1.0
- </VirtualHost>
- <VirtualHost *:443>
- ServerName www.feldland.dyndns.org
- DocumentRoot /var/www/feldland.dyndns.org
- RewriteEngine On
- <Directory />
- AllowOverride None
- Order Allow,Deny
- Deny from All
- </Directory>
- <Directory /var/www/feldland.dyndns.org/>
- Options None
- AllowOverride None
- Order Allow,Deny
- Allow from All
- php_value upload_max_filesize 200M
- php_value post_max_size 200M
- </Directory>
- ErrorLog /var/log/apache2/error.log
- LogLevel warn
- CustomLog /var/log/apache2/ssl_access.log combined
- # SSL Engine Switch:
- SSLEngine on
- SSLCertificateFile /etc/apache2/ssl/feldland.dyndns.org.pem
- # Client Authentication (Type):
- #SSLVerifyClient require
- #SSLVerifyDepth 10
- # SSL Engine Options:
- <FilesMatch "\.(cgi|shtml|phtml|php)$">
- SSLOptions +StdEnvVars
- </FilesMatch>
- <Directory /usr/lib/cgi-bin>
- SSLOptions +StdEnvVars
- </Directory>
- # SSL Protocol Adjustments:
- BrowserMatch ".*MSIE.*" \
- nokeepalive ssl-unclean-shutdown \
- downgrade-1.0 force-response-1.0
- </VirtualHost>
- <VirtualHost feld-server:443>
- ServerAdmin webmaster@localhost
- Servername feld-server
- DocumentRoot /var/www/
- <Directory />
- Options FollowSymLinks
- AllowOverride None
- Order Deny,Allow
- Deny from all
- </Directory>
- <Directory /var/www/>
- Options Indexes FollowSymLinks MultiViews
- AllowOverride None
- Order Deny,Allow
- Deny from all
- Allow from 127.0.0.0/24
- Allow from 192.168.0.0/24
- </Directory>
- ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
- <Directory "/usr/lib/cgi-bin">
- AllowOverride None
- Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
- Order allow,deny
- Deny from all
- Allow from 127.0.0.0/24
- Allow from 192.168.0.0/24
- </Directory>
- ErrorLog /var/log/apache2/error.log
- LogLevel warn
- CustomLog /var/log/apache2/ssl_access.log combined
- Alias /doc/ "/usr/share/doc/"
- <Directory "/usr/share/doc/">
- Options Indexes MultiViews FollowSymLinks
- AllowOverride None
- Order deny,allow
- Deny from all
- Allow from 127.0.0.0/24
- Allow from 192.168.0.0/24
- </Directory>
- # SSL Engine Switch:
- # Enable/Disable SSL for this virtual host.
- SSLEngine on
- SSLCertificateFile /etc/apache2/ssl/feld-server.pem
- # SSL Engine Options:
- <FilesMatch "\.(cgi|shtml|phtml|php)$">
- SSLOptions +StdEnvVars
- </FilesMatch>
- <Directory /usr/lib/cgi-bin>
- SSLOptions +StdEnvVars
- </Directory>
- # SSL Protocol Adjustments:
- BrowserMatch ".*MSIE.*" \
- nokeepalive ssl-unclean-shutdown \
- downgrade-1.0 force-response-1.0
- </VirtualHost>
- </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement