ejherran

Virtual Host Config

Nov 14th, 2013
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <VirtualHost *:80>
  2.     ServerAdmin [email protected]
  3.     ServerName dominio.com
  4.     ServerAlias *.dominio.com
  5.  
  6.     DocumentRoot /srv/example/dominio.com/
  7.  
  8.     ServerSignature On
  9.    
  10.     ErrorLog /var/log/apache2/dominio.com-error.log
  11.     LogLevel warn
  12.     CustomLog /var/log/apache2/dominio.com-access.log combined
  13.  
  14.     <Directory "/srv/example/dominio.com/">
  15.         Options Indexes FollowSymLinks MultiViews ExecCGI
  16.         AllowOverride All
  17.         Order allow,deny
  18.         Allow from all
  19.         Require all granted
  20.     </Directory>
  21.  
  22. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment