fix redirects when running as phar
ignore www/*.phar test files