LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how-to-redirect-webiste-from-apache-server-to-proxy-server (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-redirect-webiste-from-apache-server-to-proxy-server-4175455090/)

puchchi 03-22-2013 01:11 AM

how-to-redirect-webiste-from-apache-server-to-proxy-server
 
i host a website (http://www.abcd.com/) on my apache2 server (my com IP 192.168.1.1) in an INTRANET.each browser on my lan are configured to connect to my computer as proxy server(192.168.1.1:80)...

In my organistion we have already a proxy server,through we can access internet (192.168.100.100:3128)...
Now i want that every user connect me as a proxy server and they can access my website(www.abcd.com).
So I want my apache server forward other all connection to proxy server(192.168.100.100:3128) except for www.abcd.com....
what should i do????n in which .conf file????help me pls
weather i can use NoProxy directive or ProxyPass orForwardProxy or what.....i got pissed off from this manual of apache server....pls help

acid_kewpie 03-22-2013 03:21 AM

Why would your web server forward all requests to a proxy?? Why is that server receiving requests for other sites in the first place?

puchchi 03-22-2013 04:00 AM

Quote:

Originally Posted by acid_kewpie (Post 4916412)
Why would your web server forward all requests to a proxy?? Why is that server receiving requests for other sites in the first place?

bcos in our lan no one can browse internet without connecting that proxy server.......

acid_kewpie 03-22-2013 04:03 AM

well connect to the proxy server correctly then. This apache server appears have nothing to do with anything.

puchchi 03-22-2013 07:54 AM

Quote:

Originally Posted by acid_kewpie (Post 4916430)
well connect to the proxy server correctly then. This apache server appears have nothing to do with anything.

sir ,but this is not solution my problem....i m working on a project ,thats why we need to do this.....if u know solution of this problem then pls tell me,otherwise its ok...
btw this apache server host a website (www.abcd.com),,n i want to host this website only for lan ,not for whole internet,thats why i host it personally on my apache server,not on any hosting website.........

acid_kewpie 03-22-2013 08:26 AM

I just don't undersatnd the question though. You want to host an intranet site on Apache. Cool. Good for you. Do that. How your users reach the internet... well that's irrelevant to Apache. Apache is NOT a forward proxy. it doesn't, and is NOT meant to do what you're asking it to do. If you need a local proxy, then install one, like squid.

puchchi 03-22-2013 11:00 AM

Quote:

Originally Posted by acid_kewpie (Post 4916528)
I just don't undersatnd the question though. You want to host an intranet site on Apache. Cool. Good for you. Do that. How your users reach the internet... well that's irrelevant to Apache. Apache is NOT a forward proxy. it doesn't, and is NOT meant to do what you're asking it to do. If you need a local proxy, then install one, like squid.

i think you have no idea about apache server,in apache there is a module MOD_PROXY,in which you can configure such type of problem,but i dont have enough idea about MOD_PROXY module,even i google it but i got nothing valuable......

acid_kewpie 03-22-2013 02:13 PM

Why on earth are you trying to deliberately use inappropriate software for a problem that doesn't even appear to exist??


All times are GMT -5. The time now is 09:34 AM.