Advertisement
Guest User

vhost

a guest
Aug 10th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <VirtualHost *:80>
  2.     ServerName xyz.pl
  3.     DocumentRoot /home/xyz/xyz/
  4.  
  5.     <Directory /home/xyz/xyz/>
  6.         Options -Indexes +FollowSymLinks +MultiViews
  7.         DirectoryIndex index.php
  8.         AllowOverride All
  9.         Require all granted
  10.     </Directory>
  11.  
  12.     ErrorLog ${APACHE_LOG_DIR}/myproject-error.log
  13.  
  14.     # Possible values include: debug, info, notice, warn, error, crit,
  15.     # alert, emerg.
  16.     LogLevel info
  17.  
  18.     CustomLog ${APACHE_LOG_DIR}/access-xyz.log combined
  19.  
  20. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement