CodeIgniter Forums

Full Version: htaccess not working in windows 7
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

CI htaccess always gives 'Internal Server Error' in windows 7 WAMP server, when i want to remove 'index.php'.

Even when i did this
DirectoryIndex index.php
RewriteEngine on
RewriteCond $1 !^(index\.php|images|css|js|robots\.txt|favicon\.ico)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ ./index.php/$1 [L,QSA]

the apache log says
perhaps misspelled or defined by a module not included in the server configuration

I am 200% sure that there is no spelling mistake
pls help

El Forum

is mod_rewrite enabled in apache?

El Forum

Thank you so much, mod_rewrite was not enablled. I enabled it and it works like a charm. Thanks