Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

ProxyRemote syntax is:

<remote-server> = <protocol>://<hostname>[:port]

So, I have to put protocol before hostname.

But my proxy server is x.y.z.n:1234 (without http)

And when I use proxyremote in this way, it doesn't work. (nothing happens)

ProxyRequests On
ProxyRemote http http://x.y.z.n:1234

If I remove http:// from proxy url, Apache returns an error:

ProxyRemote: Bad syntax for a remote proxy server

How to resolve it?

Thanks.

share|improve this question
    
how about just ProxyRequests On ProxyRemote x.y.z.n:1234 –  Rikih Dec 6 '12 at 1:00
    
@Rikih: ProxyRemote takes two arguments, a scheme, partial URL or '*' and a proxy server –  kikio Dec 6 '12 at 6:20
    
Which protocol you use to communicate with your proxy? If it's HTTP, ProxyRemote * http://x.y.z.n:1234 should work –  sendmoreinfo Dec 29 '12 at 19:52
add comment

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.