CodeIgniter Forums
removing index.php - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: removing index.php (/showthread.php?tid=6417)



removing index.php - El Forum - 02-26-2008

[eluser]emperius[/eluser]
I have few same sites on different hosting.

On on of the sites I can not remove index.php from the url. But on other sites everything works fine.

I get a message

No input file specified.

What may be a problem?
Mod rewrite works


removing index.php - El Forum - 02-26-2008

[eluser]SitesByJoe[/eluser]
Did you set your config file properly and upload your .htaccess file? It would be between those 2 files.


removing index.php - El Forum - 02-26-2008

[eluser]Michael Wales[/eluser]
Who is the host?


removing index.php - El Forum - 02-26-2008

[eluser]tobben[/eluser]
Are your PHP running on CGI?

If so, maybe

Code:
cgi.fix_pathinfo = 0

..will help you.


removing index.php - El Forum - 02-27-2008

[eluser]emperius[/eluser]
[quote author="SitesByJoe" date="1204072440"]Did you set your config file properly and upload your .htaccess file? It would be between those 2 files.[/quote]

yes

the same configuration works fine on other hosting


removing index.php - El Forum - 02-27-2008

[eluser]emperius[/eluser]
[quote author="tobben" date="1204085403"]Are your PHP running on CGI?

If so, maybe

Code:
cgi.fix_pathinfo = 0

..will help you.[/quote]

not on CGI