Welcome Guest, Not a member yet? Register   Sign In
index.php is downloading instead run
#1

[eluser]Unknown[/eluser]
Hi everybody!

I am new on CI and i need help. I have to modified a website so i am trying to set up on my local machine first for testing, but when access it the browser try to download index.php. this is my .htaccess file

# Use PHP5 Single php.ini as default
AddHandler application/x-httpd-php5 .php
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /Festival25/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>

<IfModule !mod_rewrite.c>
# If we don't have mod_rewrite installed, all 404's
# can be sent to index.php, and everything works as normal.
# Submitted by: ElliotHaughin

ErrorDocument 404/index.php
</IfModule>

i enabled mod_rewrite and modified the AllowOverride to All but doesn't work.

any suggestion?

Thanks

AV


Messages In This Thread
index.php is downloading instead run - by El Forum - 10-28-2009, 11:22 PM
index.php is downloading instead run - by El Forum - 10-28-2009, 11:38 PM
index.php is downloading instead run - by El Forum - 10-29-2009, 12:00 AM
index.php is downloading instead run - by El Forum - 10-29-2009, 09:09 AM



Theme © iAndrew 2016 - Forum software by © MyBB