Welcome Guest, Not a member yet? Register   Sign In
index.ph on url problem.
#2

[eluser]TheFuzzy0ne[/eluser]
Welcome to the CodeIgniter forums!

1) Ensure your vhost has:
Code:
AllowOverride All
[/code]

2) Make sure your .htaccess file does not have a file extension (Windows won't let you create .htaccess files by default -- it just wigs out and thinks you've given an extension bu no filename).

3) Test your .htaccess file is actually being loaded. Change an instance of "RewriteCond" to "Rewrite Cond" (note the space). When you refresh the page, you should get a 500 error. If you do, remove the space and save the file.

4) Try changing:
Code:
RewriteRule ^(.*)$ /index.php/$1 [L]

to one of the following:
Code:
RewriteRule ^(.*)$ /index.php?/$1 [L]
RewriteRule ^(.*)$ /index.php?$1 [L]
RewriteRule ^(.*)$ index.php?/$1 [L]
RewriteRule ^(.*)$ index.php?$1 [L]

You'll need to try each one separately, and refresh the page to test it. Hopefully one of this will work.


Messages In This Thread
index.ph on url problem. - by El Forum - 05-22-2013, 08:10 PM
index.ph on url problem. - by El Forum - 05-23-2013, 07:34 AM
index.ph on url problem. - by El Forum - 05-23-2013, 06:50 PM
index.ph on url problem. - by El Forum - 05-24-2013, 02:02 AM
index.ph on url problem. - by El Forum - 05-24-2013, 03:11 AM
index.ph on url problem. - by El Forum - 05-24-2013, 04:58 AM
index.ph on url problem. - by El Forum - 05-24-2013, 04:58 AM
index.ph on url problem. - by El Forum - 05-24-2013, 05:15 AM
index.ph on url problem. - by El Forum - 05-24-2013, 05:30 AM
index.ph on url problem. - by El Forum - 05-24-2013, 06:46 AM
index.ph on url problem. - by El Forum - 05-24-2013, 06:47 AM
index.ph on url problem. - by El Forum - 05-24-2013, 06:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB