CodeIgniter Forums

Full Version: permalinks with phpsuexec
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

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.


El Forum

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...

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.