Advertisement
Guest User

Untitled

a guest
Feb 24th, 2012
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.26 KB | None | 0 0
  1. <VirtualHost *:80>
  2.         ServerAdmin contact@deimos.ma
  3.  
  4.         DocumentRoot /home/projets/hope/www
  5.         ServerName hope.deimos.ma
  6.         <Directory />
  7.                 Options FollowSymLinks
  8.                 AllowOverride None
  9.         </Directory>
  10.         <Directory /home/projets/hope/www/>
  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.                
  21.  Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  22.                 Order allow,deny
  23.                 Allow from all
  24.         </Directory>
  25.  
  26.         ErrorLog /var/log/apache2/error.log
  27.  
  28.         # Possible values include: debug, info, notice, warn, error, crit,
  29.         # alert, emerg.
  30.         LogLevel warn
  31.  
  32.         CustomLog /var/log/apache2/access.log combined
  33.  
  34.     Alias /doc/ "/usr/share/doc/"
  35.     <Directory "/usr/share/doc/">
  36.         Options Indexes MultiViews FollowSymLinks
  37.         AllowOverride None
  38.         Order deny,allow
  39.         Deny from all
  40.         Allow from 127.0.0.0/255.0.0.0 ::1/128
  41.     </Directory>
  42.  
  43. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement