Viewing web pages through another web server

Results 1 to 3 of 3

Thread: Viewing web pages through another web server

  1. #1
    Jan Derieuw Guest

    Default Viewing web pages through another web server

    Hi all,<BR><BR>I have stumbled on this message board today, it&#039s nicely done. It would seem that you all know very well your way inside server side scripting, which is why I contact you. I hope you have a couple of minutes for me, I would appreciate any suggestions you make.<BR><BR>Please allow me to explain what I&#039m trying to accomplish: a friend who has a small mailing list (private person, not a company) has asked me to develop a small ASP application that shows requested url&#039s all through one website (I suppose to see the effect of the small advertising efforts he obtains). It should approximately do something like this:<BR><BR>1. In the email is a link to e.g. <BR>The user clicks on it.<BR><BR>2. The browse.asp application then gets the demanded url and shows it through the webserver. Any existing hyperlinks in the retrieved page should also be modified to the same form, so that if a user clicks on one it is also retrieved through browse.asp on my friend&#039s site. <BR><BR>I hope I manage to explain myself clear enough... I have managed to work something out based on an existing piece of software (AspHTTP 3.53), but this gives only the webpage without any graphical content. In the ideal case it should be transparant for the user, he should see the same website as the original one.<BR><BR>Do you know of other existing tools that can assist me in accomplishing this? Or a similar approach in PERL? Or is something like a &#039reversed proxy&#039 possible? Because I have reached my limit, I am not yet a developer, I am still attending college ( Here at Netmining I am the apprentice for six weeks each year to obtain some practical experience ;-)<BR><BR>Well, in any case, thank you for your time, and I really hope you are willing to provide new insight for me. Thank you!

  2. #2
    Join Date
    Dec 1969

    Default RE: Viewing web pages through another web server

    There are two ways I can think of of doing this.<BR><BR>The easy way is just to load the target content into a floating frame (&#060;IFRAME&#062;) on your friends site.<BR><BR>The way you are tying to do it requires the use of a decent HTTP componet for ASP - ASPTear rings a bell, but I haven&#039t used it. This will let you request the page from ASP as a string and then process it any way you want. Fixing the links might be tricky though - straight &#060;A href="..."&#062; links are easy enough to find and change (using a regular expression), but any links that use script will be very difficult...<BR><BR>HTH<BR><BR>Dunc

  3. #3
    Join Date
    Dec 1969

    Default RE: Viewing web pages through another web server

    I think you have to use XML for that along with ASP.<BR>I am also looking for this.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts