Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
491
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <VirtualHost *:80>
  2.     ServerAdmin honza@javorek.net
  3.  
  4.     DocumentRoot /var/www
  5.     <Directory />
  6.         Options FollowSymLinks
  7.         AllowOverride None
  8.     </Directory>
  9.     <Directory /var/www/>
  10.         Options Indexes FollowSymLinks MultiViews
  11.         AllowOverride All
  12.         Order allow,deny
  13.         Allow from all
  14.     </Directory>
  15.  
  16.     ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  17.     <Directory "/usr/lib/cgi-bin">
  18.         Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  19.         AllowOverride All
  20.         Order allow,deny
  21.         Allow from all
  22.     </Directory>
  23.  
  24.     ErrorLog ${APACHE_LOG_DIR}/error.log
  25.  
  26.     # Possible values include: debug, info, notice, warn, error, crit,
  27.     # alert, emerg.
  28.     LogLevel warn
  29.  
  30.     CustomLog ${APACHE_LOG_DIR}/access.log combined
  31.  
  32.     Alias /doc/ "/usr/share/doc/"
  33.     <Directory "/usr/share/doc/">
  34.         Options Indexes MultiViews FollowSymLinks
  35.         AllowOverride None
  36.         Order deny,allow
  37.         Deny from all
  38.         Allow from 127.0.0.0/255.0.0.0 ::1/128
  39.     </Directory>
  40.  
  41. </VirtualHost>
  42.  
  43. <VirtualHost 127.0.0.2>
  44.     ServerName ev.localhost
  45.     DocumentRoot /var/www/wrk/eventival/app/web
  46.  
  47.     <Directory /var/www/wrk/eventival/app/web>
  48.         Options Indexes FollowSymLinks MultiViews
  49.         AllowOverride All
  50.         Order allow,deny
  51.         Allow from all
  52.     </Directory>
  53.  
  54.     Alias /sf /var/www/wrk/eventival/app/lib/vendor/symfony/data/web/sf
  55.     <Directory /var/www/wrk/eventival/app/lib/vendor/symfony/data/web/sf>
  56.         Options Indexes FollowSymLinks MultiViews
  57.         AllowOverride All
  58.         Order allow,deny
  59.         Allow from all
  60.     </Directory>
  61.  
  62. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement