GWibisono

vhost apache

Mar 5th, 2016
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #### my.local VirtualHost (ADDON) ####
  2. <VirtualHost my.local:80>
  3. <Directory "c:/php_folder/php">
  4. Options FollowSymLinks Indexes
  5. AllowOverride All
  6. Order deny,allow
  7. allow from All
  8. </Directory>
  9. ServerName my.local
  10. ServerAlias my.local
  11. ScriptAlias /cgi-bin/ "c:/php_folder/php/cgi-bin/"
  12. DocumentRoot "c:/php_folder/php"
  13. ErrorLog "C:/Program Files (x86)/Ampps/apache/logs/my.local.err"
  14. CustomLog "C:/Program Files (x86)/Ampps/apache/logs/my.local.log" combined
  15. </VirtualHost>
  16.  
  17. #### other.local VirtualHost (ADDON) ####
  18.            
  19.  
  20. <VirtualHost 127.0.0.1:80>
  21. <Directory "c:/php_folder/php_other">
  22. Options FollowSymLinks Indexes
  23. AllowOverride All
  24. Order deny,allow
  25. allow from All
  26. </Directory>
  27. ServerName other.local
  28. ServerAlias other.local
  29. ScriptAlias /cgi-bin/ "c:/php_folder/php_other/cgi-bin/"
  30. DocumentRoot "c:/php_folder/php_other"
  31. ErrorLog "C:/Program Files (x86)/Ampps/apache/logs/other.local.err"
  32. CustomLog "C:/Program Files (x86)/Ampps/apache/logs/other.local.log" combined
  33. </VirtualHost>
  34.  
  35. #### pornhub.local VirtualHost (PARKED) ####
  36. <VirtualHost 127.0.0.1:80>
  37. <Directory "c:/php_folder/php_other">
  38. Options FollowSymLinks Indexes
  39. AllowOverride All
  40. Order deny,allow
  41. allow from All
  42. </Directory>
  43. ServerName pornhub.local
  44. ServerAlias pornhub.local
  45. ScriptAlias /cgi-bin/ "c:/php_folder/php_other/cgi-bin/"
  46. DocumentRoot "c:/php_folder/php_other"
  47. ErrorLog "C:/Program Files (x86)/Ampps/apache/logs/pornhub.local.err"
  48. CustomLog "C:/Program Files (x86)/Ampps/apache/logs/pornhub.local.log" combined
  49. </VirtualHost>
  50.  
  51. #### CLINIC (PARKED) ####
  52. <VirtualHost 127.0.0.1:80>
  53. <Directory "c:/php_folder/php">
  54. Options FollowSymLinks Indexes
  55. AllowOverride All
  56. Order deny,allow
  57. allow from All
  58. </Directory>
  59. ServerName clinic.local
  60. ServerAlias clinic.local
  61. ScriptAlias /cgi-bin/ "c:/php_folder/php/cgi-bin/"
  62. DocumentRoot "c:/php_folder/php"
  63. ErrorLog "C:/Program Files (x86)/Ampps/apache/logs/clinic.local.err"
  64. CustomLog "C:/Program Files (x86)/Ampps/apache/logs/clinic.local.log" combined
  65. </VirtualHost>
Add Comment
Please, Sign In to add comment