Solved

OWA and Apache Proxy

Posted on 2006-06-22
6
610 Views
Last Modified: 2010-05-18
I can't seem to get OWA to load completely using Apache proxy, IIS, Exchange 2003, and Wins2k3.

Basic setup:

Linux 8.0, Apache 2.0.40, openssl

I've created my own certs. and setup the Linux box in my DMZ.  SSL seems to be working fine.

Exchange 2003, OWA, Wins2k3

Exchange is running on the trusted LAN and being proxied by the apache server.

SSL.conf (Proxy Portion)

<VirtualHost ip-address-of apache server:443>

DocumentRoot "/var/www/html"
ServerName FQDN of apache server:443
ErrorLog logs/ssl_error_log
TransferLog logs/ssl_access_log

RequestHeader set Front-End-Https "On"

ProxyRequests Off
ProxyPreserveHost On
ProxyVia On

ProxyPass / http://ip-address-of OWA server/exchange
ProxyPassReverse /http://ip-address-of OWA server/exchange
ProxyPass / http://ip-address-of OWA server/exchweb
ProxyPassReverse /http://ip-address-of OWA server/exchweb
ProxyPass / http://ip-address-of OWA server/public
ProxyPassReverse /http://ip-address-of OWA server/public
ProxyPass / http://ip-address-of OWA server/iisadmpwd
ProxyPassReverse /http://ip-address-of OWA server/iisadmpwd

Using the above configuration, I type https://apache-server-name.domain-name and establish a secure connection via the apache server.

I get a login screen and enter my username and password.
OWA loads but only displays the outer frames (preview panes) of the application. Where the graphics and messages should be I get the "http 404 file or directory not found" message.  OWA works correctly from the LAN connecting directly to the Exchange server: //servername/exchange/  but I can't get it to work from the outside/going through the proxy.  When I right click and select properties on the page displaying the 404 error it says it's looking for https://apache-server-name.domain-name /exchange/postmaster/Inbox/?Cmd=contents

I appreciate any ideas??

Thanks
0
Comment
Question by:wcuz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
6 Comments
 

Author Comment

by:wcuz
ID: 16972856
Anyone have an idea on this??  Do I need to provide more detail?

Thanks.....
0
 
LVL 31

Accepted Solution

by:
LeeDerbyshire earned 500 total points
ID: 16973387
I don't know much about Apache, but here goes...

You say that you are expecting to access OWA using https://apache-server-name.domain-name . Normally, you would need /exchange on the end of there, so that makes me think that you have redirected your Default Web Site on the Exchange server to OWA.  If that is the case, then you probably also need

ProxyPass / http://ip-address-of OWA server
ProxyPassReverse /http://ip-address-of OWA server

Also, you are using https, but I don't see that in your ProxyPass definitions.  Maybe you don't actually need to do that (like I say, Apache isn't something I know much about), but I thought I'd mention it.
0
 

Author Comment

by:wcuz
ID: 17095115
I solved this problem using another web resource.......  The problem ended up having to do with authentication and the way the proxypass directives were setup.  The eventual solution was to add an additional proxypass statement defining only the root directory level on the exchange server.  This allowed me to authenticate and then gave access to the required virtual directories.  I can't really see awarding points for this question as my solution didn't come from the answer provided.  Thanks for the help anyway and if points are necessary LeeDerbyshire gets them considering that was the only response....
0
 
LVL 31

Expert Comment

by:LeeDerbyshire
ID: 17095330
Hi wcuz.  I think that's what I was trying to say, although this board made a mess of the text and turned it into hyperlinks.  I'd be interested to see what your ProxyPass statements were (and so would anyone that finds this thread in the future).  Anyway, don't worry about assigning points - I don't think anyone expects it if you're not 100% satisfied, and I was only guessing anyway.
0

Featured Post

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
A couple of months ago we ran into an issue that necessitated re-creating our Edge Subscriptions. However, when we attempted to execute the command: New-EdgeSubscription -filename C:\NewEdgeSub_01.xml we received an error indicating that the LDAP se…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
how to add IIS SMTP to handle application/Scanner relays into office 365.
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question