Separate hostname on same CI site |
[eluser]Unknown[/eluser]
I think I answered my own question, I got it to work with a mod_rewrite, I just put this in my httpd.conf virtual host section <VirtualHost *:80> DocumentRoot /home/mainsite RewriteEngine on RewriteRule ^(.*)$ /index.php/simple$1 [NC] ServerName simple.example.com </VirtualHost> so it's pointing the host now to the new controller, which works for me. I guess my only consideration now is that everything's shifted --- since simple.example.com is now REALLY www.example.com/simple -- the controller name is already taken -- so simple.example.com/test -- where as test would normally be the controller file is now a function in the controller, and on down the line. |
Messages In This Thread |
Separate hostname on same CI site - by El Forum - 07-27-2010, 07:08 PM
Separate hostname on same CI site - by El Forum - 07-27-2010, 07:44 PM
Separate hostname on same CI site - by El Forum - 07-27-2010, 10:26 PM
Separate hostname on same CI site - by El Forum - 07-28-2010, 02:33 PM
|