• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Advanced Controller Routing (based on domain)

Just tried both of those, still 404ing.

I do notice that when I comment out this line:

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

The page does a full redirect to:


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

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)

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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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