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

Reply via email to