Advertisement
Guest User

Untitled

a guest
Jan 4th, 2016
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. <VirtualHost *:80>
  2. ServerAdmin webmaster@localhost
  3.  
  4. ServerName website.com
  5. ServerAlias www.website.com
  6.  
  7. DocumentRoot /var/www/website.com
  8. <Directory />
  9. Options FollowSymLinks
  10. AllowOverride All
  11. </Directory>
  12. <Directory /var/www/>
  13. Options Indexes FollowSymLinks MultiViews
  14. AllowOverride All
  15. Order allow,deny
  16. allow from all
  17. </Directory>
  18.  
  19. ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  20. <Directory "/usr/lib/cgi-bin">
  21. AllowOverride None
  22. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  23. Order allow,deny
  24. Allow from all
  25. </Directory>
  26.  
  27. ErrorLog ${APACHE_LOG_DIR}/error.log
  28.  
  29. # Possible values include: debug, info, notice, warn, error, crit,
  30. # alert, emerg.
  31. LogLevel warn
  32.  
  33. CustomLog ${APACHE_LOG_DIR}/access.log combined
  34.  
  35. Alias /doc/ "/usr/share/doc/"
  36. <Directory "/usr/share/doc/">
  37. Options Indexes MultiViews FollowSymLinks
  38. AllowOverride None
  39. Order deny,allow
  40. Deny from all
  41. Allow from 127.0.0.0/255.0.0.0 ::1/128
  42. </Directory>
  43.  
  44. <Directory "/home">
  45. AllowOverride All
  46. Options -MultiViews
  47. Order allow,deny
  48. Allow from all
  49. </Directory>
  50. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement