Forum Moderators: open
I have a website... let's say it's:
[mysite.com...]
On my website I have a page:
[mysite.com...]
Now... I need that page to "think" it is actually:
[mysite.com...]
I'm running some software in "/directory1/" and I need to grab some of that information and put it into the root of my website. The problem is, the software has a license and it will only allow me to call from this application within the directory1 folder.
So... my question... can I use vbscript to make [mysite.com...] think it is actually [mysite.com...]
Inside of my current default.asp page on the root of my server I have the following code:
<!--#include file="directory1/default.asp" -->
And that's it. Would I be able to add some code above that line to make the server think the url is really in the directory1 folder? If not... what work around ideas can/should I check into?
<%
'AspTear constants
Const Request_POST = 1
Const Request_GET = 2
Set objTear = CreateObject("SOFTWING.ASPtear")
Response.ContentType = "text/html"
On Error Resume Next
Dim strRetval
' URL, action, payload, username, password
strRetval = objTear.Retrieve("http://www.mysite.com/directory1/Default_Frontend.asp", Request_GET, "", "", "")
Response.Write strRetval
%>