-
Notifications
You must be signed in to change notification settings - Fork 16
Description
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
- 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"
}
- Got to blog.plein.org:1999
- 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.