• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.