Best way to configure my apache as proxy server
senthil kumar <[email protected]> Tue, 27 Dec 2005 14:49:53 +0530
| Newsgroups | gmane.comp.apache.mod-proxy |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_6765_30630000.1135675193592 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I want to build my apache as proxy server. the end user can assess the external domain like www.yahoo.com , www.orkut.com through my apache server= . Browser <=3D=3D=3D=3D> My proxy ::8080 <=3D=3D> ext dom 1. I established the connection to my proxy https://localhost:8080 Here my question is which is the best way to proxy the request to the external domain through my apache server? and how? I am not sure is it possible way to transfer the request a. the requested external domain url as pass as the url string string like https://localhost:8080/www.yahoo.com b. the requested external domain url as pass as the argument to the url lik= e https://localhost:8080/request.a?extdom=3Dwww.yahoo.com In that case , i get the ext domain url from argument and then call the apache api to redirect the request. But I don't know is it possible. Please help me if u have any sample / solution for proxy server . Note:: I configured and loaded mod_proxy module. Regards, skumar ------=_Part_6765_30630000.1135675193592 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi,<br> <br> I want to build my apache as proxy server. the end user can assess the exte= rnal domain like <a href=3D"http://www.yahoo.com/" target=3D"_blank">www.ya= hoo.com</a> , <a href=3D"http://www.orkut.com/" target=3D"_blank">www.orkut= .com </a> through my apache server.<br> <br> Browser <=3D=3D=3D=3D> My proxy ::8080 <=3D=3D> ext dom<br> <br> 1. I established the connection to my proxy <a href=3D"https://localhost:80= 80/" target=3D"_blank">https://localhost:8080</a><br> <br> Here my question is which is the best way to proxy the request to the exter= nal domain through my apache server? and how?<br> <br> I am not sure is it possible way to transfer the request<br> a. the requested external domain url as pass as the url string string like = <a href=3D"https://localhost:8080/www.yahoo.com" target=3D"_blank">https://= localhost:8080/www.yahoo.com</a><br> <br> b. the requested external domain url as pass as the argument to the url lik= e<br> <a href=3D"https://localhost:8080/request.a?extdom=3Dwww.yahoo.com" target= =3D"_blank">https://localhost:8080/request.a?extdom=3Dwww.yahoo.com</a><br> In that case , i get the ext domain url from argument and then call the apache api to redirect the request. But I don't know is it possible.<br> <br> <br> Please help me if u have any sample / solution for proxy server .<br> <br> Note:: I configured and loaded mod_proxy module.<br> <br> Regards,<br> skumar ------=_Part_6765_30630000.1135675193592--