LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-28-2010, 06:51 AM   #1
mightymike1988
LQ Newbie
 
Registered: Oct 2010
Posts: 2

Rep: Reputation: 0
apache & mod_proxy dataflow


Hello fellow developers,

for my home development i want to edit the data that mod_proxy receives from the original server before it is sent to the client.

i already figured out that i need to search in the mod_proxy_http.c file and probably need to search somewere in the ap_proxy_http_process_response() function but i can't figure it out where to search becouse it uses a lot of the apache portable runtime data types and functions.

so please if someone can help me out or tell me in a more detailed manner how data is processed i would be very happy!
 
Old 10-28-2010, 07:38 AM   #2
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
Try using

<IfModule mod_rewrite.c>

http://www.workingwith.me.uk/article...ng/mod_rewrite

http://www.easymodrewrite.com/example-moved
 
Old 10-28-2010, 07:42 AM   #3
mightymike1988
LQ Newbie
 
Registered: Oct 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by prayag_pjs View Post
Hi prayag_pjs,
thanks for your reply but this is not what i want, it is for a school project and i need to change it at code level!

I'll give a bit more info:

when the client wants to connect to server example.com but has a proxy between it the client request goes to the proxy which will make a connection to example.com and passes the output to the client transparent. now I want the proxy server if the output from example.com contains the word "appel" to change the word to like "orange" and then pass it back to the client. but this must be done at code level not at configuration level

Last edited by mightymike1988; 10-28-2010 at 07:56 AM. Reason: Extra info
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache mod_proxy log mahmoud Linux - Software 1 06-07-2010 01:54 AM
about the URL when using Apache mod_proxy myhnet Linux - Newbie 0 06-24-2008 07:08 AM
Apache + Mod_proxy ProxyPass paul_mat Linux - Networking 2 04-14-2006 08:57 PM
Apache 1.3 mod_proxy no cache mago Linux - Software 0 04-07-2006 12:39 PM
Webmin Through Apache using mod_proxy... ech310n Linux - General 0 01-28-2004 04:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration