Advertisement
Guest User

Untitled

a guest
Jan 20th, 2012
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. <VirtualHost *:80>
  2. ServerAdmin webmaster@localhost
  3.  
  4. DocumentRoot /var/www
  5. <Directory />
  6. Options FollowSymLinks
  7. AllowOverride None
  8. </Directory>
  9.  
  10. <Directory /var/www/>
  11. Options Indexes FollowSymLinks MultiViews
  12. AllowOverride None
  13. Order allow,deny
  14. allow from all
  15. </Directory>
  16.  
  17. <Directory /home/butterfly/projects/>
  18. Options Indexes FollowSymLinks MultiViews
  19. AllowOverride None
  20. Order allow,deny
  21. allow from all
  22. </Directory>
  23.  
  24. <Directory /home/butterfly/>
  25. Options Indexes FollowSymLinks MultiViews
  26. AllowOverride None
  27. Order allow,deny
  28. allow from all
  29. </Directory>
  30.  
  31. ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  32. <Directory "/usr/lib/cgi-bin">
  33. AllowOverride None
  34. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  35. Order allow,deny
  36. Allow from all
  37. </Directory>
  38.  
  39. ErrorLog ${APACHE_LOG_DIR}/error.log
  40.  
  41. # Possible values include: debug, info, notice, warn, error, crit,
  42. # alert, emerg.
  43. LogLevel warn
  44.  
  45. CustomLog ${APACHE_LOG_DIR}/access.log combined
  46.  
  47. Alias /doc/ "/usr/share/doc/"
  48. <Directory "/usr/share/doc/">
  49. Options Indexes MultiViews FollowSymLinks
  50. AllowOverride None
  51. Order deny,allow
  52. Deny from all
  53. Allow from 127.0.0.0/255.0.0.0 ::1/128
  54. </Directory>
  55.  
  56. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement