Guest User

Untitled

a guest
Nov 10th, 2013
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.07 KB | None | 0 0
  1. <VirtualHost *:80>
  2. ServerAdmin webmaster@localhost
  3.  
  4. DocumentRoot /home/vishal/Dropbox/sites/
  5. <Directory />
  6. Options FollowSymLinks
  7. AllowOverride None
  8. </Directory>
  9. <Directory /home/vishal/Dropbox/sites/>
  10. Options Indexes FollowSymLinks MultiViews
  11. AllowOverride None
  12. Order allow,deny
  13. allow from all
  14. </Directory>
  15.  
  16. ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  17. <Directory "/usr/lib/cgi-bin">
  18. AllowOverride None
  19. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  20. Order allow,deny
  21. Allow from all
  22. </Directory>
  23.  
  24. ErrorLog ${APACHE_LOG_DIR}/error.log
  25.  
  26. # Possible values include: debug, info, notice, warn, error, crit,
  27. # alert, emerg.
  28. LogLevel warn
  29.  
  30. CustomLog ${APACHE_LOG_DIR}/access.log combined
  31.  
  32. Alias /doc/ "/usr/share/doc/"
  33. <Directory "/usr/share/doc/">
  34. Options Indexes MultiViews FollowSymLinks
  35. AllowOverride None
  36. Order deny,allow
  37. Deny from all
  38. Allow from 127.0.0.0/255.0.0.0 ::1/128
  39. </Directory>
  40.  
  41. </VirtualHost>
  42.  
  43.  
  44. <VirtualHost *:80>
  45. ServerAdmin webmaster@localhost
  46.  
  47. DocumentRoot /home/vishal/Dropbox/sites/pw
  48. ServerName pw
  49. <Directory />
  50. Options FollowSymLinks
  51. AllowOverride None
  52. </Directory>
  53. <Directory /home/vishal/Dropbox/sites/pw>
  54. Options Indexes FollowSymLinks MultiViews
  55. AllowOverride None
  56. Order allow,deny
  57. allow from all
  58. </Directory>
  59.  
  60. ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  61. <Directory "/usr/lib/cgi-bin">
  62. AllowOverride None
  63. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  64. Order allow,deny
  65. Allow from all
  66. </Directory>
  67.  
  68. ErrorLog ${APACHE_LOG_DIR}/error.log
  69.  
  70. # Possible values include: debug, info, notice, warn, error, crit,
  71. # alert, emerg.
  72. LogLevel warn
  73.  
  74. CustomLog ${APACHE_LOG_DIR}/access.log combined
  75.  
  76. Alias /doc/ "/usr/share/doc/"
  77. <Directory "/usr/share/doc/">
  78. Options Indexes MultiViews FollowSymLinks
  79. AllowOverride None
  80. Order deny,allow
  81. Deny from all
  82. Allow from 127.0.0.0/255.0.0.0 ::1/128
  83. </Directory>
  84.  
  85. </VirtualHost>
  86.  
  87.  
  88. <VirtualHost *:80>
  89. ServerAdmin webmaster@localhost
  90.  
  91. DocumentRoot /home/vishal/Dropbox/sites/drupal_test
  92. ServerName drupal_test
  93. <Directory />
  94. Options FollowSymLinks
  95. AllowOverride None
  96. </Directory>
  97. <Directory /home/vishal/Dropbox/sites/pw>
  98. Options Indexes FollowSymLinks MultiViews
  99. AllowOverride None
  100. Order allow,deny
  101. allow from all
  102. </Directory>
  103.  
  104. ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  105. <Directory "/usr/lib/cgi-bin">
  106. AllowOverride None
  107. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  108. Order allow,deny
  109. Allow from all
  110. </Directory>
  111.  
  112. ErrorLog ${APACHE_LOG_DIR}/error.log
  113.  
  114. # Possible values include: debug, info, notice, warn, error, crit,
  115. # alert, emerg.
  116. LogLevel warn
  117.  
  118. CustomLog ${APACHE_LOG_DIR}/access.log combined
  119.  
  120. Alias /doc/ "/usr/share/doc/"
  121. <Directory "/usr/share/doc/">
  122. Options Indexes MultiViews FollowSymLinks
  123. AllowOverride None
  124. Order deny,allow
  125. Deny from all
  126. Allow from 127.0.0.0/255.0.0.0 ::1/128
  127. </Directory>
  128.  
  129. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment