• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Removing index.php from url

#1
[eluser]Computerzworld[/eluser]
Hello. I am having problem in removing index.php from url. I made one htaccess file for this and also removed index.php from config file like this.
Code:
$config['index_page'] = "";
Here is my htaccess code.
Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|css|uploads|jscripts|robots\.txt)
RewriteRule ^(.*)$ index.php/$1 [L]

This works perfectly in my windows environment but doesn't works with linux environment. In windows all the urls are without index.php and the same code I have uploaded to linux server I have to write index.php after url for the first time after it works. I don't know what is the problem behind it. Please help me. Thanks in advance.


Messages In This Thread
Removing index.php from url - by El Forum - 06-30-2008, 09:09 PM
Removing index.php from url - by El Forum - 06-30-2008, 10:37 PM
Removing index.php from url - by El Forum - 06-30-2008, 10:45 PM
Removing index.php from url - by El Forum - 07-01-2008, 10:17 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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