i've read a lot of setup subdomains on codeigniter, but nothing matched may situation.
I want to route by calling a subfolder or subdomain inside the public folder, so i dont need to use a controller from codeigniter.
Example
alls these domains should route to http://www.example.com/uploads/.../test
(Routing without refreshing the Url)
Whats the best/easiest way to do that?
So i trie to do this with the folloing htaccedd code
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www\.
RewriteCond %{HTTP_HOST} ^([^\.]+)\.domain\.com$ [NC]
RewriteRule ^(.*)$ http://domain\.com/subdomains/%1
What i have to change, that the url wont refresh, i mean, i want to see the old subdomain url not the new with ".../subdomain"?