@misson - doing most of your suggestions now.
OK, my url host/directory isn't working for all urls - only the one I tested.
#1,#2,#3 etc depend on # of directories/subdirectories so in this case, if the url is only the root, I don't get what I need.
2ndly, my abs/rel path test ain't working...