0

I have written a proxy server in python 3 which listens on the port 4444. I have the Damn Vulnerable Web Application(DVWA) running in my virtual machine. I started the apache2 server in virtual machine and I'm able to access the DVWA in my host machine. Now what I want to do is: I want apache2 server to pass all the requests to proxy server and process the requests that are sent by proxy server only.

Basically I want to implement the following :

     If(Requester is not the proxy server)  
     Then  
         Pass the request to the proxy server.  
     else
         Reply to the request.

How can I configure apache2 server to achieve such functionality. And please tell me which configuration file to edit to do so..

Thanks in advance.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.