ds gateway behind apache proxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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://lists.fedoraproject.org/pipermail/389-users/attachments/20060908/c0eeadc2/attachment.bin 


[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux