Hi Christos,

Thanks for the answer. I was trying to do what you suggested initially, but
could not figure out how to set the HTTP host to  {Default Web Site}. Since
I was getting to the index page with localhost, I thought the necessary
listeners were added.

When I click export for the SPARQL endpoints, this is what I get. Not sure
if that's useful, but you see *ini* for the default endpoint, which could
indicate values coming from virtuoso.ini or some default set.

For Default endpoint

DB.DBA.VHOST_REMOVE (
         lhost=>'*ini*',
         vhost=>'*ini*',
         lpath=>'/sparql'
);

DB.DBA.VHOST_DEFINE (
         lhost=>'*ini*',
         vhost=>'*ini*',
         lpath=>'/sparql',
         ppath=>'/!sparql/',
         is_dav=>1,
         is_brws=>0,
         vsp_user=>'dba',
         ses_vars=>0,
         opts=>vector ('noinherit', 1),
         is_default_host=>0
);

New endpoint

DB.DBA.VHOST_REMOVE (
         lhost=>':80',
         vhost=>'localhost',
         lpath=>'/sparql'
);

DB.DBA.VHOST_DEFINE (
         lhost=>':80',
         vhost=>'localhost',
         lpath=>'/sparql',
         ppath=>'/!sparql/',
         is_dav=>1,
         is_brws=>0,
         def_page=>'',
         vsp_user=>'dba',
         ses_vars=>0,
         opts=>vector ('browse_sheet', '', 'noinherit', 'yes'),
         is_default_host=>0
);


Cheers,
Arun

On Tue, Nov 8, 2016 at 1:57 AM, Christos Skodras <
christos.skod...@europeana.eu> wrote:

> Hello Arun,
>
>
>
> I think your problem is that only localhost listens on port 80. Can you
> configure your http-host with the {Default Web Site} instead of localhost?
>
>
>
> *Christos Skodras*
>
> Senior System Developer
>
>
>
> T: +31 (0)70 314 0680
> M:
> E: christos.skod...@europeana.eu
>
> Skype:
>
>
>
> *Be part of Europe's online cultural movement - join the Europeana Network
> Association: http://bit.ly/NetworkAssociation
> <http://bit.ly/NetworkAssociation>*
>
>  *#AllezCulture!*
>
> 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: *Arun Balagopalan <arun...@gmail.com>
> *Date: *Tuesday, 8 November 2016 at 10:32
> *To: *"virtuoso-users@lists.sourceforge.net" <virtuoso-users@lists.
> sourceforge.net>
> *Subject: *[Virtuoso-users] Adding a public SPARQL endpoint
>
>
>
> Hi all,
>
>
>
> I am trying to add a public, protected sparql endpoint to my Virtuoso
> server. In my case, Virtuoso is running in a Docker container on an ec2
> machine. The end goal is to have a SPARQL server listening on port 80 on
> the ec2 host (by binding to port 80 in docker).
>
>
>
> As per the solution here
> <http://stackoverflow.com/questions/5605285/defining-endpoints-in-virtuoso?answertab=active#tab-top>
>  and
> similar references in the wiki, I added a new sparql endpoint with port 80
> and localhost (since it is running inside docker). I am able to get to a
> default page using the ec2 machine's public ip address [1] , but accessing
> <ip address>/sparql gives me a 404.
>
>
>
> My settings for the new endpoint can be seen in [2] [3]. Also, I'm not
> adding authentication for now, figured it would be easy to protect it later.
>
>
>
> Since this seems like a common use case, hoping somebody will point me in
> the right direction :)
>
>
>
> [1] http://imgur.com/1DyyWwg
>
> [2] http://imgur.com/hRPYgP1
>
> [3] http://imgur.com/ChUMz6f
>
>
>
>
>
> Thanks,
>
> Arun
>
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to