Squid Proxy URL rewriting

I have an architecture as below

[UNIX server] <> [Firewall] <> [Proxy server running squid]

There is a program in the AIX server which sends SMS to the internet, by sending HTTP request to the SMS processing server.

Like, http://smsserver/mysms=test

However the application does not have an option to specify where the Proxy server server is located.

Now my requirement is

I want to route the HTTP request, say http://smsserver/mysms=test, to the internet through the proxy.

Is there somoething like:

proxy://myproxyaddress:8080/http://smsserver/mysms=test :rolleyes: something like that.

I saw something called URL rewriting in the net, but i didnt understand fully. I'm a complete newbie.

Any help would be much appreciated.

Firdous

I haven't done it myself, see if this will help somehow.