aka007

apache2-error

May 28th, 2014
299
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. NameVirtualHost *
  2. <VirtualHost *>
  3. ServerAdmin webmaster@localhost
  4.  
  5. DocumentRoot /home/aka/Downloads/CodeIgniter/index.php
  6. <Directory "/home/aka/Downloads/CodeIgniter/index.php">
  7. Options FollowSymLinks
  8. AllowOverride None
  9. </Directory>
  10. <Directory >
  11. Options Indexes FollowSymLinks MultiViews
  12. AllowOverride None
  13. Order allow,deny
  14. allow from all
  15. # This directive allows us to have apache2's default start page
  16. # in /apache2-default/, but still have / go to the right place
  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. ServerSignature On
  36.  
  37. Alias /doc/ "/usr/share/doc/"
  38. <Directory "/usr/share/doc/">
  39. Options Indexes MultiViews FollowSymLinks
  40. AllowOverride None
  41. Order deny,allow
  42. Deny from all
  43. Allow from 127.0.0.0/255.0.0.0 ::1/128
  44. </Directory>
  45.  
  46. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment