ExpressionEngine – No input file specified.

by Kevin on October 29, 2011

This problem popped up when I changed the apache on a server to fcgi.

The problem and the fix were both in the .htaccess file.

I had this in my .htaccess

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

Notice the last line.

I changed it to:

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

adding the ? to the end of /index.php was all it took to fix the problem.

ExpressionEngine 2: A Quick-Start Guide

Price: $22.95
Author: Ryan Irelan
Pages: 250
Manufacturer: Pragmatic Bookshelf
Release Date: 2010-04-17

Be the first to comment

How to force www with mod_rewrite

by Kevin on May 3, 2011

If you want yourdomain.com to redirect all visitors to www.yourdomain.com, add this to your .htaccess

This will only work if you have apache and mod_rewrite.

<IfModule mod_rewrite.c>
  RewriteEngine on
  RewriteCond %{HTTP_HOST} ^yourdomain\.com$ [NC]
  RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [L,R=301]
</IfModule>

Be the first to comment

One of the local Jumping Spiders.

March 25, 2011

Canopy Jumping Spider (Phidippus otiosus)

Read the full article →

How to remove the Get smart with Thesis link.

March 24, 2011

One of the first things you may want to do after installing Thesis is to remove the “get smart with thesis” link at the bottom. As with most things “thesis”, it is very easy to do. Log in to your wordpress admin. Click Thesis on the left hand side. Click Custom File Editor. Choose the [...]

Read the full article →