Welcome Guest, Not a member yet? Register   Sign In
Advanced Controller Routing (based on domain)
#11

[eluser]stealthify[/eluser]
Just tried both of those, still 404ing.

I do notice that when I comment out this line:

Code:
#RewriteCond %{DOCUMENT_ROOT}application/modules/%1%2/ -d

The page does a full redirect to:

http://www.domain1.com/index.php/www.domain1/about

My regex is a little shaky, but am I capturing the wrong variables ('www.' as opposed to the '.com')?
#12

[eluser]toopay[/eluser]
You have three domain right?(one as a main domain that serve other 2 domain) or you have just two? If you have just two domain, which one domain roles as a main domain, above regex will fails.

Also what environment you use (Your OS and your server env - local or live server)
#13

[eluser]stealthify[/eluser]
PM sent, included some semi-private details about the domain/environment setup.




Theme © iAndrew 2016 - Forum software by © MyBB