Answer the question
In order to leave comments, you need to log in
Routing using subdomains
There is a functioning site on ZF 1.12
There was a need to create a mobile version. To do this, I use the subdomain m.site.com
To define a module for m.site.com - it turned out without problems.
And here it is impossible to register further routings.
For the full version of the site, there is such a link: site.com/pages/info . The 'pages' module is used for it.
In the mobile version, m.site.com/pages/info , but the module must be 'mobilepages'.
But for the mobile version, the full version of the site is opened.
Who will tell you how to correctly write the rules for the module. Thanks
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question