Nice hack, but in place of the YOURSITE.com or as tgreene suggested the ../
I suggest you use reference $vars_config{NonCGIURL}
Felix: That way people will not have to change any code
tgreene: Your idea would work for a standard type directory structure, ie
Root:/
|--/cgi-bin
|
|--/ubb
but many users may use different structures, so its best just to grab the value from the hash array, this way it points to whatever the user has setup.