CoolBox Posted September 8, 2007 Share Posted September 8, 2007 Hi! this isn´t a tipical question about config proxy with apache2, i know and have allready config the proxy, but now i´m trying other config ( thinking that is best ) and not rulez. Explained: I have a domain http://www.MyDomain.com alleady i have configured apache2: www.mydomain.com --> web in apache2 static one.mydomain.com ---> proxy to IIS Server in my intranet, http://iis.intranet.com the config ... file in apache2/sites-available file name is "iis" ok, some of code ( no paste complete file and names is not reals ) NameVirtualHost * <VirtualHost *> ServerAdmin blabla ServerName one.mydomain.com ServerAlias one.mydomain.com ProxyRequest Off ( is a reverse proxy for iis ) <Proxy *> Order deny,allow Allow from all </Proxy> <Location /> ProxyPass http://iis.intranet.com ProxyPassReverse http://iis.intranet.com </Location> This config is Ok, except some times when navigate on one.mydomain.com, apache show me Proxy Error bla bla bla when try GET /.... i dont know, one times fails, other times no fails... but Run, no problem ( if any know how fix this, thx ! ) Now, i think if need one subdomain for each Proxy page that i need configure, is alot... then i wanna give this config: www.mydomain.com ---> static page www.mydomain.com/iis ---> proxy to IIS I try this, in configuracion of www.mydomain.com... ProxyRequest Off <Location /test/iis> ProxyPass http://iis.intranet.com ProxyReversePass http://iis.intranet.com </Location> this Ok but... when i request www.mydomain.com/iis --> show first page ok but change url to ServerName --> www.mydomain.com/index of iis.intranet.com and positioning in a www.mydomain.com. This is, with my configuration, no run because the URL when navigate along proxy subs /iis string i was trying to rewrite request to get www.mydomain.com/test But this no run.... i try 10000000 configurations and read apache2 doc and some forum in other languajes ( Im Spanish... sorry for my poor inglish ) Any Know how i can configure this? Quote Link to comment https://forums.phpfreaks.com/topic/68446-question-with-mod_proxy-and-apache2/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.