I am trying to set up reverse proxy for Domino iNotes. I want use adress email-test.domain.com It works until I log in. After it redirect me back to email.domain.com. How can I keep my proxy adress and SLL certificate ?

Here is my settings on proxy server:

<VirtualHost *:80>
        ServerName email-test.domain.com
        Redirect / https://email-test.domain.com/

<VirtualHost *:443>
        ServerName email-test.domain.com
        CustomLog /var/log/httpd/access_email.log vcombined
        ProxyRequests off
        SSLProxyEngine on
        ProxyPass / https://email.domain.com/
        ProxyPassReverse / https://email.domain.com/
        ProxyPreserveHost On
        SetOutputFilter proxy-html
        ProxyHTMLURLMap / /
        RequestHeader unset Accept-Encoding
        SSLEngine on
        SSLProtocol all -SSLv2 -SSLv3
        SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
        SSLCertificateFile /etc/pki/tls/certs/localhost.crt
  • what's the whole url scheme it redirects you to? – ezra-s Jan 22 '18 at 11:43
  • Do you use a iwaredir.nsf? If yes: How is it configured? You need to use "Dynamic" as type if you want to keep thr url after redirection... – Torsten Link Jan 22 '18 at 13:16
  • ezra-s: it starts with this url email-test.domain.com/iwaredir.nsf?Open after redirecting is email.domain.com/mail/jrychtar.nsf?OpenDatabase – Ian Jan 23 '18 at 8:15
  • Torsten Link: It is set Fixed.When I switch to Dynanamic its not work even at Apache proxy which is on Domino server – Ian Jan 23 '18 at 11:53

After redirecting if I change url in browser to email-test it works

So I tryed add rewrite:

RewriteEngine On RewriteCond %{REQUEST_URI} !email.domain.* RewriteRule ^(.*)$ https://email-test.domain.com$1 [R]

But no success. It creates loop. Any suggestions ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.