Adding custom HTTP headers to Domino R9 using IBM HTTP Server (IHS)

IBM HTTP Server (IHS) was added to R9 so that we could have TLS support for HTTPS encryption. For more on how to do that see Russ Maher’s post(s) on the subject.

Under the covers IHS is really a modified version of Apache Web server and comes with some of the Apache options. It gives us the ability to add custom headers to all pages served up by the server.

You can turn IHS on by adding the following to your notes.ini – this does require a full reboot

HTTPIHSEnabled=1

When the server loads you will now see this on the console

ihs1

 

httpd.conf

httpd.conf is a configuration file which is used by the Apache HTTP Server. It stores information on various functions of the server, which can be edited by removing or adding a number sign “#” at the beginning of the line, thus setting values for each directive.

In the picture above you can see that on the Domino server there is actually a “domino.conf” file.

Adding Headers

You can add headers to the whatever.conf file in the following manner

<IfModule mod_headers.c>
Header set MarkyRoden "Was_Here"
</IfModule>

Result

Adding this to the server and restarting gives us the following

ihs2

 Conclusion

Adding custom HTTP Headers can be done a number of ways in Domino, this is a new one to me. I expect there are other things that we can do with IHS, just need to delve into them.

 

Advertisement

6 thoughts on “Adding custom HTTP headers to Domino R9 using IBM HTTP Server (IHS)

    • Nice!!! It is actually funny you said that because my mind went there as well but I wondered if you could copy the proxy modules and web sockets into IHS. I don’t know what version of apache though – I expect IHS is faaaar from the current version of apache

  1. There are two caveats with the IHS implementation: it’s currently Windows-only and only a local IHS installation is supported (haven’t played with it to make it run on a remote box). If those restrictions get removed it’ll be real enterprise ready…

  2. I rarely leave remarks, however i did some searching and wound
    up here Adding custom HTTP headers to Domino R9 using IBM HTTP Server (IHS)
    « Xomino. And I do have a couple of questions for you if you usually do not
    mind. Is it simply me or does it look as if like a few of these responses look like coming from brain dead visitors?
    😛 And, if you are posting at additional sites, I would
    like to keep up with anything new you have to post.
    Would you list of every one of all your community sites like
    your linkedin profile, Facebook page or twitter feed?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s