Hi Sachit, You probably need to set the URIQA “DefaultHost” parameter in the Virtuoso configuration INI file to the hostname you want to be used in the rewrite rules as detailed at:
http://docs.openlinksw.com/virtuoso/uriqa.html#uriqaws
http://docs.openlinksw.com/virtuoso/dbadm.html#ini_URIQA
As the default setting is “localhost:8890” and the rewrite rules typically use
the “URIQADefaultHost” macro function to read the value of the URIQA
DefaultHOst param in the INI file for use in generating the hostname for the
URL as indicated in the example at:
http://docs.openlinksw.com/virtuoso/fn_urlrewrite_create_regex_rule.html#ex_urlrewrite_create_regex_rule
I hope this resolves the problem for you ...
Best Regards
Hugh Williams
Professional Services
OpenLink Software
Web: http://www.openlinksw.com
Support: http://support.openlinksw.com
Forums: http://boards.openlinksw.com/support
Twitter: http://twitter.com/OpenLink
On 17 Nov 2011, at 06:04, Sachit Malhotra wrote:
> Hi Guys,
>
> Can anyone tell me how i can stop url rewrite from the sparql endpoint? For
> example, i have a namespace:
>
> http://localhost:8890/schemas/demo
>
> and my domain is http://demo.cbw.com.au,
>
> So when i query the sparql endpoint, it rewrites localhost to demo.cbw.com.au.
>
> Any help is much appreciated.
>
> Thanks.
>
> --
>
> Sachit Malhotra | Clear Blue Water Pty Ltd
> +61 403565478 | [email protected]
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d_______________________________________________
> Virtuoso-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users
smime.p7s
Description: S/MIME cryptographic signature
