Advertisement
Guest User

Untitled

a guest
Jan 17th, 2012
379
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.89 KB | None | 0 0
  1. <VirtualHost *:80>
  2.  
  3.  
  4. ServerAdmin webmaster@localhost
  5.  
  6. DocumentRoot /var/www
  7. <Directory />
  8. Options FollowSymLinks
  9. AllowOverride None
  10. </Directory>
  11. <Directory /var/www/>
  12. Options Indexes FollowSymLinks MultiViews
  13. AllowOverride None
  14. Order allow,deny
  15. allow from all
  16. </Directory>
  17.  
  18. ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  19. <Directory "/usr/lib/cgi-bin">
  20. AllowOverride None
  21. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  22. Order allow,deny
  23. Allow from all
  24. </Directory>
  25.  
  26. ErrorLog ${APACHE_LOG_DIR}/error.log
  27.  
  28. # Possible values include: debug, info, notice, warn, error, crit,
  29. # alert, emerg.
  30. LogLevel warn
  31.  
  32. CustomLog ${APACHE_LOG_DIR}/access.log combined
  33.  
  34. Alias /doc/ "/usr/share/doc/"
  35. <Directory "/usr/share/doc/">
  36. Options Indexes MultiViews FollowSymLinks
  37. AllowOverride None
  38. Order deny,allow
  39. Deny from all
  40. Allow from 127.0.0.0/255.0.0.0 ::1/128
  41. </Directory>
  42.  
  43. #SABNZBD access at http://x.x.x.x:8080
  44. Redirect /sab /sab/
  45. Redirect /sabnzbd /sab/
  46. ProxyPass /sab/ http://localhost:8080/
  47. ProxyPassReverse /sab/ http://localhost:8080/
  48.  
  49. #Sickbeard access at http://x.x.x.x:8081
  50. Redirect /tv /tv/
  51. Redirect /sickbeard /tv/
  52. ProxyPass /tv/ http://localhost:8081/tv/
  53. ProxyPassReverse /tv/ http://localhost:8081/tv/
  54.  
  55. #couchpotato access at http://x.x.x.x:5000
  56. Redirect /movies /movies/
  57. Redirect /couchpotato /movies/
  58. ProxyPass /movies/ http://localhost:5000/
  59. ProxyPassReverse /movies/ http://localhost:5000/
  60.  
  61. #Maraschino access at http://x.x.x.x:7000
  62. ProxyPass /maraschino http://localhost:7000/
  63. ProxyHTMLURLMap http://localhost:7000/ /maraschino
  64. <Location /maraschino>
  65. ProxyPassReverse http://localhost:7000/
  66. SetOutputFilter proxy-html
  67. ProxyHTMLURLMap / /maraschino/
  68. ProxyHTMLURLMap /maraschino/ /maraschino/
  69. </Location>
  70.  
  71. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement