
August 14th, 2001, 07:30 AM
|
|
Junior Member
|
|
Join Date: Aug 2001
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
pre and post processing
Hi, I'm a very new beginner to Apache.
I downloaded Apache 1.3.20 on my computer under Windows Millenium.
I want to add an encryption system to the Apache server.
To do so, I have imagined to do the following
1)- each time a request (which is encrypted) arrives into the server, the server calls an external procedure and passes the request as parameter of the call.
2)- The external procedure decrypts the request and passes the decrypted request back to the Apache server.
3)- This request is processed by the server and generates an answer.
4)- When this answer is ready to be sent to the client, the Apache server must call another external procedure and pass it the answer to be encrypted.
5)- the external procedure encrypts the answer and passes it back to the server which sends it to the client.
My idea is that I need a specific "version" of the Apache server in which two calls have been added :
The first one, used when a request arrives: the request is passed as parameter to the call and the call sends back the decrypted request which is "normally" processed by the server.
The second call must be implemented just before the server sends the answer: it calls the external procedure passing the answer as parameter. The answers is the packet that has to be sent.
Do you think that this way of doing is the good one ? Can somebody help me to implement the two calls in the Apache code ?
Thanks for reading,
|