Welcome Guest, Not a member yet? Register   Sign In
Separating distinct but related projects (modules)
#2

[eluser]rogierb[/eluser]
It should work if you setup proper .htaccess for each subdomain that rewrites the url to match the right
module, preventing access to other modules through this rewrite

Every subdomain has to get its own index.php and .htaccess.

So a url like admin.domain.com/controller would route to application/admin/controller.

Edit:
Code:
RewriteRule ^(.*)$ index.php/admin/$1 [L]
//or
RewriteRule ^(.*)$ index.php/api/$1 [L]


Messages In This Thread
Separating distinct but related projects (modules) - by El Forum - 01-22-2010, 07:46 AM
Separating distinct but related projects (modules) - by El Forum - 01-22-2010, 07:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB