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.


Messages In This Thread
htaccess is not working - by El Forum - 06-25-2008, 07:28 AM
htaccess is not working - by El Forum - 06-25-2008, 02:03 PM
htaccess is not working - by El Forum - 06-25-2008, 09:33 PM
htaccess is not working - by El Forum - 06-26-2008, 01:01 AM
htaccess is not working - by El Forum - 06-26-2008, 01:25 AM
htaccess is not working - by El Forum - 06-26-2008, 02:25 AM
htaccess is not working - by El Forum - 06-26-2008, 02:34 AM
htaccess is not working - by El Forum - 06-26-2008, 02:43 AM
htaccess is not working - by El Forum - 06-26-2008, 02:53 AM
htaccess is not working - by El Forum - 06-26-2008, 03:46 AM
htaccess is not working - by El Forum - 06-26-2008, 03:51 AM
htaccess is not working - by El Forum - 06-26-2008, 03:52 AM
htaccess is not working - by El Forum - 06-26-2008, 03:53 AM
htaccess is not working - by El Forum - 06-26-2008, 03:56 AM
htaccess is not working - by El Forum - 06-26-2008, 03:58 AM
htaccess is not working - by El Forum - 06-26-2008, 04:23 AM
htaccess is not working - by El Forum - 06-26-2008, 04:26 AM
htaccess is not working - by El Forum - 06-26-2008, 04:31 AM
htaccess is not working - by El Forum - 06-26-2008, 04:33 AM
htaccess is not working - by El Forum - 06-26-2008, 04:41 AM
htaccess is not working - by El Forum - 06-26-2008, 04:54 AM
htaccess is not working - by El Forum - 06-26-2008, 05:07 AM
htaccess is not working - by El Forum - 06-26-2008, 06:00 AM
htaccess is not working - by El Forum - 06-26-2008, 06:32 AM
htaccess is not working - by El Forum - 10-01-2008, 01:59 AM
htaccess is not working - by El Forum - 11-01-2008, 11:14 AM
htaccess is not working - by El Forum - 01-07-2009, 07:10 AM
htaccess is not working - by El Forum - 07-10-2010, 08:13 AM
htaccess is not working - by El Forum - 07-13-2010, 03:10 AM
htaccess is not working - by El Forum - 07-13-2010, 03:56 AM
htaccess is not working - by El Forum - 04-28-2012, 04:45 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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