Skip to content

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

@bplein

Description

@bplein
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions