Advertisement
Guest User

Untitled

a guest
Feb 15th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. NameVirtualHost *:443
  2. <VirtualHost *:443>
  3. ServerAdmin yourmail@mail.com
  4. SSLEngine on
  5. SSLCertificateFile /etc/apache2/ssl/webcert.pem
  6. SSLCertificateKeyFile /etc/apache2/ssl/webkey-clair.pem
  7. DocumentRoot /var/www/
  8. <Directory />
  9. Options FollowSymLinks
  10. AllowOverride None
  11. </Directory>
  12. <Directory /var/www/>
  13. Options Indexes FollowSymLinks MultiViews
  14. AllowOverride None
  15. Order allow,deny
  16. allow from all
  17. # This directive allows us to have apache2's default start page
  18. # in /apache2-default/, but still have / go to the right place
  19. RedirectMatch ^/$ /apache2-default/
  20. </Directory>
  21. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement