Advertisement
Queses

Apache 2 VHost Example

Nov 24th, 2018
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.34 KB | None | 0 0
  1. <VirtualHost *:${AP_PORT}>
  2.  DocumentRoot /home/ratt/Files/Web/lx-site
  3.  ServerName lx.localhost
  4.  # ServerAlias www.lx.localhost
  5.  
  6.  ErrorLog logs/lx.error.log
  7.  CustomLog logs/lx.access.log combined
  8.  
  9.  <Directory "/home/ratt/Files/Web/lx-site">
  10.    # Options Includes
  11.    AllowOverride All  
  12.    Require all granted
  13.  </Directory>
  14. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement