Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 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. <Directory /var/www/>
  10. Options Indexes FollowSymLinks MultiViews
  11. # AllowOverride None
  12. AllowOverride All
  13. Order allow,deny
  14. allow from all
  15. </Directory>
  16.  
  17. ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  18. <Directory "/usr/lib/cgi-bin">
  19. AllowOverride None
  20. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  21. Order allow,deny
  22. Allow from all
  23. </Directory>
  24.  
  25. ErrorLog /var/log/apache2/error.log
  26.  
  27. # Possible values include: debug, info, notice, warn, error, crit,
  28. # alert, emerg.
  29. LogLevel warn
  30.  
  31. CustomLog /var/log/apache2/access.log combined
  32.  
  33. Alias /doc/ "/usr/share/doc/"
  34. <Directory "/usr/share/doc/">
  35. Options Indexes MultiViews FollowSymLinks
  36. AllowOverride None
  37. Order deny,allow
  38. Deny from all
  39. Allow from 127.0.0.0/255.0.0.0 ::1/128
  40. </Directory>
  41.  
  42. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement