Welcome Guest, Not a member yet? Register   Sign In
CI and Wildcard Domains
#1

[eluser]chadtomkiss[/eluser]
Hi,

We have a site that allows the user to set up their own website, and choose a custom domain.

I am currently trying to route all wildcard domains to a single controller to load their content etc.

However, using htaccess, I get a 500 error.

Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.

r->uri = /external
redirected from r->uri = /external
redirected from r->uri = /external

I then tried to copy index.php, call it external.php and edit the $routing array to specify the controller I want to be called.

This seems to work, but does not load CSS/images etc - going to their URL just loads the page being displayed.

Any help would be much appreciated.


Kind regards,

Chad


Messages In This Thread
CI and Wildcard Domains - by El Forum - 05-04-2011, 06:02 AM
CI and Wildcard Domains - by El Forum - 05-04-2011, 06:25 AM
CI and Wildcard Domains - by El Forum - 05-04-2011, 06:29 AM
CI and Wildcard Domains - by El Forum - 05-04-2011, 06:49 AM
CI and Wildcard Domains - by El Forum - 05-05-2011, 12:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB