[users@httpd] RPC over HTTP via apache fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all!
I've tried getting RPC over HTTP working via apache 2.2.0-5.1.2 running =
on a Fedora Core 5 box onto my SBS 2003, as I do not want to expose the =
complete IIS server to the internet.
OWA works fine, but I can't get the RPC part working at all (Outlook =
tries to connect and times out after a few minutes. "Outlook /rpcdiag" =
shows that no connection is established).
I verified that the certificate is installed on the client, the =
configuration of RPC via HTTPis fine.
Exchange on the SBS has been set to be a backend server (no change when =
I leave it unconfigured though).
When bypassing the apache (passing port 443 directly to my IIS), the =
connection is established and everything works fine.

I think it's a problem how apache handles the execution of the =
rpcproxy.dll.
When opening https://exchange/rpc/rpcproxy.dll, a blank page is =
displayed after authentication (this is how it should be).
When opening https://webmail.domain.com/rpc/rpcproxy.dll, IE tries (and =
fails) downloading the .dll file with the error "Internet Explorer =
cannot download rpcproxy.dll from webmail.domain.com. The same problem =
appears with Firefox.

My apache error log shows the following:
-----
[19/Apr/2006:09:49:37 +0100] "GET /rpc/rpcproxy.dll HTTP/1.1" 401 1656
[19/Apr/2006:09:49:39 +0100] "GET /rpc/rpcproxy.dll HTTP/1.1" 503 -
-----
while my IIS shows this:
-----
2006-04-19 08:49:50 192.168.0.5 GET /rpc/rpcproxy.dll - 443 - =
192.168.0.2 =
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322=
;+InfoPath.1;+.NET+CLR+2.0.50727) 401 2 2148074254
2006-04-19 08:49:52 192.168.0.5 GET /rpc/rpcproxy.dll - 443 user =
192.168.0.2 =
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322=
;+InfoPath.1;+.NET+CLR+2.0.50727) 200 0 0
-----
(192.168.0.2 is apache, 192.168.0.5 the SBS 2003)
How come apache shows this as message 503 even though the SBS send's it =
out as 443?

Has anyone got this working with apache 2.0?

This is the config for the redirection:
<VirtualHost 192.168.0.2:443>
DocumentRoot /var/www/html
ServerName webmail.domain.com
AddDefaultCharset UTF-8
RequestHeader unset accept-encoding
HostnameLookups Off
UseCanonicalName Off
ProxyPreserveHost On
SSLProxyEngine On
SSLProtocol All
SSLEngine On
### RPC over HTTP ###
ProxyPass /rpc https://192.168.0.5/rpc/
ProxyPassReverse /rpc https://192.168.0.5/rpc/
### Outlook Web Access ###
ProxyPass /exchange https://192.168.0.5/exchange/
ProxyPassReverse /exchange https://192.168.0.5/exchange/
ProxyPass /exchweb https://192.168.0.5/exchweb/
ProxyPassReverse /exchweb https://192.168.0.5/exchweb/
ProxyPass /public https://192.168.0.5/public/
ProxyPassReverse /public https://192.168.0.5/public/
### Active Sync ###
ProxyPass /oma https://192.168.0.5/oma/
ProxyPassReverse /oma https://192.168.0.5/oma/
ProxyPass /Microsoft-Server-ActiveSync =
https://192.168.0.5/Microsoft-Server-ActiveSync/
ProxyPassReverse /Microsoft-Server-ActiveSync =
https://192.168.0.5/Microsoft-Server-ActiveSync/
###
ErrorLog logs/exchange_ssl_error_log
TransferLog logs/exchange_ssl_access_log
SSLCertificateFile /etc/httpd/cert/server.crt
SSLCertificateKeyFile /etc/httpd/cert/server.key
### Extras ###
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
</VirtualHost>

Thank you very much for your help, it's very appreciated :)

Regards,
Sebastian Prochnow





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux