Sign up ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

We have a local "server" machine (Web, Samba, LTSP, DHCP.. etc) running Mandriva / Apache2 which connects to internet using another machine as a proxy (Vista Browsers, wget, mcc on 0.11 are able to connect to the net without any problems. However, CGI programs running on this machine are not able to fetch data from external sites. The same programs work correctly when run under Apache on 0.2 machine.

Have tried:

    <IfModule mod_proxy.c>  
        <Proxy *>  
        Order deny,allow  
        Allow from all  
    ProxyRemote *

in the httpd config file. The proxy module has been enabled.

Is this the correct line of thinking? How to verify that the proxy settings are working? Any other config files need to be checked? Thanks!

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Found the answer here:

Basically, there is no need to change the Apache settings. The CGI programs need to be modified to 'use' the proxy.They need to open the '6588' port on the '' as given above, send a 'CONNECT servername:80 HTTP/1.0\r\n\r\n' string and then continue to GET/POST as they have been doing.

Simple, once you know how to.

share|improve this answer
How to test HTTP proxy using 'telnet' is given here: – Rajiv B. Mar 6 '13 at 13:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.