Hi,
I have been in the ASP forum trying to figure this out but to no avail...
I have this html file and when you browse to it through the internet, it executes an asp file on the following line:
The above line is in a plain html file(note: the asp file is in a different directory than the html file)... while executing the myPage.asp file I need to find out the directory of the html file that it is embeded in...
I have tried many things but am all ears to any suggestions at all...
Note: The site is currently on an NT box and is being moved to Windows 2003... on the NT box, the statement:
will return the directory of the html file(which is what i want, but it will not on the new Windows 2003 box)?? that is why I thought it might be a server config setting??
Any ideas??
CES
I have been in the ASP forum trying to figure this out but to no avail...
I have this html file and when you browse to it through the internet, it executes an asp file on the following line:
Code:
<!--#exec cgi="/cgi-bin/myPage.asp" -->
The above line is in a plain html file(note: the asp file is in a different directory than the html file)... while executing the myPage.asp file I need to find out the directory of the html file that it is embeded in...
I have tried many things but am all ears to any suggestions at all...
Note: The site is currently on an NT box and is being moved to Windows 2003... on the NT box, the statement:
Code:
Request.ServerVariables("SCRIPT_NAME")
will return the directory of the html file(which is what i want, but it will not on the new Windows 2003 box)?? that is why I thought it might be a server config setting??
Any ideas??
CES