daily pastebin goal
41%
SHARE
TWEET

Untitled

a guest Jun 11th, 2010 95 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <VirtualHost *:80>
  2.         ServerAdmin webmaster@localhost
  3.  
  4.         DocumentRoot /var/www/test
  5.         ServerName test.localhost
  6.         <Directory />
  7.                 Options FollowSymLinks
  8.                 AllowOverride None
  9.         </Directory>
  10.         <Directory /var/www/test>
  11.                 Options Indexes FollowSymLinks MultiViews
  12.                 AllowOverride None
  13.                 Order allow,deny
  14.                 allow from all
  15.         </Directory>
  16.  
  17.         ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  18.         <Directory "/usr/lib/cgi-bin">
  19.                 AllowOverride None
  20.                 Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  21.                 Order allow,deny
  22.                 Allow from all
  23.         </Directory>
  24.  
  25.         ErrorLog /var/log/apache2/error.log
  26.  
  27.         # Possible values include: debug, info, notice, warn, error, crit,
  28.         # alert, emerg.
  29.         LogLevel warn
  30.  
  31.         CustomLog /var/log/apache2/access.log combined
  32.  
  33.     Alias /doc/ "/usr/share/doc/"
  34.     <Directory "/usr/share/doc/">
  35.         Options Indexes MultiViews FollowSymLinks
  36.         AllowOverride None
  37.         Order deny,allow
  38.         Deny from all
  39.         Allow from 127.0.0.0/255.0.0.0 ::1/128
  40.     </Directory>
  41.  
  42. </VirtualHost>
RAW Paste Data
Top