You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Dejan Trop [Krofek]" <de...@krofek.net> on 2002/11/01 22:15:52 UTC

[users@httpd] Proxypass in Apache

I have Linux server RH7.2 anda Apache server. My server works on
external and internal IP addresses. I also have o that server woring web
server. Now I have one problem, because I also have on inernal network
one web server on Microsoft platform with IIS 5.0, witch I wat to see
him like my sub domain. Like http://iis.domain.com
<http://iis.domain.com/> .
 
What I already do:
 
1. In httpd.conf I write line: LoadModule proxy_module  
modules/libproxy.so
 
2. And also add this ine:
   <IfModule mod_proxy.c>
      ProxyRequests On
    <Directory proxy:*>
        Order deny,allow
        Deny from all
        Allow from .domain.com
    </Directory>
 
3. ter dodal sledeče vrsice
<VirtualHost www.domena.com>
        ServerName iis.domena.com
        ProxyPass / http://192.168.0.3/
        ProxyPassReverse / http://192.168.0.3/
</VirtualHost>
 
If I then write on IE: http://iis.domena.com <http://iis.domena.com/>
and I get error: You don't have permission to access / on this server.
 
Have anybody any idea?
 
 
--------------------------------------------------
Dejan Trop