Guest User

Untitled

a guest
Nov 4th, 2015
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 KB | None | 0 0
  1. <VirtualHost *:80>
  2. ServerName yourdomain.com
  3. ServerAdmin webmaster@localhost
  4. WSGIDaemonProcess allianceauth python-path=/home/allianceserver/allianceauth
  5. WSGIProcessGroup allianceauth
  6. WSGIScriptAlias / /home/allianceserver/allianceauth/alliance_auth/wsgi.py
  7.  
  8. Alias /favicon.ico /var/www/favicon.ico
  9. Alias /static/ /home/allianceserver/allianceauth/static/
  10. Alias /templates/ /home/allianceserver/allianceauth/templates/
  11.  
  12. Alias /forums "/var/www/forums/"
  13. Alias /killboard "/var/www/killboard/"
  14.  
  15. <Directory "/var/www/forums/">
  16. Order Deny,Allow
  17. Allow from all
  18. </Directory>
  19.  
  20. <Directory "/var/www/killboard/">
  21. Order Deny,Allow
  22. Allow from all
  23. </Directory>
  24.  
  25.  
  26. <Directory />
  27. Options FollowSymLinks
  28. AllowOverride None
  29. </Directory>
  30.  
  31. <Directory /var/www/>
  32. Options Indexes FollowSymLinks MultiViews
  33. AllowOverride None
  34. Order allow,deny
  35. allow from all
  36. </Directory>
  37.  
  38. ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  39. <Directory "/usr/lib/cgi-bin">
  40. AllowOverride None
  41. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  42. Order allow,deny
  43. Allow from all
  44. </Directory>
  45.  
  46. ErrorLog ${APACHE_LOG_DIR}/error.log
  47.  
  48. # Possible values include: debug, info, notice, warn, error, crit,
  49. # alert, emerg.
  50. LogLevel warn
  51.  
  52. CustomLog ${APACHE_LOG_DIR}/ssl_access.log combined
  53.  
  54. Alias /doc/ "/usr/share/doc/"
  55. <Directory "/usr/share/doc/">
  56. Options Indexes MultiViews FollowSymLinks
  57. AllowOverride None
  58. Order deny,allow
  59. Deny from all
  60. Allow from 127.0.0.0/255.0.0.0 ::1/128
  61. </Directory>
  62. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment