[eluser]chrisco23[/eluser]
I might not be completely understanding you, or else I didn't state my question clearly enough.
I already use .htaccess in a way that I think you are describing, which prevents index.php from showing in the URL.
My main domain already has URLs like:
mydomain.com/mycontroller/mymethod
So in this case, index.php is not in the URL.
But I have 4 other domains that should point (via virtualhost directive I assume) to pages within that main site, for example, someone goes to
someotherdomain.com
it should take them to
mydomain.com/someothercontroller/somemethod
It all works already, and the URLs look fine. The only minor annoyance I'd like to fix is that every time I start Apache, I get warnings because the way I accomplish the above is by setting the document root in the virtualhost like (for someotherdomain.com)
DocumentRoot /home/myuser/www/mydomain/index.php/someothercontroller/somemethod
Does that make more sense or was there something I misunderstood about your reply?
Thanks,
Chris