Jump to content

Search the Community

Showing results for tags 'Multisite module'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to ProcessWire
    • News & Announcements
    • Showcase
    • Wishlist & Roadmap
  • Community Support
    • Getting Started
    • Tutorials
    • FAQs
    • General Support
    • API & Templates
    • Modules/Plugins
    • Themes and Profiles
    • Multi-Language Support
    • Security
    • Jobs
  • Off Topic
    • Pub
    • Dev Talk

Product Groups

  • Form Builder
  • ProFields
  • ProCache
  • ProMailer
  • Login Register Pro
  • ProDrafts
  • ListerPro
  • ProDevTools
  • Likes
  • Custom Development

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 2 results

  1. Hey everyone, i might have a weird issue with my multisite setup. Not sure though, if it is a user error from my side, a server configuration or a pw thing. I am using Soma's Multisite module to redirect different domains to different "sub"page-trees. On my dev-server, i just manually setup two vhosts on apache to test the configuration and it worked flawlessly. Each domain routes correctly to the corresponding entry in the pagetree. My client on the other hand has to use Plesk to configure his webserver. So I setup two domains (domain1.com | domain2.com) there and pointed the domain2.com DocRoot to domain1.com's DocRoot (with the actual pw installation). $config->httpHosts = [ 'domain1.com', 'domain2.com', 'domain3.com' ]; $config->MultisiteDomains = [ 'domain1.com' => [ 'root' => 'www.domain1.com', 'http404' => 27, ], 'domain2.com' => [ 'root' => 'www.domain2.ch', 'http404' => 27, ], 'domain3.com' => [ 'root' => 'www.domain3.ch', 'http404' => 27, ], ]; $config->httpHosts and $config->MultisiteDomains are properly set, but somehow when i am trying to load either of the two(or more) domains, it will always route to the first entry of the $config->httpHosts array. Maybe someone could give me an idea or has worked with a similar setup, because i am feeling kind of blocked right now. Thanks in advance! -- EDIT Embarrassingly enough, i just found the issue: The Plesk default domain setting was redirecting to the www.* subdomain and this setting interfered with the actual routing. Sorry for the pointless thread-spam.
  2. I am using the Multisite.module to run several (similar/related) websites off a single PW-site and database. Adding new sites was as simple as adding the domain to the config box, and a top level page of the same name. However, since an upgrade of PW, I now also have to update my site/config.php file with each extra domain, i.e. $config->httpHosts = array( 'mydomain.com', // our primary hostname 'related.mydomain.com', // related website ); Otherwise the site will throw a 404 page not found. Leaving a blank httpHosts will allow all hostnames, but causes a warning in the back-end Unrecognized HTTP host:'mydomain.com' - Please update your $config->httpHosts setting in /site/config.php Can anyone advise how best to update Multisite.module?
×
×
  • Create New...