diff options
author | Thomas Lange <code@nerdmind.de> | 2016-04-26 11:27:40 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2016-04-26 11:27:40 +0200 |
commit | 4db33ad4db8d5c61aaf07539810840aee5652c06 (patch) | |
tree | 343b7e907c87a1e28b1249af79a3156eecadc42f /Apache/virtualhosts | |
parent | 9738c24eff3ebb2689b2449cef3edd7ffc372a82 (diff) | |
download | snippets-4db33ad4db8d5c61aaf07539810840aee5652c06.tar.gz snippets-4db33ad4db8d5c61aaf07539810840aee5652c06.tar.xz snippets-4db33ad4db8d5c61aaf07539810840aee5652c06.zip |
Bugfix: No spaces were displayed.
Diffstat (limited to 'Apache/virtualhosts')
-rw-r--r-- | Apache/virtualhosts/virtualhost-simple.conf | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/Apache/virtualhosts/virtualhost-simple.conf b/Apache/virtualhosts/virtualhost-simple.conf index a3ec987..95326ea 100644 --- a/Apache/virtualhosts/virtualhost-simple.conf +++ b/Apache/virtualhosts/virtualhost-simple.conf @@ -2,7 +2,7 @@ # domainname.tld:80 #=============================================================================== <VirtualHost *:80> - DocumentRoot "/var/www/domainname.tld/" + DocumentRoot /var/www/domainname.tld/ ServerName domainname.tld <Directory /var/www/domainname.tld/> @@ -14,17 +14,15 @@ # domainname.tld:443 #=============================================================================== <VirtualHost *:443> - <IfModule mod_ssl.c> - DocumentRoot "/var/www/domainname.tld/" - ServerName domainname.tld + DocumentRoot /var/www/domainname.tld/ + ServerName domainname.tld - SSLEngine on - SSLCertificateFile /var/certificates/domainname.tld/certificate.pem - SSLCertificateKeyFile /var/certificates/domainname.tld/private.pem - SSLCertificateChainFile /var/certificates/domainname.tld/intermediate.pem + SSLEngine on + SSLCertificateFile /var/certificates/domainname.tld/certificate.pem + SSLCertificateKeyFile /var/certificates/domainname.tld/private.pem + SSLCertificateChainFile /var/certificates/domainname.tld/intermediate.pem - <Directory /var/www/domainname.tld/> - # Something - </Directory> - </IfModule> + <Directory /var/www/domainname.tld/> + # Something + </Directory> </VirtualHost>
\ No newline at end of file |