CodeIgniter Forums
permalinks with phpsuexec - 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: permalinks with phpsuexec (/showthread.php?tid=2915)



permalinks with phpsuexec - El Forum - 08-30-2007

[eluser]Unknown[/eluser]
I have been developing with CI for about 5 months now I have used it on 3 different servers with the same type of app and permalinks have always worked. However, I recently got a client on a host that runs phpsuexec. I am trying to get my app to have permalinks but it will not work. I have used every variation of .htaccess rewrite rules I have found and can think of but it does not work. I get this error
Quote:No input file specified.

Has anyone come across something like this? Does anyone have a solution for something like this. The host is MidPhase. If anyone has any info that I can use to make this work I would be grateful.


Thanks,
-toe


permalinks with phpsuexec - El Forum - 09-03-2007

[eluser]thurting[/eluser]
I had a similar problem as I am in the process of building a site on a server set up with suexec. Try this in your .htaccess...

Code:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?$1 [L]

The addition of the '?' after index.php seemed to help me.