Fixing issue #107

i think url parse does not distinguish between "directory" and "file" - its just the path. and as i understood, you would put "purge" before the whole path, no?