Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Directory "/var/www">
- AllowOverride None
- # Allow open access:
- Require all granted
- </Directory>
- <Directory "/home">
- AllowOverride None
- # Allow open access:
- Require all granted
- </Directory>
- <VirtualHost *:80>
- ServerName www.mywebsite.com
- ServerAlias mywebsite.com
- DocumentRoot /home/mywebsite
- </VirtualHost>
- <VirtualHost *:443>
- ServerName www.mywebsite.com
- ServerAlias mywebsite.com
- DocumentRoot /home/mywebsite
- SSLEngine on
- SSLCertificateFile /etc/httpd/ssl/mywebsite.pem
- SSLCertificateKeyFile /etc/httpd/ssl/mywebsite.key
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement