I've just had a similar conversation on the dev thread... IMHO there is a question about whether this is a behaviour issue or a documentation issue - so feedback requested on that..
here is Sergio's answer: 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 … On Sat, 28 May 2016 at 08:13 Brent Shambaugh <brent.shamba...@gmail.com> wrote: > Dear all, > > I am trying to migrate a marmotta backup to another new marmotta > instance. I tried the simple import thing and it got everything in there > from the export with a selection of all, but it was not browsable from > http://localhost:8080/marmotta/ldp. I also could not do a GET as well to > get a similar response to the instance that I backed up. > > So, I turned to curl. > After reading the LDP primer I found PUT does not allow for the creation > of LDP containers, so I guessed that PATCH would allow this > > I tried: > > curl -iX PATCH -H "Content-Type: text/turtle" --data @./ijsg.ttl -H > 'If-Match: W/"1464384711000"' http://localhost:8080/marmotta/ldp/ > > and > > curl -iX PATCH -H "Content-Type: text/turtle" --data @./ijsg.ldp -H > 'If-Match: W/"1464384711000"' http://localhost:8080/marmotta/ldp/ > > I am getting a 401 unauthorized even though the security profile is set to > simple. > > Is there something I need to change? > > Thanks for your time. > > -Brent Shambaugh > > >