nazeemsoeltan

Virtual host svisa.dev

May 30th, 2014
449
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.89 KB | None | 0 0
  1. # ************************************
  2.  # Vhost template in module puppetlabs-apache
  3.  # Managed by Puppet
  4.  # ************************************
  5.  
  6.  <VirtualHost *:80>
  7.    ServerName svisa.dev
  8.  
  9.    ## Vhost docroot
  10.    DocumentRoot "/var/www/svisa"
  11.  
  12.  
  13.  
  14.    ## Directories, there should at least be a declaration for /var/www/svisa
  15.  
  16.  
  17.    <Directory "/var/www/svisa">
  18.      Options Indexes FollowSymLinks MultiViews
  19.      AllowOverride All
  20.      Order allow,deny
  21.      Allow from all
  22.    </Directory>
  23.  
  24.    ## Load additional static includes
  25.  
  26.  
  27.    ## Logging
  28.    ErrorLog "/var/log/apache2/Qxen8P1wgc5f_error.log"
  29.    ServerSignature Off
  30.    CustomLog "/var/log/apache2/Qxen8P1wgc5f_access.log" combined
  31.  
  32.  
  33.  
  34.  
  35.    ## Server aliases
  36.    ServerAlias www.svisa.dev
  37.  
  38.    ## SetEnv/SetEnvIf for environment variables
  39.    SetEnv APP_ENV dev
  40.  
  41.    ## Custom fragment
  42.  
  43.  
  44.  </VirtualHost>
Add Comment
Please, Sign In to add comment