htaccess is not working

#31
[eluser]Unknown[/eluser]
[quote author="domfosnz" date="1222851578"]I'm using XAMPP. The following worked for me:

Code:
$config['base_url'] = "http://127.0.0.1/rootfolder/"
$config['index_page'] = "";

Then in .htaccess:

Code:
Options +FollowSymLinks
Options -Indexes
DirectoryIndex index.php
RewriteEngine on
RewriteCond $1 !^(index\.php|resources|images|css|js|robots\.txt|favicon\.ico)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L,QSA]

I also configured apache to allow rewriting.[/quote]

Hi yes this works for me as well. I am using Xampp.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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