Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. <VirtualHost *>
  2. ServerAdmin webmaster@localhost
  3.  
  4. DocumentRoot /srv/http
  5. <Directory />
  6. Options FollowSymLinks
  7. AllowOverride None
  8. </Directory>
  9. <Directory /srv/http/>
  10. Options Indexes FollowSymLinks MultiViews
  11. AllowOverride None
  12. Order allow,deny
  13. allow from all
  14. </Directory>
  15.  
  16. # "/srv/http/cgi-bin" should be changed to whatever your ScriptAliased
  17. # CGI directory exists, if you have that configured.
  18. ScriptAlias /cgi-bin/ /srv/http/cgi-bin/
  19. <Directory "/srv/http/cgi-bin">
  20. AllowOverride None
  21. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  22. Order allow,deny
  23. Allow from all
  24. </Directory>
  25.  
  26. ErrorLog /var/log/httpd/error_log
  27.  
  28. # Possible values include: debug, info, notice, warn, error, crit,
  29. # alert, emerg.
  30. LogLevel warn
  31.  
  32. CustomLog /var/log/httpd/access_log combined
  33.  
  34. Alias /doc/ "/usr/share/doc/"
  35. <Directory "/usr/share/doc/">
  36. Options Indexes MultiViews FollowSymLinks
  37. AllowOverride None
  38. Order deny,allow
  39. Deny from all
  40. Allow from 127.0.0.0/255.0.0.0 ::1/128
  41. </Directory>
  42.  
  43. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement