cant remove index.php from url in codeigniter
- by Ashiq
iam new in codeigniter frame work,i want to remove index.php from url and tried many times bt its not working.....
here is my .htaccess file
RewriteEngine on
RewriteBase /test/ RewriteCond $1
!^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME}
!-f RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$
test/index.php/$1 [L,QSA]
iam also change
$config['index_page'] = '';
bt when running this i got an error message...
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
Please contact the server administrator at [email protected] to inform
them of the time this error occurred, and the actions you performed
just before this error.
More information about this error may be available in the server error
log.
here is my appache error log
[Sat Jan 05 16:59:53.265625 2013] [core:error] [pid 3976:tid 1152]
[client ] Request exceeded the limit of 10 internal
redirects due to probable configuration error. Use
'LimitInternalRecursion' to increase the limit if necessary. Use
'LogLevel debug' to get a backtrace.
pls help to solve this........
Thanks