Advertisement
Guest User

Untitled

a guest
May 14th, 2016
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. 1 <VirtualHost *:80>
  2. 2 ServerAdmin asdflkajslkdfa@ajsdlkfjakls.com
  3. 3
  4. 4 DocumentRoot /var/www
  5. 5 <Directory />
  6. 6 Options FollowSymLinks
  7. 7 AllowOverride All
  8. 8 Allow from all
  9. 9 </Directory>
  10. 10 <Directory /var/www/>
  11. 11 Options Indexes FollowSymLinks MultiViews
  12. 12 AllowOverride All
  13. 13 Order allow,deny
  14. 14 allow from all
  15. 15 </Directory>
  16. 16
  17. 17 ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  18. 18 <Directory "/usr/lib/cgi-bin">
  19. 19 AllowOverride None
  20. 20 Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  21. 21 Order allow,deny
  22. 22 Allow from all
  23. 23 </Directory>
  24. 24
  25. 25 ErrorLog ${APACHE_LOG_DIR}/error.log
  26. 26
  27. 27 # Possible values include: debug, info, notice, warn, error, crit,
  28. 28 # alert, emerg.
  29. 29 LogLevel warn
  30. 30
  31. 31 CustomLog ${APACHE_LOG_DIR}/access.log combined
  32. 32
  33. 33 <Directory "/usr/share/phpPgAdmin">
  34. 34 AuthUserFile /etc/phpPgAdmin/.htpasswd
  35. 35 AuthName "Restricted Area"
  36. 36 AuthType Basic
  37. 37 require valid-user
  38. 38 </Directory>
  39. 39
  40. 40
  41. 41 </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement