Advertisement
vitaljano

otdih-abhazia.ru.conf

Mar 21st, 2017
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. <VirtualHost *:80>
  2. DocumentRoot /var/www
  3. ServerName otdih-abhazia.ru
  4. ServerAlias www.otdih-abhazia.ru
  5. ServerAdmin webmaster@localhost
  6. <Directory />
  7. Options FollowSymLinks
  8. AllowOverride None
  9. </Directory>
  10. <Directory /var/www/>
  11. Options Indexes FollowSymLinks MultiViews
  12. AllowOverride None
  13. Order allow,deny
  14. allow from all
  15. </Directory>
  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. ErrorLog /var/log/apache2/error.log
  24. LogLevel warn
  25. CustomLog /var/log/apache2/access.log combined
  26. Alias /doc/ "/usr/share/doc/"
  27. <Directory "/usr/share/doc/">
  28. Options Indexes MultiViews FollowSymLinks
  29. AllowOverride None
  30. Order deny,allow
  31. Deny from all
  32. Allow from 127.0.0.0/255.0.0.0 ::1/128
  33. </Directory>
  34. <Directory "/var/www">
  35. allow from all
  36. Options +Indexes
  37. </Directory>
  38. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement