[Fedora-directory-users] ds gateway behind apache proxy

Rob Crittenden rcritten at redhat.com
Fri Sep 8 13:21:08 UTC 2006


Mikael Kermorgant wrote:
> Hello,
> 
> I have installed FDS and activated dsgw which listens on a particular
> port, let's say 29154.
> 
> I have managed to access it on port 80 by running apache2 on the same
> host and setting up mod_proxy in a particular way but it does only
> work for some pages.
> 
>        RewriteRule ^/clients(.*) /directory/clients$1 [R]
>        <Location /annuaire/>
>            ProxyPass http://ds.myorg.com:29154/
>            ProxyPassReverse  http://ds.myorg.com:29154/
>        </Location>
> 
> My problem is that there are hard-coded references to this port in the
> html files.
> For an example, after authentication, I have :
> 
> <INPUT TYPE="button" VALUE="Return to Main"
> onClick="top.location.href=\'http://ds.myorg.com:29154/clients/dsgw/bin/lang?context=dsgw&file=\'"> 
> 
> 
> 
> Is there a way to configure this ?

I would use squid instead of Apache for a reverse proxy. It should 
automatically fix things up for you.

Or you can have Apache re-write the URLs for you. See here for an 
example: http://www.daveyp.com/blog/index.php/archives/76/

rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3178 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-users/attachments/20060908/c0eeadc2/attachment.bin>


More information about the Fedora-directory-users mailing list