Hi Ruben,
What changes are you making that are not taking effect ? You should be
able to drop and create changes made to any procedures changed, or
worse case rebuild the server should these functions be build into the
Virtuoso binary ...
Best Regards
Hugh Williams
Professional Services
The code you suggested, the rdfdesc_http_url function of
description.sql. When we change to something like this:
create procedure rdfdesc_http_url (in url varchar)
{
..
-- host := http_request_header(http_request_header(), 'Host', null,
null);
host := 'data.fundacionctic.org';
Hi Ruben,
Ok, so it a BIF (built in function) in the server binary for speed,
which means the change needs to be recompiled into the binary which is
possible for open source users as you have done ...
Best Regards
Hugh Williams
Professional Services
OpenLink Software
Web:
We are trying now to change code in description.sql but it seems the
changes go unnoticed. Maybe those sql scripts are cached/compiled
somewhere? The modifications made in descrption.vsp are seen immediately
in the page, but not those in description.sql. We have also restarted
the server but the
Hi Ruben,
I see the problem you report with the URL provided to your external
service although the hrefs of the URIs generated for the demo server
are correctly referencing the external cname rather then the internal
name of the machine hosting the server.
BTW, what Virtuoso server
Hi Ruben,
In speaking to development the problem you are encountering it due to
the apache proxy being used uses the internal name of the server when
proxying the request across and hence the host := http_request_header
(http_request_header(), 'Host', null, null) function picks up the
Hi Ruben,
Thanks for your time Hugh
I am still unsure as to what your issue is other than the URI's you
are seeing with the internal cname of the machine where created when
the DefaultHost in your virtuoso.ini file was set to the internal
name. Having set your DefaultHost name to the
Hugh,
Is he using {URIQAHost}?
Also is his INI setup properly with [URIQAHost] ?
Kingsley
Hi Ruben,
Thanks for your time Hugh
I am still unsure as to what your issue is other than the URI's you
are seeing with the internal cname of the machine where created when
the DefaultHost in your
Hi Ruben,
What scripts are you referring, those for creating RDFViews ?
What is the incorrect URL you are seeing in the description.vsp pages
and does this machine what the DefaultHost when set to at the time
these scripts were run ?
Best Regards
Hugh Williams
Professional Services