You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Devraj Mukherjee <de...@gmail.com> on 2006/09/13 16:08:44 UTC

[users@httpd] mod_publisher question

Hi everyone,

I am trying to setup a reverse proxy using Apache that proxys Domino
web access for my organisation. The problem with Domini web access
(DWA) is that it has absolute URLs in all the documents that it
produces.

These URLs are in various HTML tags (such as img, a href) to
JavaScript, MetaTags and even input fields. The reverse proxy setup
requires me to map it to a URL like http://domain.tld/dwa/

If I use the root of the reverse proxy then everything works perfectly
because everything is an an absolutely URL preprended with a / (which
obviously makes it look at the root of the web server)

After a lot of research it seems like mod_publisher is the only way
that I can re-write each one of these elemetns in the produced HTML so
that everything falls in order.

I am interested to know if anyone has done something similar and if
there are any resources that you can point me to.

Any help is greatly appreciated. I have kind of hit a brick wall and
dont know where to go.

Thanks for reading my email and your time if you choose to reply.

-- 
"I never look back, it distracts from the now", Edna Mode (The Incredibles)

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] mod_publisher question

Posted by Devraj Mukherjee <de...@gmail.com>.
Hi Nick,

Thanks for the response. I read your article earlier and solved most
of the issues :) except something like this.

Notes will produce code like this in the HTML, and obviously that is
not a URL as far as proxy_html is concered.

Any suggestions will be welcome.

Thanks for your time.

<script>QPComponentInit('<img
src="/iNotes/Forms7.nsf/collapse.gif?OpenFileResource&MX">|<img
src="/iNotes/Forms7.nsf/collapse-mo.gif?OpenFileResource&MX">|<img
src="/iNotes/Forms7.nsf/expand.gif?OpenFileResource&MX">|<img
src="/iNotes/Forms7.nsf/expand-mo.gif?OpenFileResource&MX">','','','','','','','1');</script><script>
BFK();</script>


On 9/14/06, Nick Kew <ni...@webthing.com> wrote:
> On Wednesday 13 September 2006 15:08, Devraj Mukherjee wrote:
>
>
> > I am interested to know if anyone has done something similar and if
> > there are any resources that you can point me to.
>
> The article at http://www.apacheweek.com/features/reverseproxies
> describes your problem.  mod_publisher is one option for dealing with it.
>
> --
> Nick Kew
>
> Application Development with Apache - the Apache Modules Book
> http://www.prenhallprofessional.com/title/0132409674
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


-- 
"I never look back, it distracts from the now", Edna Mode (The Incredibles)

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] mod_publisher question

Posted by Nick Kew <ni...@webthing.com>.
On Wednesday 13 September 2006 15:08, Devraj Mukherjee wrote:


> I am interested to know if anyone has done something similar and if
> there are any resources that you can point me to.

The article at http://www.apacheweek.com/features/reverseproxies
describes your problem.  mod_publisher is one option for dealing with it.

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.prenhallprofessional.com/title/0132409674

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org