Pastebin

Paste #1097: conf 2

< previous paste - next paste>

Pasted by Morten

Download View as text

  1 NameVirtualHost *:443
  2 <VirtualHost *:443>
  3         ServerAdmin webmaster@localhost
  4
  5         DocumentRoot /var/www/
  6         <Directory />
  7                 Options FollowSymLinks
  8                 AllowOverride None
  9         </Directory>
 10         <Directory /var/www/>
 11                 Options Indexes FollowSymLinks MultiViews
 12                 AllowOverride None
 13                 Order allow,deny
 14                 allow from all
 15                 # This directive allows us to have apache2's default start page
 16                 # in /apache2-default/, but still have / go to the right place
 17                 #RedirectMatch ^/$ /apache2-default/
 18         </Directory>
 19
 20         ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
 21         <Directory "/usr/lib/cgi-bin">
 22                 AllowOverride None
 23                 Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
 24                 Order allow,deny
 25                 Allow from all
 26         </Directory>
 27
 28         ErrorLog /var/log/apache2/error.log
 29
 30         # Possible values include: debug, info, notice, warn, error, crit,
 31         # alert, emerg.
 32         LogLevel warn
 33
 34         CustomLog /var/log/apache2/access.log combined
 35         ServerSignature On
 36
 37     Alias /doc/ "/usr/share/doc/"
 38     <Directory "/usr/share/doc/">
 39         Options Indexes MultiViews FollowSymLinks
 40         AllowOverride None
 41         Order deny,allow
 42         Deny from all
 43         Allow from 127.0.0.0/255.0.0.0 ::1/128
 44     </Directory>
 45
 46 SSLEngine on
 47 SSLCertificateFile /etc/apache2/ssl/apache.pem
 48 SSLProtocol all
 49 SSLCipherSuite HIGH:MEDIUM
 50
 51 </VirtualHost>

New Paste


Do not write anything in this field if you're a human.

Go to most recent paste.