CodeIgniter Forums
Need some help with htaccess (not removing index.php) - 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: Need some help with htaccess (not removing index.php) (/showthread.php?tid=19064)



Need some help with htaccess (not removing index.php) - El Forum - 05-26-2009

[eluser]ggoforth[/eluser]
Hey All, I'm trying to accomplish a url rewrite but it's not working. What I need to have happen is for a domain like:

customerXYZ.mydomain.com

to resolve to

www.mydomain.com/some_controller/index/customerXYZ

How would I accomplish this? I'm really kind of at a loss. I've got the following code in my htaccess already for removing the index.php:

I know it's not really a CI issue, but I know there are some htaccess gurus here. Smile

Thanks!