Skip to content

dev version: View links does not work with other home path than "/" #8

@hefan

Description

@hefan

In the dev version: another home path than "/" leads to a "404 not found" when clicking "view" in page tree or in page detail.

My Setup:
pw is installed in "/pw_test/"
normal page works.

Page Tree:

- Web
   - pw1
     - Pages
   - pw2
     - Pages

Multidomain setup:

$config->MultisiteDomains = array(
  "pw1.domain.com" => array( 
    "root" => "pw1",
    "http404" => PAGEID
  ),
  "pw2.domain.com" => array(
    "root" => "pw2",
    "http404" => PAGEID
  )
);

$config->httpHosts = array('localhost', 'pw1.domain.com', 'pw2.domain.com');

in my /etc/hosts pw1.domain.com and pw2.domain.com leads to localhost

The view link leads to "http://local1.domain.com/pw_testhttp://local1.domain.com/en/"
The URL http://local1.domain.com/pw_test/en works as excepted though.

In the same setup with home path "/" the "view" links work.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions