|
Home > Archive > Apache Server configuration support > March 2005 > Reverse proxy and javascript
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Reverse proxy and javascript
|
|
| Wilgar 2005-03-28, 6:24 pm |
| Hi,
First of all, I'm a total newb
I followed with success the steps descibed here:
http://www.apacheweek.com/features/reverseproxies
to se up a reverse proxy on my Mandrake 10.1 box. The goal was to be
able to access my internal webmail server and my two tivo from on IP
adresse (and put some security in there)
Everything works fine exept for one thing, the command that calls the
compose windows in my webmail software (Worldclient) uses a javascript
that is not translated by the proxy.
The command is:
java script:openWin('/WorldClient.dll?Session=CQCJMYH&View=Compose&New=Yes','Compose',800,600,'compose');
and should read /webmail/WorldClient.dll or
http://xxx.no-ip.com/webmail/WorldClient.dll
Is there a way to force apache to rewrite this url, it's the only one
not working in my entire setup
Any help would be appreciated
TIA
Wilgar
| |
| Gabriel Reid 2005-03-29, 2:50 am |
|
>
> The command is:
> Java script:openWin('/WorldClient.dll?Session=CQCJMYH&View=Compose&New=Yes','Compose',800,600,'compose');
>
> and should read /webmail/WorldClient.dll or
> http://xxx.no-ip.com/webmail/WorldClient.dll
>
> Is there a way to force apache to rewrite this url, it's the only one
> not working in my entire setup
If it's really only this URL, probably the easiest way to deal with this
is just an external redirect once the request comes in.
This can be accomplished with the following in httpd.conf
#=======================================
======
Redirect /WorldClient.dll http://xxx.no-ip.com/webmail/WorldClient.dll
#=======================================
======
Hope this helps.
Gabriel
|
|
|
|
|