Welcome Guest, Not a member yet? Register   Sign In
htaccess help please

[eluser]T I[/eluser]
I need a htaccess which is needed in my codeigniter application to run, which will do the following logic:

http://sitename.com/app will go to http://sitename.com/app/index.php

http://d.sitename.com/app will go to http://sitename.com/app/index.php/shop/index/d

http://d.sitename.com/app/a/b/c will go to http://sitename.com/app/index.php/a/b/c/d

Can anyone please write the rule? Is there any help possible?

[quote author="T I" date="1281534681"]Can anyone please write the rule? Is there any help possible?[/quote]
It's not that difficult to do! http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html also has some information on it Tongue There might even be some examples on this forum, try the search function! And remember, google is your friend!

Theme © iAndrew 2016 - Forum software by © MyBB