Re: dynamic web page rewrite



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 =---
.



Relevant Pages

  • Re: Very small network question...
    ... You have to set the gateway ONLY if you have a gateway in your network. ... a five port switch (connected to the host PC and target board). ...
    (comp.os.linux.networking)
  • Re: Question about networking and PPTP
    ... resulting from the network layout. ... that .22 is on the same network and no gateway is needed to reach it. ... because the .22->.1xx packets are translated by ... It's the same as if you wanted to ping an internal host ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Very small network question...
    ... You have to set the gateway ONLY if you have a gateway in your network. ... a five port switch (connected to the host PC and target board). ...
    (comp.os.linux.networking)
  • Re: TCP/IP gurus, please help! Can this be a valid gateway address?
    ... >> I can see this working if their gateway is proxy arping. ... > that is bound for an IP address belonging to it's own network. ... host is on your local network. ... Proxy ARPing means that the gateway responds to ARP ...
    (comp.os.linux.networking)
  • Re: 2 pc network - cant see host files from pc 2 on pc 1
    ... If the second card is lost on HOST PC then DSL Internet does not connect. ... Ditch the second network card in the one ...
    (microsoft.public.windowsxp.security_admin)