Welcome Guest, Not a member yet? Register   Sign In
htaccess not working in windows 7
#1

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

Even when i did this
Code:
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
Code:
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
#2

[eluser]danmontgomery[/eluser]
is mod_rewrite enabled in apache?
#3

[eluser]dhaulagiri[/eluser]
Thank you so much, mod_rewrite was not enablled. I enabled it and it works like a charm. Thanks




Theme © iAndrew 2016 - Forum software by © MyBB