Hello Fernando,

Disabling extra headers on the apache (version 2.4) configuration did the trick 
for me: ProxyAddHeaders Off

Have you tried that?

Thanks,
Christos

Christos Skodras | Senior System Developer
T: +31 (0)70 314 0680
E: christos.skod...@europeana.eu<mailto:christos.skod...@europeana.eu>

Be part of Europe's online cultural movement - join the Europeana Network 
Association:
Sign up for the 
Association<https://pro.europeana.eu/network-association/sign-up> | 
#AllezCulture | @Europeanaeu<https://twitter.com/Europeanaeu> | Europeana Pro 
website<http://pro.europeana.eu/>

Disclaimer: This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they are
addressed. If you have received this email in error please notify the system 
manager. If you are not the named addressee you should not disseminate,
distribute or copy this email. Please notify the sender immediately by email if 
you have received this email by mistake and delete this email from your
system.
From: Fernando Carpani <fernando.carp...@gmail.com>
Date: Friday, 22 September 2017 at 19:09
To: Hugh Williams <hwilli...@openlinksw.com>
Cc: "virtuoso-users@lists.sourceforge.net" 
<virtuoso-users@lists.sourceforge.net>
Subject: Re: [Virtuoso-users] Install VOS behind a proxy with path.

Hello again.
We can solve the trouble in part using mod_substitute in proxy...
This may induce some errors if we have expressions more general than needed.

Now, our problem is ODS. The here we have the same issue: the absolute paths in 
html and scripts.

These paths (like in the previous example de /conductor/) migth be change to 
relative?
Or, at least, introducing a config variable with our external name to generate 
the correct URL?
There are known  issues can be introduced by  these changes?

Thanks.
FDO.

2017-09-21 16:10 GMT-03:00 Fernando Carpani 
<fernando.carp...@gmail.com<mailto:fernando.carp...@gmail.com>>:
Hello.
Yes, we try that.
I don't understand the difference between this configuration and ours 
configuration.
In this configuration, each service has his proxy pass and proxy pass reverse.
But this might be unnecesary because we use a generic proxy path.


ProxyPass /mh/virt http://myInternalServer:XXXX

ProxyPassReverse /mh/virt http://myInternalServer:XXXX


Our problem is that the main page  in the left panel is not adding /mh/virt in 
any link. You can see that in http://www.fing.edu.uy/mh/virt/

The link to conductor (or ods) is http://www.fing.edu.uy/conductor (or ods) 
without path.

I think that this is because some javascript that take must be generating the 
links without consider the path in the url.


In particular, with a grep over the code I find that:

./binsrc/vsp/index_left.vsp
60-    <body id="LCB">
61-      <?vsp if (have_cond) { ?>
62-      <ul class="left_nav">
63:    <li><img src="/images/nav_arrrow1.gif" width="8" height="8" /> <a 
href="/conductor/" target="_top">Conductor UI</a></li>
64-      </ul>
65-      <?vsp } ?>
66-
If this code goes direct to the installation, always must ignore the path..

OK... In some way I can rewrite the code possibly with some apache rule...

Someone has this trouble?

Thanks.
FDO.





2017-09-21 14:27 GMT-03:00 Hugh Williams 
<hwilli...@openlinksw.com<mailto:hwilli...@openlinksw.com>>:
Hi Fernando,

Have you reviewed the following document on Setting up an Apache HTTP server to 
proxy over a Virtuoso HTTP server ?

        
http://vos.openlinksw.com/owiki/wiki/VOS/VirtTipsAndTricksGuideSetApacheVirtuosoPortNumber

Best Regards
Hugh Williams
Professional Services
OpenLink Software, Inc.      //              http://www.openlinksw.com/
Weblog   -- http://www.openlinksw.com/blogs/
LinkedIn -- http://www.linkedin.com/company/openlink-software/
Twitter  -- http://twitter.com/OpenLink
Google+  -- http://plus.google.com/100570109519069333827/
Facebook -- http://www.facebook.com/OpenLinkSoftware
Universal Data Access, Integration, and Management Technology Providers



> On 20 Sep 2017, at 13:42, Fernando Carpani 
> <fernando.carp...@gmail.com<mailto:fernando.carp...@gmail.com>> wrote:
>
> Hello.
> Because I had a problem with my suscription to the list, and I don't know 
> which is the status of my consult, I reformulate IT.
> I'm trying to install virtuoso using apache as reverse proxy.
>
> My configuration in apache looks like:
> ProxyPass /mh/virt http://myInternalServer:XXXX
>
> ProxyPassReverse /mh/virt http://myInternalServer:XXXX
>
> <Location "/mh/virt/">
>
> ProxyHTMLEnable On
>
> ProxyHTMLExtended On
>
> ProxyHTMLURLMap / /mh/virt/
>
> ProxyHTMLURLMap http://myInternalServer:XXXX  /mh/virt/
>
> </Location>
>
> But the internal links from conductor, ods, or anything are wrong: without 
> the path /mh/virt.
>
> When we inspect the pages, we see that theses url are absolute, so, we can't 
> add the path ...
>
> There are some configuration to do add the path to these url's ?.
>
> Thanks.
> FDO
>
>
> 2017-09-18 15:48 GMT-03:00 Fernando Carpani 
> <fernando.carp...@gmail.com<mailto:fernando.carp...@gmail.com>>:
> Hello.
> I'm trying to install a virtuoso using an apache reverse proxy.
>
> My configurations looks like:
>
> ProxyPass /mh/virt http://myInternalServer:XXXX
>
> ProxyPassReverse /mh/virt http://myInternalServer:XXXX
>
> <Location "/mh/virt/">
>
> ProxyHTMLEnable On
>
> ProxyHTMLExtended On
>
> ProxyHTMLURLMap / /mh/virt/
>
> ProxyHTMLURLMap http://myInternalServer:XXXX  /mh/virt/
>
> </Location>
>
> But the internal links in all pages are wrong, without the path /mh/virt.
>
> There are some internal configuration to change that (without touch any VSP)?
>
> Thanks.
>
> FDO.
>
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! 
> http://sdm.link/slashdot_______________________________________________
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net<mailto:Virtuoso-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to