• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.htacces is not working with CI 1.7.3, php 5.3 and ubuntu 12.04

#1
[eluser]sonu gautam[/eluser]
Hi All,

I tried to hide the index.php with .htaccess, CI 1.7.3 and php 5.3 and got an error 404.
But it's working fine on my development server which is having php 5.2 and rest of all are the same configuration, i developed my application with HMVC and my .htaccess is

Code:
RewriteEngine on
Options -Indexes
RewriteBase /myapp/

RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{1,5})$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /myapp/index.php?/$1 [L]

Anybody suggest me the way how can i resolve this issue should i upgrade my CI version ?

Thanks

Sonu Gautam

#2
[eluser]Mat-Moo[/eluser]
.htaccess is nothing to do with CI, it's an Apache module (rewrite) so make sure that's enabled

#3
[eluser]web-johnny[/eluser]
Please try to not have duplicate questions at the forum. I already answer at this question at this thread


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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