grabbit icon indicating copy to clipboard operation
grabbit copied to clipboard

No option to give a context root

Open royteeuwen opened this issue 8 years ago • 2 comments

Hey,

It seems that in the current config.json it is not possible to specify a context root. Seeing as our servers run under a specific root, for example http://author.localhost:4502/CR/content/my-site, it is not possible to do the sync.

Greets, Roy

royteeuwen avatar Jun 12 '17 15:06 royteeuwen

Hey @royteeuwen, I may not fully understand, so I apologize.

Are you asking for a nice way to specify a global context root in a config file, or are you saying that you can't complete a sync with a non-"/content" root?

Just a note, as you may already be aware - path configs within grabbit configuration are not tied to "/content"; they are all absolute. You are free to define paths such as "/CR/content/my-site/a", "/CR/content/my-site/b", etc.

If it's the latter, what do you get in the logs? version? output?

jbornemann avatar Jun 12 '17 15:06 jbornemann

Hey @jbornemann ,

It is the first one that I would like, seeing as the context root is independent of the content paths. If i would specify the context root in the path configs, it would try to sync /CR/content/my-site to the path /CR/content/my-site on the other server, thats not what I want. I want it to sync to /content/my-site

Greets, Roy

royteeuwen avatar Jun 12 '17 16:06 royteeuwen