No input file specified error

I have this Htaccess file

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]

I am getting No Input File Specified error. I have tried all the earlier suggestions on Stack Overflow like ** RewriteRule ^(.)$ index.php?/$1 [S,L]* etc

please help me

Answers


first check you have mod_rewrite= on (your apache server)

then try:-

Options +FollowSymlinks
RewriteEngine on
RewriteBase /

AddType application/x-httpd-php .asp .py .pl

RewriteCond %{REQUEST_URI} !(\.|/$) 
RewriteRule (.*) http://example.com/$1/ [R=301,L]
RewriteRule ^$ index.php [NC,L]

Need Your Help

QT excel editor

qt

I am working on a test case editor, which is something like a excel sheet.

Highlight an item in jQuery UI Multiselect Next

javascript jquery jquery-ui highlight multi-select

I have jQuery UI Multiselect Next http://quasipartikel.at/multiselect_next I want to highlight an item using a colour.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.