473,783 Members | 2,577 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

rerouting a web page to a file

Does anyone know of a method to reroute a web page to a file.
When someone comes to a web page, I would to reroute the output from a
web page to a file on our site.

The web page we are rerouting does not exist on our site and in some
instances is not a text web page but the output of a perl or some
other script.

Thanks,
Brad
Jun 8 '07 #1
11 5222
Brad wrote:
Does anyone know of a method to reroute a web page to a file.
When someone comes to a web page, I would to reroute the output from a
web page to a file on our site.
File -Save As

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jun 8 '07 #2
On 8 Jun, 20:09, Jim Moe <jmm-list.AXSPA...@s ohnen-moe.comwrote:
Brad wrote:
Does anyone know of a method to reroute a web page to a file.
When someone comes to a web page, I would to reroute the output from a
web page to a file on our site.

File -Save As
To get all the output you could set 'Save as type' to 'Save Page,
complete.

Jun 8 '07 #3
I knew I didn't explain it well enough as soon as I hit the send
key...
I am speaking as a web developer. I would like to include output from
another web site in a window of my web page without using frames.
To do this, I wanted to read the info from that page and then rewrite
it in my page so it looks like it is showing up in a window on my web
site.

I want this to be done dynamically so if that page changes, I will
include the changes.

Any ideas?

On Fri, 08 Jun 2007 18:34:13 -0000, "Roy A." <ro*********@gm ail.com>
wrote:
>On 8 Jun, 20:09, Jim Moe <jmm-list.AXSPA...@s ohnen-moe.comwrote:
>Brad wrote:
Does anyone know of a method to reroute a web page to a file.
When someone comes to a web page, I would to reroute the output from a
web page to a file on our site.

File -Save As

To get all the output you could set 'Save as type' to 'Save Page,
complete.
Jun 8 '07 #4
Brad wrote:
I knew I didn't explain it well enough as soon as I hit the send
key...
I am speaking as a web developer. I would like to include output from
another web site in a window of my web page without using frames.
To do this, I wanted to read the info from that page and then rewrite
it in my page so it looks like it is showing up in a window on my web
site.

I want this to be done dynamically so if that page changes, I will
include the changes.

Any ideas?
This would require some form of server side scripting, and possibly an
apache redirect (or other redirect if you are not using apache.)

Example.html is redirected to example.pl (or php or asp or whatever
language you are using). Example.pl grabs the contents of the other
page, reformats it, then sends it out to the browser.

This assumes that you have permission from the other site to use the
content.
Jun 8 '07 #5
On Fri, 08 Jun 2007 19:13:50 GMT
Brad <bm************ ***@bmegroup.co mwrote:
I knew I didn't explain it well enough as soon as I hit the send
key...
I am speaking as a web developer. I would like to include output from
another web site in a window of my web page without using frames.
To do this, I wanted to read the info from that page and then rewrite
it in my page so it looks like it is showing up in a window on my web
site.
Are you also excluding <object>?
>
I want this to be done dynamically so if that page changes, I will
include the changes.
Well, assuming you have permission from the copyright holder of
the contents you want to include, see
http://apache.webthing.com/mod_publisher/

--
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/
Jun 8 '07 #6
On 2007-06-08, Scott Bryce <sb****@scottbr yce.comwrote:
Brad wrote:
>I knew I didn't explain it well enough as soon as I hit the send
key...
I am speaking as a web developer. I would like to include output from
another web site in a window of my web page without using frames.
To do this, I wanted to read the info from that page and then rewrite
it in my page so it looks like it is showing up in a window on my web
site.

I want this to be done dynamically so if that page changes, I will
include the changes.

Any ideas?

This would require some form of server side scripting, and possibly an
apache redirect (or other redirect if you are not using apache.)
Couldn't you do it on the client with XMLHttpRequest? But it seems
easier to use an iframe.
Jun 8 '07 #7
Ben C wrote:
Couldn't you do it on the client with XMLHttpRequest? But it seems
easier to use an iframe.
Possibly. I haven't done much client side scripting for a long time. I
would do it on the server.

