TECH TRANSIT : IF YOU LOVE TECHNOLOGY , YOU'LL LOVE US

Tech Transit Open Source Blog

Linux

Solved : No input file specified fcgi ( FastCFI ) cpanel / WHM

Spread the love

I have recently got issue after recompile with module , i want to change my server configuration from SuPHP to ( FastCGI). I had enable on my server and i got an issue like below.

"No Input File Specified"

Here in this articles i will show , how i have handle this issue with this module and got success.

(1) First i checked my rebuild phpconf information through below command.

# /usr/local/cpanel/bin/rebuild_phpconf --current

that was look like below output.Looks fcgi was enabled on current configuration .

Available handlers: suphp dso fcgi cgi none
DEFAULT PHP: 5
PHP4 SAPI: none
PHP5 SAPI: fcgi
SUEXEC: enabled
RUID2: not installed

(2) Check permission  and user permission issues on files and folders.

(3) At last i have check my .htaccess file and added some lines in my site .htaccess file.

RewriteEngine on

DirectoryIndex index.php

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond $1 !^(index\.php|robots\.txt)

 

Now my issue has been resolved through this method , may be it will resolve your issue as well for this type of task.

Thank you.


Spread the love

Have any Question or Comment?

Leave a Reply

Your email address will not be published. Required fields are marked *




Tech Transit Facebook Page

SuperWebTricks Loading...