gundambison

vhost

Mar 28th, 2018
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #### demo.local VirtualHost ####
  2.            
  3.  
  4. <VirtualHost 127.0.0.1:80>
  5. <Directory "d:/php2/demo">
  6. Options FollowSymLinks Indexes
  7. AllowOverride All
  8. Order deny,allow
  9. allow from All
  10. </Directory>
  11. ServerName demo.local
  12. ServerAlias demo.local
  13. ScriptAlias /cgi-bin/ "d:/php2/demo/cgi-bin/"
  14. DocumentRoot "d:/php2/demo"
  15. ErrorLog "C:/Program Files (x86)/Ampps/apache/logs/demo.local.err"
  16. CustomLog "C:/Program Files (x86)/Ampps/apache/logs/demo.local.log" combined
  17. </VirtualHost>
  18.  
  19. ####################################
Advertisement
Add Comment
Please, Sign In to add comment