On 17/04/18 19:24, Andy Seaborne wrote:
I've not used http mod_proxy_balancer (I've used reverse proxies and IP level load balancers) so treat this with caution:

-------------------------------
Listen 8001

<VirtualHost *:8001>
    ServerName localhost
    <Proxy *>
     Order deny,allow
     Allow from all
    </Proxy>
    ProxyPass / http://127.0.0.1:3030/
    ProxyPreserveHost On

     ProxyPass / balancer://mycluster/
     <Proxy balancer://mycluster>
        BalancerMember http://localhost:3030
     </Proxy>

</VirtualHost>
-------------------------------
worked for me.

Also without the "ProxyPreserveHost On"

Your original message was "Not Found" which suggests somewhere
that the URLs don't match or get translated on the incoming request somewhere. It might be as little as a "/" in the wrong place. I can't seem to make that happen though.



The problem with this simulation is everything is on localhost but that's what I have here at the moment. URLs in the UI do look correct though (localhost:8001)

Can you visit  http://app:3030  directly (inside the firewall) and perform dataset management operations?

     Andy

On 17/04/18 16:27, [email protected] wrote:



Dear Andy,

your help is very much appreciated.

Our IT is running the Apache http daemon as reverse proxy for various
services. Here are some details about our current setup ("app" is the
service name of the Fuseki server, which is called by http, while the
reverse proxy is called by https):

<VirtualHost *:443>
         ServerName <ourdomainname>
         TransferLog ${APACHE_RUN_LOGS}/<ourdomainname>.access.log
         SSLCertificateFile "${APACHE_SSL}/certfile.crt"
         SSLCertificateKeyFile "${APACHE_SSL}/keyfile.key"
         SSLCertificateChainFile "${APACHE_SSL}/bundle.crt"
         <Location />
                 Use AllowAll
         </Location>
         ProxyPass / balancer://mycluster/
         <Proxy balancer://mycluster>
                 BalancerMember http://app:3030 route=node1
         </Proxy>
</VirtualHost>

Could you please provide an example configuration for an Apache http proxy
(running with mod_proxy) for the Fuseki backend server? Thank you!

Mit freundlichen Grüßen / Best Regards
i.A. Dr. Wendelin Sprenger


___________________________________________


Zentrale Technik
Direktion Digitalisierung und Softwareengineering  ·  Digitalisation and
Software Engineering
BIM.5D


Dr. Wendelin Sprenger
Teamleiter  ·  Team Leader

Ed. Züblin AG
Albstadtweg 3 · 70567 Stuttgart · Germany
Fon +49 711 7883 - 8692  ·  Fax +49 711 7883 - 179
Mobil +49 170 8576343
www.zueblin.de  ·  [email protected]


Aufsichtsratsvorsitzender: Dr. Thomas Birtel
Vorstand:
Dipl.-Ing. Jörn Beckmann M. Eng.,  Dr. Ulrich Klotz M. Sc.,  Dipl.-Ing.
Klaus Pöllath,
Dipl.-Ing. Edgar Schömig,  Dr. Alexander Tesche,  Dipl.-Betriebsw. (FH)
Ulrich Weinmann,
Jörg Wellmeyer
Sitz der Gesellschaft: Stuttgart, Amtsgericht: Stuttgart, HRB 110,
USt-IdNr.: DE 147 843 723

Reply via email to