Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 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. Order allow,deny
  13. allow from all
  14. </Directory>
  15.  
  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.  
  24. <Directory "/var/www/magento">
  25. AllowOverride All
  26. </Directory>
  27. ErrorLog /var/log/apache2/error.log
  28.  
  29. # Possible values include: debug, info, notice, warn, error, crit,
  30. # alert, emerg.
  31. LogLevel warn
  32.  
  33. CustomLog /var/log/apache2/access.log combined
  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