2

I have an Internet connection which is behind a forward proxy.I have to use the proxy server ip address & port No. to connect to the internet.I have installed apache web server in my machine.The apache is configured to use ProxyPass (meaning - it has to fetch documents from an external site).But the forward proxy blocks any such request.How do I set up apache to use the forward proxy server's ip address & port No to access external urls.

1
  • Again I got the answer just add ProxyRemote * http://192.168.10.1:8080 in httpd.conf .But I couldn't get it to work for ProxyRemote /uploads/ http://192.168.10.1:8080. Commented Sep 26, 2011 at 12:14

1 Answer 1

4

If you wanted to proxy say a site from your machine through the corporate proxy, like I recently had to do for a Centos installation, you would use this in your apache config:

ProxyPass       /centos1/  http://ftp.riken.jp/

ProxyPassReverse /centos1/ http://ftp.riken.jp/

ProxyRemote http://ftp.riken.jp/ http://{corporate proxy here}:{corporate proxy port}
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.