jeudi 8 janvier 2015

Passing GET parameters through htaccess + Codeigniter

I am using Codeigniter Framework with this .htaccess command for "nice urls".



RewriteCond $1 !^(index\.php|assets|robots\.txt|favicon\.ico)
RewriteRule ^(.*)$ /index.php?$1 [L]


All URLs, for e.:

- http://ift.tt/14A9sB2

- passed as -> http://ift.tt/1x0L4yt (look like codeigniter`s ?/class/method/)



But question is: How can I pass $_GET paramaters? For Example:

- http://ift.tt/14A9sB4



I need use GET params od external ajax scripts (f.e.: ElFinder based on CODEIGNTER)



Thanks for advices


Aucun commentaire:

Enregistrer un commentaire