Welcome Guest, Not a member yet? Register   Sign In
Problem with PATH_INFO and query strings
#1

[eluser]Unknown[/eluser]
Hello. first i'm sorry , my english is not very good. I have started using CI few days ago.

I have two things to resolved:

1) I am trying to develope mi new pages in my site with CI. So I put the system CI in a folder called CI and i change the url with mod_rewrite. Is a good way to do?

2) I have several external plugin that it come back url with query strings. I follow some tutorials to fix that but i cannot resolved. I change the uri_protocol to PATH_INFO but the redirections don't work anymore.

For example in my .htaccess i have:

rewriterule ^amigos/sugerencias_amigos$ CI/index.php/amigos/sugerencias_amigos/
rewriterule amigos/sugerencias_amigos\?(.*)$ CI/index.php/amigos/sugerencias_amigos/\?$1

The first rule with the PATH_INFO doesn't work and the second never work for me.

How can i fix that?

thanks
#2

[eluser]laytone[/eluser]
Using Get in CI:
http://ellislab.com/forums/viewthread/129318/




Theme © iAndrew 2016 - Forum software by © MyBB