Thoyib Antarnusa
Thoyib Antarnusa

Reputation: 39

Removing index.php CodeIgniter using WAMP shows Wampserver Homepage instead

I just started learning CodeIgniter and I want to remove the index.php so the URL can be shown nicely.

I'm using .htaccess but instead it shows me the Wampserver Homepage (like in http://localhost)

My project directory is in http://localhost/CodeIgniter

What's wrong?

Upvotes: 0

Views: 677

Answers (1)

Jitin Kumar
Jitin Kumar

Reputation: 11

If anyone is still looking for this answer, it is due to not enabling mod_rewrite in the httpd.conf file.

Just remove the # from the start of the below line in the httpd.conf file to enable mod_rewrite.

LoadModule rewrite_module modules/mod_rewrite.so

Restart the apache after that.

Upvotes: 1

Related Questions