Thanks Sergio. I have read that page many times and I still dont really understand exactly what you mean by "Note that the host name and port you are using for the first access to your installation is *important* since decides on how Linked Data resources will be handled later"
what constitutes an "access"?- first time you access in a browser, first time you edit configs and restart, first time you post something to an endpoint? cheers Rob On Fri, 27 May 2016 at 17:12 Sergio Fernández <[email protected]> wrote: > Rob, > > On Wed, May 25, 2016 at 4:05 PM, Rob Atkinson <[email protected]> > wrote: > > > I've managed to find my way round the LDP interface through trial and > error > > to reach some answers. > > > > It seems that the LDP API is sensitive to the host name: > > - in my environment I cannott post to localhost and get a result - I > have > > to use the external IP address. This makes configuration of a re-usable > > backend a bigger pain. > > > > > > Linked Data technologies are sensitive to the names of the resources. The > host name and port you are using for the first access to your installation > is important since decides on how Linked Data resources will be handled > later. > > Even if you could reach the software by all the localhost host names > (localhost, 127.0.0.1 or its public IP), that does not mean all services > are functional. So you must use the one configured in Marmotta > > Marmotta automatically configures the hostname in the first access, but you > can configure it as you need: > http://marmotta.apache.org/configuration.html > > > I am now trying to negotiate PUT vs POST for container creation - it is > > optional for PUT to create a new container - Marmotta seems to respond > with > > a 428 status, so i guess its not supported. The problem is I seem to be > > getting a 428 also if i try to use PUT to overwrite an existing > container. > > Maybe I'm misreading the spec here - but is that the correct behaviour? > > > https://www.w3.org/TR/ldp/#h-ldpr-put-precond > > Cheers, > > -- > Sergio Fernández > Partner Technology Manager > Redlink GmbH > m: +43 6602747925 > e: [email protected] > w: http://redlink.co >
