When using Apache in front of Domino you need the NE rewrite attribute

Over the last week or so I have been moving to using an Apache server in front of my Domino servers. This has been working really well until I had a problem with Mark Leusink’s Auto Login’s module

The code includes some code that calls a url constructed as
/autoLogins_v113.nsf/rememberMe.xsp?to=/dev/preprodprojectlibrary.nsf

The Apache rewrite engine returns this as
/autoLogins_v113.nsf/rememberMe.xsp?to=%252Fdev%252Fpreprodprojectlibrary.nsf

whereas Domino would normally return
/autoLogins_v113.nsf/rememberMe.xsp?to=%2Fdev%2Fpreprodprojectlibrary.nsf

The solution ( via Tytus Kurek )  is to use the NE attribute in the rewrite rules as shown below.
This attribute preserves special characters such as ? and &

2014-10-23_21-29-59

Interestingly in examining what was going on it does seem as though url is being called using HTTP rather than the HTTPS protocol – I need to look into that further. This does mean that the attribute needs to be added to both the httpd.conf and the /etc/httpd/conf.d/ssl.conf files. I have updated my posts from the weekend.

Hopefully this change will not affect any other functionality – I will post if it does.

Leave a Reply

Your email address will not be published. Required fields are marked *

4 + 5 =