Configure the. htaccess as follows:
/Rewritecond $1!^ (index\.php|images|robots\.txt|css| ^ (. *) $/sis/index.php/$1 [L]
Apache (Error.log) error is as follows:
12220: Tid1848] [Client::1:50815] Ah00124:request exceeded the limit ofTenInternal redirects due to probable configuration error. Use'limitinternalrecursion'To increase the limitifnecessary. Use'LogLevel Debug'To get a backtrace. [Thu SepTen -: -:14.491172 -] [Core:debug] [PID12220: Tid1848] Core.c (3590): [Client::1:50815] Ah00121:r->uri =/sis/index.php/sis/index.php/sis/index.php/sis/index.php/sis/index.php/sis/index.php/sis/ index.php/sis/index.php/sis/index.php/sis/index.php/sis/index.php/news/Create[thu SepTen -: -:14.491172 -] [Core:debug] [PID12220: Tid1848] Core.c (3596): [Client::1:50815] ah00122:redirected from r->uri =/sis/index.php/sis/index.php/sis/index.php/sis/index.php/sis/index.php/sis/ index.php/sis/index.php/sis/index.php/sis/index.php/sis/index.php/news/Create[thu SepTen -: -:14.491172 -] [Core:debug] [PID12220: Tid1848] Core.c (3596): [Client::1:50815] ah00122:redirected from r->uri =/sis/index.php/sis/index.php/sis/index.php/sis/index.php/sis/index.php/sis/ index.php/sis/index.php/sis/index.php/sis/index.php/news/Create[thu SepTen -: -:14.491172 -] [Core:debug] [PID12220: Tid1848] Core.c (3596): [Client::1:50815] ah00122:redirected from r->uri =/sis/index.php/sis/index.php/sis/index.php/sis/index.php/sis/index.php/sis/ index.php/sis/index.php/sis/index.php/news/Create[thu SepTen -: -:14.491172 -] [Core:debug] [PID12220: Tid1848] Core.c (3596): [Client::1:50815] ah00122:redirected from r->uri =/sis/index.php/sis/index.php/sis/index.php/sis/index.php/sis/index.php/sis/ index.php/sis/index.php/news/Create[thu SepTen -: -:14.491172 -] [Core:debug] [PID12220: Tid1848] Core.c (3596): [Client::1:50815] ah00122:redirected from r->uri =/sis/index.php/sis/index.php/sis/index.php/sis/index.php/sis/index.php/sis/ index.php/news/Create[thu SepTen -: -:14.491172 -] [Core:debug] [PID12220: Tid1848] Core.c (3596): [Client::1:50815] ah00122:redirected from r->uri =/sis/index.php/sis/index.php/sis/index.php/sis/index.php/sis/index.php/news/Create[thu SepTen -: -:14.491172 -] [Core:debug] [PID12220: Tid1848] Core.c (3596): [Client::1:50815] ah00122:redirected from r->uri =/sis/index.php/sis/index.php/sis/index.php/sis/index.php/news/Create[thu SepTen -: -:14.491172 -] [Core:debug] [PID12220: Tid1848] Core.c (3596): [Client::1:50815] ah00122:redirected from r->uri =/sis/index.php/sis/index.php/sis/index.php/news/Create[thu SepTen -: -:14.491172 -] [Core:debug] [PID12220: Tid1848] Core.c (3596): [Client::1:50815] ah00122:redirected from r->uri =/sis/index.php/sis/index.php/news/Create[thu SepTen -: -:14.491172 -] [Core:debug] [PID12220: Tid1848] Core.c (3596): [Client::1:50815] ah00122:redirected from r->uri =/sis/index.php/news/create
Useful references for the collection: http://www.askapache.com/htaccess/modrewrite-tips-tricks.html
Loop stopping code ^sometimes your rewrites cause infinite loops, stop it with one of these rewrite Code snippets . %{request_uri} ^/(stats/|missing\.html|failed_auth\.html|error/). *. *-%{env:redirect_ STATUS}. *-[L]
Modified. htaccess
/%{env:redirect_status}. *- [L]rewritecond $1!^ (index\.php|images|robots\.txt|css| ^ (. *) $/sis/index.php/$1 [L]
Problem solving: Enter http://localhost/sis/news in the browser address bar (do not enter index.php), the page opens normally.
Solve the problem codeigniter. htaccess
for use ' limitinternalrecursion ' to increase the limit if necessary.