I downloaded a PHP script written using CodeIgniter. when I run it from the localhost, on going to the admin folder, it shows localhost again. Also when running from my web
remove comment in httpd.conf (apache configuration file):
LoadModule rewrite_module modules/mod_rewrite.so