Advertisement
slovacus

virtualhost

Aug 29th, 2012
313
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.15 KB | None | 0 0
  1. <VirtualHost *:80>
  2.     ServerAdmin slovacus@gmail.com
  3.     ServerName profedeport.local
  4.  
  5.     DocumentRoot /home/slovacus/Projects/PHP/Zend/profedeport/public
  6.  
  7.     <Directory /home/slovacus/Projects/PHP/Zend/profedeport/public>
  8.             SetEnv APPLICATION_ENV local
  9.         Options Indexes FollowSymLinks MultiViews
  10.         AllowOverride all
  11.         Order allow,deny
  12.         allow from all
  13.     </Directory>
  14.         <Directory />
  15.         Options FollowSymLinks
  16.         AllowOverride None
  17.     </Directory>
  18.    
  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 ${APACHE_LOG_DIR}/profedeport-error.log
  29.  
  30.     # Possible values include: debug, info, notice, warn, error, crit,
  31.     # alert, emerg.
  32.     LogLevel warn
  33.  
  34.     CustomLog ${APACHE_LOG_DIR}/profedeport-access.log combined
  35.  
  36.     Alias /doc/ "/usr/share/doc/"
  37.     <Directory "/usr/share/doc/">
  38.         Options Indexes MultiViews FollowSymLinks
  39.         AllowOverride None
  40.         Order deny,allow
  41.         Deny from all
  42.         Allow from 127.0.0.0/255.0.0.0 ::1/128
  43.     </Directory>
  44.  
  45. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement