Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate

Advertising

Untitled
Thursday, March 27th, 2008 at 5:06:14pm UTC 

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

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right worth-right