BogorCyberSec

httpd-vhosts.conf

Aug 26th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.09 KB | None | 0 0
  1. <VirtualHost *:80>
  2.     ServerAdmin webmaster@localhost
  3.     DocumentRoot C:/xampp/htdocs
  4.     ServerName localhost
  5.     ServerAlias www.localhost
  6.  
  7.     <Directory "C:/xampp/htdocs">
  8.         Options Indexes FollowSymLinks Includes ExecCGI
  9.         AllowOverride All
  10.         Order allow,deny
  11.         Allow from all
  12.     </Directory>
  13. </VirtualHost>
  14.  
  15. <VirtualHost *:80>
  16.     ServerAdmin webmaster@localroot
  17.     DocumentRoot C:/xampp/localroot
  18.     ServerName localroot
  19.     ServerAlias www.localroot
  20.  
  21.     <Directory "C:/xampp/localroot">
  22.         Options Indexes FollowSymLinks MultiViews
  23.         AllowOverride all
  24.         Order Deny,Allow
  25.         Allow from all
  26.         Require all granted
  27.     </Directory>
  28. </VirtualHost>
  29.  
  30. <VirtualHost *:80>
  31.     ServerAdmin webmaster@localdir
  32.     DocumentRoot C:/xampp/localdir
  33.     ServerName localdir
  34.     ServerAlias www.localdir
  35.  
  36.     <Directory "C:/xampp/localdir">
  37.         Options Indexes FollowSymLinks MultiViews
  38.         AllowOverride all
  39.         Order Deny,Allow
  40.         Allow from all
  41.         Require all granted
  42.     </Directory>
  43. </VirtualHost>
Add Comment
Please, Sign In to add comment