htaccess problem to remove index.php on urls

i know this had been asked many times. i've also red the forums on htaccess but i still dont get it to work.

my problem is i want to remove index.php i mean dont want it to be visible in urls on my site.

i want to change this link
<a href = "index.php/page_content/">Page Contents</a>

<a href = "page_content/">Page Contents</a>

because everytime i keep using
<a href = "index.php/page_content/">Page Contents</a>
the index.php is displayed on the url

im using a virtual host on apache
and an xampp on windows xp

$config['index_page'] = "";
$config['uri_protocol'] = "AUTO";

.htaccess file

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]

[eluser]Eduardo Hertz[/eluser]
Check if the mod_rewrite is on, or remove the <IfModule> and try it again.

if i remove the <ifmodule>

this error appears

Server error!

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.

If you think this is a server error, please contact the webmaster.
Error 500

Thanks for the help. I found the answer. My was disables. No nobody told me that mod_rewrite was automatically disabled on exampp hehehe :cheese:

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.