How to change the baseuris in a graph

  1. get latest org.trialox.changebaseuri from scm.trialox.org/custom by entering hg clone http://scm.trialox.org/custom/org.trialox.changebaseuri org.trialox.changebaseuri
  2. run mvn clean install to install this bundle
  3. install and start the bundle via felix shell
  4. via http://localhost:8080/admin/changebaseuri the base uri can be changed, 4 parameters have to be defined
    1. graph, e.g. http://tpf.localhost/content.graph
    2. oldbaseuri, e.g. http://localhost:8080/
    3. newbaseuri, e.g. http://192.168.178.88:8080/
  5. enter this url into your browser's address field and execute it
  6. repeat 4 and 5 and change the named graph to
    1. http://tpf.localhost/content.graph
    2. http://tpf.localhost/archive.graph
    3. http://tpf.localhost/proposal.graph
    4. http://tpf.localhost/live.b.graph
    5. http://tpf.localhost/live.a.graph
  7. Change baseuri in the configuration of apache clerezza (menu entry: configuration)

e.g.
http://cmsdemo.trialox.org/admin/changebaseuri?graph=http://tpf.localhost/content.graph&oldbaseuri=http://192.168.178.88:8080/&newbaseuri=http://cmsdemo.trialox.org/

Labels

 
(None)