How to write web services in Codeigniter?
you need to fix your .htaccess file..
RewriteEngine onRewriteBase /RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteCond $1 !^(index\.php|images|robots\.txt|css|docs|js|system)RewriteRule ^(.*)$ index.php?/$1 [L]