1999-project icon indicating copy to clipboard operation
1999-project copied to clipboard

Mapping domain to blog - bad URL in username (upper left)

Open bplein opened this issue 9 years ago • 1 comments

Description of the problem

When using the instructions at https://github.com/scripting/1999-project/blob/master/docs/domains.md to map multiple domains to blogs, the link (username link) points to the blog URL and not the server URL.

Steps to reproduce
  1. Using my example config.json:

{ "myPort": 1999, "websocketPort": 2000, "myDomain": "1999.plein.org:1999", "where": { "flUseLocalFilesystem": true, "publicPath": "publicFiles/", "privatePath": "privateFiles/" }, "domains": { "blog.plein.org": "/users/billplein", "psug_atx.plein.org": "/users/PSUG_ATX" }, "twitterConsumerKey": "xxxxxxx", "twitterConsumerSecret": "yyyyyyyy" }

  1. Got to blog.plein.org:1999
  2. Click on "billplein" link on top left, goes to http://blog.plein.org:1999/users/billplein/, generates "not found" page.
What you expected to happen

I would expect this to go back to the top of the billplein blog.

Other data

Installation was originally a single URL, blog.plein.org:1999. After learning how to point it at multiple blogs, I changed the top/server level to 1999.plein.org:1999 and added two blog URLs underneath, blog.plein.org and psug_atx.plein.org. So it could be that this was set up one way and then modified after using it for a few posts that has caused this issue.

bplein avatar Jul 03 '16 18:07 bplein

Accidentally posted my twitter keys. Off to change them now.

bplein avatar Jul 03 '16 18:07 bplein