Re: dynamic web page rewrite
- From: Dan Miller <dan@xxxxxxxxxxxxxxx>
- Date: Fri, 23 Dec 2005 17:01:22 -0600
jhead@xxxxxxxxxxx wrote in news:1135196595.390912.326770
@o13g2000cwo.googlegroups.com:
> Perhaps someone would have some ideas how best to do the following...
>
> I am wanting to rewrite HTML tags for any pages coming from a
> particular site calendering site that a department at my college set up
> with an off site service (applying my style sheet).
>
> A little bit of background for better understanding - the
> service/software they use is utilitarian and leaves aesthetics with
> something to be desired - not the best professional image.
>
> When people view the event calender pages, I want them to see it in my
> rewritten version, with my style sheet applied.
>
> I have explored using a http proxy like FilterProxy to rewrite the
> pages, but I'm not sure how to pull pages through it with out having to
> have the users browsers configured.
> I have a LAMP server running SUSE at my disposal.
>
> Is there a way, via a link, to send a request to a site through a
> proxy?
> E.g The user clicks on the link that has the effect of the proxy
> requesting the off site page and replying with the altered version?
>
> Yes, I could have them switch calenders - but I wanted to explore this
> option.
> Any ideas on how this could be pulled off?
>
>
silly me, Google is my friend, and I keep forgetting that...
Quoted from the web:
The routing table is set up via the configuration files
/etc/sysconfig/network/routes and /etc/sysconfig/network/ifroute-*. All
the static routes required by the various system tasks can be entered in
the /etc/sysconfig/network/routes file: routes to a host, routes to a
host via a gateway, and routes to a network. For each interface that
needs individual routing, define an additional configuration file:
/etc/sysconfig/network/ifroute-*. Replace * with the name of the
interface. The entries in the routing configuration files look like this:
DESTINATION GATEWAY NETMASK INTERFACE [ TYPE ] [ OPTIONS ]
DESTINATION GATEWAY PREFIXLEN INTERFACE [ TYPE ] [ OPTIONS ]
DESTINATION/PREFIXLEN GATEWAY - INTERFACE [ TYPE ] [ OPTIONS ]
To omit GATEWAY, NETMASK, PREFIXLEN, or INTERFACE, write - instead. The
entries TYPE and OPTIONS may just be omitted.
The route's destination is in the first column. This column may contain
the IP address of a network or host or, in the case of reachable name
servers, the fully qualified network or host name.
The second column contains the default gateway or a gateway through which
a host or a network can be accessed. The third column contains the
netmask for networks or hosts behind a gateway. The mask is
255.255.255.255, for example, for a host behind a gateway.
The last column is only relevant for networks connected to the local host
such as loopback, ethernet, ISDN, PPP, and dummy device. The device name
must be entered here.
----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---
.
- References:
- dynamic web page rewrite
- From: jhead
- dynamic web page rewrite
- Prev by Date: k2.6 (suse 9.3) - how to add network routes in runlevel 3??
- Next by Date: Re: dumping internet packets
- Previous by thread: Re: dynamic web page rewrite
- Next by thread: Dialin on Fedora Core 4?
- Index(es):
Relevant Pages
|