We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38136
    • 42 Posts
    Hi Community,

    have a modx 2.2.6pl installation with the gateway "manager plugin". I use it to make two diffent websites for two domains.

    I am almost done with filling the first context (web). now i filled the second context (web1). But when i go to the homepage with the second context, what ever page i request just the starting page is processed.

    so when i call http://mydomainAtContextWeb1.com/alias.html i am just getting processed http://mydomainAtContextWeb1.com/.

    [[*id]] always is the id of the starting point of the web1 context.

    Any ideas?

    greetings [ed. note: mopox last edited this post 13 years, 8 months ago.]
      • 38136
      • 42 Posts
      well, to add:

      i checked out wether it is a problem with the .htaccess mod rewrite rules. this is fine i am seeing the same problem that web1 just process one resource when i disable friendly_urls. or when i call the url direct like: http://mydomainAtContextWeb1.com/index.php?id=34 or http://mydomainAtContextWeb1.com/index.php?q=alias.html.

      where do i find the code which calles for the alias or id? i checked modx.class.php but i am not right finding something like $_GET['id'] or $_GET['q'].

      thx
        • 38136
        • 42 Posts
        seems like GatewayManager 1.1.1pl is the problem. i figured out that it is just listing one resource from web1 context under "startpage". all other resources are listed there are from web context. the other resources from web1, created after GatewayManager installation, are missing.

        i did set the startpage accidently to a resource of the default web context. then i could access all the other resources in the context web1.

        just the startpage brought a 404 in the title -> 503 page not found on the page.
          • 38136
          • 42 Posts
          I removed the GatewayManager and switched to ContextRouter. It is a bit more configuring but it is runing fine now.