Hot answers tagged proxy
There's an apache module called mod_substitute that can do this. Here's a short example: <Location "/"> AddOutputFilterByType SUBSTITUTE text/html Substitute "s/uat.site.co.jp/jp.uat.site2uk.co.uk/ni" </Location> Or, when combined with mod_proxy: ProxyPass / http://uat.site.co.jp/ ProxyPassReverse / http://uat.site.co.jp/ Substitute ...
If you haven't restarted Apache, be sure to do that, but if you've already done so, you could try a global output filter that runs a custom PHP script to do your replacing just to see if that solves it for some reason. EDIT: based on your comment, it could be that substitute isn't working because the content is compressed. To turn off compression, add ...
The issue with Lukas's solution is HttpRewriteModule , which automatically turns everything with http(s) at the front into a 302. If you instead do the rewrite in two stages - the second one 'break' - it should work. e.g. rewrite ^(.*)$ "://registry.npmjs.org$1" break; rewrite ^(.*)$ "http$1" break; proxy_pass http://proxy.abc.lan:1234; I suspect there's ...
Google normally doesn't allow proxies to be used for searching as it may impact their search results, I have tried it on several occasions but the same result. This can be due to the reason that proxies may affect the ranking positions on SERP(s) or maybe they want that everybody should ...
I don't know if I get you right. But here's the way I'd do it: Put a load balancer (HAProxy, Nginx, Amazon ELB (if you're on EC2)) outside the cluster routing every traffic inside it. Inside it you could give Gogeta a try: https://github.com/arkenio/gogeta It's a reverse proxy running globally (on every node) and routing the traffic based on domain ...
Squid has the option offline_mode which will always serve content from cache, if it is present there. It is neither a safe general purpose option, nor a recommended, but can be useful in some occasions. But expect some odd web browsing experiences.
You haven't posted any addition details since asked for a couple of weeks ago so I'll try to answer as best I can (and recommend the question be closed): Security: If your goal is to secure your Asterisk server then a proxy server / kamailio is not the answer. See Asterisk Security for details on how to do this. Network: If your problem is NAT traversal ...
Found the answer in a great post: https://github.com/mapbox/mason/wiki/Windows:-Simulate-an-enterprise-proxy-on-a-single-developer-machine Block all the outbound connections on the firewall. Allow request from fiddler.exe
Another thing to look out for is detailed in the following URL: https://technet.microsoft.com/en-au/library/cc995158.aspx DNS may have a block list enabled of which wpad is defined as a blocked record, this is a protective measure.
The issue - sharing ports - could be solved in the opposite direction, by making Apache listen on port, say, 10443 and forwarding requests from OpenVPN there with the port-share option. (via) port 443 port-share localhost 10443
Only top voted, non community-wiki answers of a minimum length are eligible