bypass index.php file - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: bypass index.php file (/showthread.php?tid=56982) |
bypass index.php file - El Forum - 02-04-2013 [eluser]UnknownPlayer[/eluser] Hi, i need to bypass codeignter index.php file, becouse i cant use address like g=css in url, so i need to bypass index.php file, how can i do that? Full address is domain.com/public/min/g=css it says that = is not permited, how can i do this ? This is my .htaccess: Code: <IfModule mod_rewrite.c> bypass index.php file - El Forum - 02-04-2013 [eluser]Aken[/eluser] What is creating the error, CI or your server? Why do you have a file path with an = sign in it, anyway? You don't usually want symbols in your file paths outside of the norms. That if it was detected as a file, that .htaccess should not redirect it. bypass index.php file - El Forum - 02-04-2013 [eluser]UnknownPlayer[/eluser] CI blocks that character, but i need it for minified version. I need to set in htaccess to that path don't go on index.php or ? bypass index.php file - El Forum - 02-06-2013 [eluser]InsiteFX[/eluser] ./application/config/config.php Code: $config['uri_protocol'] = 'PATH_INFO'; Make sure you check all inputed data using xss_clean etc; bypass index.php file - El Forum - 02-07-2013 [eluser]UnknownPlayer[/eluser] Yes, but i don't think it is good security way for doing this or i'm wrong? I thought with htaccess that can be done? |