Advertisement
Guest User

Untitled

a guest
Oct 25th, 2014
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. # iptables -t nat -A PREROUTING -p tcp -i eth0 --dport 80 -j REDIRECT --to 127.0.0.1:8880
  2.  
  3. # iptables -A FORWARD -p tcp -i eth0 --dport 80 -j ACCEPT
  4.  
  5. Port 80
  6. Upstream localhost:8880
  7.  
  8. # Allow 127.0.0.1
  9.  
  10. <VirtualHost thisdomain.com:8880>
  11. DocumentRoot /www/docs/svn/myapp
  12. ServerName thisdomain.com
  13. </VirtualHost
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement