![]() |
htaccess w/ subdomain - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: htaccess w/ subdomain (/showthread.php?tid=15110) |
htaccess w/ subdomain - El Forum - 01-27-2009 [eluser]chandlerou[/eluser] Having issues with htaccess with a subdomain. I've tried other suggestions located on the forums, but none seems to work completely. I guess I might not be understanding the way htaccess works. Am I able to put one in any directory/subdomain I want? Will that override the htaccess located in my public_html? Host: Blue Host References: http://ellislab.com/forums/viewthread/98862/ http://codeigniter.com/wiki/Dreamhost_.htaccess/ (Solution 2) Tested: http://subdomain.domain.com/ - 404 Error http://subdomain.domain.com/index.php - 404 Error http://subdomain.domain.com/controller/ - Loading Correctly http://subdomain.domain.com/index.php/controller - Loading Correctly public_html/subdomain/.htaccess Code: <IfModule mod_rewrite.c> public_html/subdomain/system/application/config/config.php (Changes Made) Code: $config['index_page'] = ""; Code: $config['uri_protocol'] = "REQUEST_URI"; htaccess w/ subdomain - El Forum - 01-27-2009 [eluser]chandlerou[/eluser] I am going to bed now...Found the problem public_html/subdomain/system/application/config/routes.php Code: $route['default_controller'] = "controller_that_didnt_exist_FTW"; The wiki worked perfectly then. Thanks. ZZzzzzzzzzzz |