03-31-2010, 09:33 AM
[eluser]InsiteFX[/eluser]
You can try this one, pay attention to the comments...
I am running XAMPP 1.7.3 with PHP 5.3.1
Also make sure that LoadModule rewrite_module modules/mod_rewrite.so
is turned on in your apache http.conf file...
Also the path is http://localhost/ because your running on a local machine.
The .htaccess file should be placed in the root directory were
CodeIgniter's index.php file is.
A lot of people make this mistake!
on Windows the extension is .so not .c
Enjoy
InsiteFX
You can try this one, pay attention to the comments...
I am running XAMPP 1.7.3 with PHP 5.3.1
Also make sure that LoadModule rewrite_module modules/mod_rewrite.so
is turned on in your apache http.conf file...
Also the path is http://localhost/ because your running on a local machine.
The .htaccess file should be placed in the root directory were
CodeIgniter's index.php file is.
Code:
#
# On Windows it is
<IfModule mod_rewrite.so>
#
#<IfModule mod_rewrite.c>
#
Options +FollowSymLinks
DirectoryIndex index.php
RewriteEngine On
RewriteBase /
RewriteCond $1 !^(index\.php|images|css|js|flv|swf|pdf||robots\.txt|favicon\.ico)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]
#
</IfModule>
# on Windows it is
<IfModule !mod_rewrite.so>
#
#<IfModule !mod_rewrite.c>
#
ErrorDocument 404 /index.php
#
</IfModule>
A lot of people make this mistake!
on Windows the extension is .so not .c
Enjoy
InsiteFX