PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > comp.info.servers.unix > how to let apache change a webpage content?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.info.servers.unix Web servers for UNIX platforms.

how to let apache change a webpage content?

Réponse
 
LinkBack Outils de la discussion
Vieux 01/06/2006, 08h23   #1
rabbit_guai@hotmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut how to let apache change a webpage content?

Hey everybody. this is my first post here. wish to see reponses from
you experts.

I am new to linux, proxy, apache these stuffs.

I have a rough idea of how proxy server works. It first receives a
request from a client, then fetches the file the client requests, then
sends it back to the client.

What I need to do is that before the file (webpage, be specific) is
sent back to the client, I want to modify the page (eg, change some
links in the page, add some words). How to do this? I know it's
something Apache is in charge of. And it seems some programming is
needed.

Could anyone tell me how to do this? How and where do I change apache
source code?

  Réponse avec citation
Vieux 01/06/2006, 08h41   #2
Nick Kew
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: how to let apache change a webpage content?

rabbit_guai@hotmail.com wrote:

> What I need to do is that before the file (webpage, be specific) is
> sent back to the client, I want to modify the page (eg, change some
> links in the page, add some words). How to do this? I know it's
> something Apache is in charge of. And it seems some programming is
> needed.


You use a filter.

See http://apache.webthing.com/ for a number of examples, and
in particular my presentation slides on exactly this subject
at http://apache.webthing.com/filter.pdf .

--
Nick Kew
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 17h39.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09175 seconds with 10 queries