Guest User

Untitled

a guest
Oct 19th, 2017
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. SetOutputFilter proxy-html
  2. ProxyHTMLExtended On
  3. ProxyRequests Off
  4. SSLProxyEngine On
  5.  
  6. <Proxy *>
  7. Order deny,allow
  8. Allow from all
  9. </Proxy>
  10.  
  11.  
  12. ProxyPass /proxy/ http://thirdparty.com/app/
  13. <Location /proxy/>
  14. ProxyPassReverse /
  15. ProxyHTMLEnable On
  16. ProxyHTMLURLMap http://thirdparty.com/app/ /proxy/
  17. ProxyHTMLURLMap / /proxy/
  18. </Location>
  19.  
  20. ProxyRequests Off
  21. # SSLProxyEngine On # only required if the proxied service would be HTTPS as well
  22. # Meaning if we would reverse proxy https://thirdparty.com/app/
  23. # Thanks @Piskvor for the clarification.
  24.  
  25. <Proxy *>
  26. Order deny,allow
  27. Allow from all
  28. </Proxy>
  29.  
  30.  
  31. ProxyPass /proxy/ http://thirdparty.com/app/
  32. ProxyPassReverse /proxy/ http://thirdparty.com/app/
  33. <Location /proxy/>
  34. ProxyPassReverse /
  35. Order deny,allow
  36. Allow from all
  37. </Location>
  38. Header edit Location ^http://thirdparty.com/app/ https://thirdparty.com/app/
Add Comment
Please, Sign In to add comment