Reverse Proxy HTTPD.conf file help

Hi all

Need some help here

I have a IBM HTTP Server running to access mail files on a internal network. Internally all works well you can login to the box and get you email via the browser. However external you get the login page and when you enter your username and password the browser waits for a while and then displays a The page cannot be found. However if i then put the full url in so add /mail/*.nsf it carrys on working.

Below is my conf file Can anyone see whats going wrong.

The login page is a simply DB that takes your username and password and checks the names.nsf then finds out where your located on the backend server.

ProxyPass / http://server ip internal/

ProxyPassReverse / http://server ip internal/

RewriteCond %{REQUEST_URI} ^/APPS

RewriteCond %{REQUEST_URI} ^/iNotes

RewriteCond %{REQUEST_URI} ^/mail

RewriteCond %{REQUEST_URI} ^/domino

RewriteCond %{REQUEST_URI} ^/domino/java

RewriteCond %{REQUEST_URI} ^/domino/icons

RewriteCond %{REQUEST_URI} ^/domino/html

RewriteRule ^(.).nsf(.) http://server IP internal/mail$1.nsf$2 [P]

Thanks in advance.