Advertisement
dj_segfault

Reverse proxying to mythweb

Sep 5th, 2012
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. Here's my proxy configuration:
  2. <VirtualHost *:80>
  3. ServerAdmin david@thekramers.net
  4. ServerName geekwith.me
  5. ServerAlias www.geekwith.me
  6.  
  7. ErrorLog /var/log/apache2/geekwith.me-error_log
  8. CustomLog /var/log/apache2/geekwith.me-access_log combined
  9.  
  10.  
  11. ProxyPass / http://10.1.10.150/
  12. ProxyPassReverse / http://10.1.10.150/
  13. </VirtualHost>
  14.  
  15.  
  16. I don't know what mechanism does it, but when I go to http://10.1.10.150/ it redirects to http://10.1.10.150/mythweb to get to that application. When I go through this proxy by going to htp://www.geekwith.me, it rewrites it as www.geekwith.me/mythwebmythweb (yes twice). Dunno how I broke that.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement