I'm attempting to seed my tile cache on the server for use within OpenLayers for a few zoom levels, however the script doesn't seem to be working at all and everything I try I just get the same output.

The data displays fine when I view it in a browser using OpenLayers and the cache is generated based on what I look at.

The server is running Ubuntu 12.04.1 LTS which has nothing but Mapserver, Apache, Tilecache, and the required libs for that installed on.