Advertisement
Guest User

vhost

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