# Squirrelmail broken after changing cgi.fix\_pathinfo to 0

**URL:** <https://www.ruby-forum.com/t/squirrelmail-broken-after-changing-cgi-fix-pathinfo-to-0/189171>\
**Category:** NGINX\
**Created:** [May 26, 2010, 12:25am UTC](https://www.ruby-forum.com/t/squirrelmail-broken-after-changing-cgi-fix-pathinfo-to-0/189171 "2010-05-26T00:25:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![peterpiper](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/3e96dc/32.png) [@peterpiper](https://www.ruby-forum.com/u/peterpiper)\
**Post date:** [May 26, 2010, 12:25am UTC](https://www.ruby-forum.com/t/squirrelmail-broken-after-changing-cgi-fix-pathinfo-to-0/189171/1 "2010-05-26T00:25:22Z")

</div>

Well, I did my migration to changing cgi.fix\_pathinfo=0 and my new  
rewrite  
rules for my extensionless files are working.

After tooling around the site to make sure things worked I headed over  
to  
my Squirrelmail. Though I was able to login and read messages, when I  
clicked on any of the menu items (compose|address|folders|etc) I’d  
receive  
a no input file specified error. Checking the debug log, I noticed that  
instead of /webmail/src/compose.php?mailbox=INBOX&startMessage=16, the  
link was pointing to  
/webmail/src/src/compose.php?mailbox=INBOX&startMessage=16 \<–note the  
“src/src”

Googling that I see a few people had that problem (including myself back  
in '08). I guess my solution involved changing cgi.fix\_pathinfo to 1 but  
obviously, that’s not the solution know.

If you’re running Squirrelmail, could you please post your webmail  
location settings including the fastcgi parameters. Obviously the  
problem  
is internal to SM’s php, but I’m assuming changing a fastcgi parameter  
may  
be the fix.

Thanks!

---

<div class="post-metadata">

**Author:** ![peterpiper](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/3e96dc/32.png) [@peterpiper](https://www.ruby-forum.com/u/peterpiper)\
**Post date:** [May 26, 2010, 2:23am UTC](https://www.ruby-forum.com/t/squirrelmail-broken-after-changing-cgi-fix-pathinfo-to-0/189171/2 "2010-05-26T02:23:34Z")

</div>

> If you’re running Squirrelmail, could you please post your webmail  
> location settings including the fastcgi parameters. Obviously the problem  
> is internal to SM’s php, but I’m assuming changing a fastcgi parameter may  
> be the fix.

Quick update: While checking the Squirrelmail site I downloaded the very  
latest version. Seems that they fixed the php path issues, so the files  
are loading alright now.
