treichhart

.htaccesserror

Oct 13th, 2013
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. <VirtualHost *:80>
  2. ServerAdmin webmaster@domain.com
  3. ServerName staff.domain.com
  4.  
  5. DocumentRoot /var/www/staff
  6. <Directory />
  7. Options FollowSymLinks
  8. AllowOverride None
  9. </Directory>
  10. <Directory /var/www/staff>
  11. Options Indexes FollowSymLinks MultiViews
  12. AllowOverride None
  13. Order allow,deny
  14. allow from all
  15. # Uncomment this directive is you want to see apache2?s
  16. # default start page (in /apache2-default) when you go to /
  17. #RedirectMatch ^/$ /apache2-default/
  18. </Directory>
  19.  
  20. ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  21. <Directory "/usr/lib/cgi-bin">
  22. AllowOverride None
  23. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  24. Order allow,deny
  25. Allow from all
  26. </Directory>
  27.  
  28. ErrorLog /var/log/apache2/error.log
  29.  
  30. # Possible values include: debug, info, notice, warn, error, crit,
  31. # alert, emerg.
  32. LogLevel warn
  33.  
  34. CustomLog /var/log/apache2/access.log combined
  35.  
  36. Alias /doc/ "/usr/share/doc/"
  37. <Directory "/usr/share/doc/">
  38. Options Indexes MultiViews FollowSymLinks
  39. AllowOverride None
  40. Order deny,allow
  41. Deny from all
  42. Allow from 127.0.0.0/255.0.0.0 ::1/128
  43. </Directory>
  44.  
  45. </VirtualHost>
Add Comment
Please, Sign In to add comment