kieranbarnes Independent PHP, WordPress & CubeCart Programmer

Passing Every ~ \.php$ request to to PHP

Posted on March 8, 2011

Posted by kieran

It is common with Nginx to pass every URI ending in .php to the PHP parser, if using a default PHP build this might lead to security issues. Nginx is a reverse proxy and as such does not have a concept of file unless you specifically tell it to. So if your configuration looks like this.

Tagged as: , , Continue reading

Site Performance Quick Fixes

Posted on July 31, 2008

Posted by Kieran

I've been playing around with YSlow for a while now, now I decided to a quick test on this blog.

This blog, according to YSlow rates a frumpy Grade D, with a score of 61. Not bad, but not great.
A bit of .htaccess trickery should give me a few extra points... Excellent Grade C, with a score of 73.