As for an iframe, the OP said he didn't want to use frames. That may
include iframes. He also said he wants to "rewrite" it . I don't know if
that means change the content from the other site, or if it just means
insert it into the page being sent to the browser.
Jun 9 '07 #8
I was not familiar with iframes and just tested it and it seems to do
most of what we need. I did not like the older frames technology, but
this seems to address a lot of my issues.

On the other topic, though, I would like to further explore the
methods of redirecting content and then editing it some before it is
presented on our site.

I am familiar with the licensing issues when this is done and we are
addressing this also.

The mod_publisher solution seemed interesting.
is this a "for fee" product and does it only work with apache?

Is it in production somewhere?

Thnks,
Brad

On Fri, 08 Jun 2007 19:09:41 -0600, Scott Bryce
<sb****@scottbr yce.comwrote:
>Ben C wrote:
>Couldn't you do it on the client with XMLHttpRequest? But it seems
easier to use an iframe.

Possibly. I haven't done much client side scripting for a long time. I
would do it on the server.

As for an iframe, the OP said he didn't want to use frames. That may
include iframes. He also said he wants to "rewrite" it . I don't know if
that means change the content from the other site, or if it just means
insert it into the page being sent to the browser.
Jun 9 '07 #9
Ben C wrote:
On 2007-06-08, Scott Bryce <sb****@scottbr yce.comwrote:
>Brad wrote:
>>I would like to include output from
another web site in a window of my web page without using frames.

Couldn't you do it on the client with XMLHttpRequest?
Isn't that cross-site scripting, and a major security issue?

--
Berg
Jun 9 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
2182
by: Drifter | last post by:
I have just picked up a little hobble to fix some code for an e-commerce site (older). It uses Aliant as the Secure Transaction server (if familiar with it you will just shiver). Problem is the secure server picks up the URL where you came from, in my case this is a product screen - a single product - not the list of products. Aliant's code reads this URL, and if you <continue shopping> you end up back on the single product page, as this is...
1
1626
by: kenfar | last post by:
I've got a set of redundant marts that I'm trying to catalog on the client side to allow us to do two things: 1. manually recatalog to point at either of the two fast marts 2. automatically failover to a third slow mart The data marts are on db2 8.2.1, the client on db2 8.2.? But I'm hitting a few roadblocks here - all suggestions are appreciated. So, I've given our portal team (runs actuate) a pair of scripts to switch the catalog...
2
1525
by: Andrew Connell | last post by:
I have an application where the authentication is based off another site (custom portal). The portal authenticates the user(s). Then, when they select an application, they are routed to the application's URL (different domain, different server). When they try to bypass the portal, I need to capture the URL they requested, route them to the portal (letting it authenticate them), and then send them back to the original requesting page. My...
15
4779
by: Nathan | last post by:
I have an aspx page with a data grid, some textboxes, and an update button. This page also has one html input element with type=file (not inside the data grid and runat=server). The update button will verify the information that has been entered and updates the data base if the data is correct. Update will throw an exception if the data is not validate based on some given rules. I also have a custom error handling page to show the...
9
3453
by: Codex Twin | last post by:
I am re-sending this in the hope that it might illicit a response. I have a corporate client who forces their workstations to get the proxy server details using an automatic proxy discovery script. Unfortunately, the .NET Framework does not support automatic proxy discovery scripts. See: http://support.microsoft.com/default.aspx?scid=kb;%5BLN%5D;307220 The article above details that the way to workaround this is to edit the...
15
5276
by: lxyone | last post by:
Using a flat file containing table names, fields, values whats the best way of creating html pages? I want control over the html pages ie 1. layout 2. what data to show 3. what controls to show - text boxes, input boxes, buttons, hyperlinks ie the usual. The data is not obtained directly from a database.
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10315
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10083
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9946
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8968
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6737
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5379
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2877
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.