When DO you need IIS (or Apache)?

Cameron Kerr cameron.kerr at otago.ac.nz
Fri Jan 31 15:14:34 EST 2014


In addition to what others have written:...

Its generally considered best practice to have a webserver in front of tomcat in a production environment, as it means you can have the webserver serve up static content (and have an easier job setting caching rules), which takes the load of Tomcat and makes things generally makes for quicker load times. Similarly, it gives you a place to configure things like HTTP connection reuse.

Its easier to find operational skills in Apache (whereas in my experience Tomcat skills are closer to a developer role)

You may often have another operational desire to serve up content from the machine, such as for performance management and monitoring (eg. you might have a /statistics/ path that serves up some local content that you produce from a script. I find this is be invaluable, also because I can get Apache to use a more custom logging format that includes, amongst other things, service time, and where things were actually redirected to, etc. etc. I don't know how to do this in Tomcat... assuming its possible.

Note: The IdP's logs (as distinct from Tomcat's logs), are also useful for monitoring, but if you want to use the process logs, I strongly suggest that you change the logging format for the timestamps.

Being able to use Apache modules to handle authentication is very useful (in relation to the RemoteUser IdP authentication method), particularly where you need to inter-operate with an existing SSO system (such as many proprietary systems, or systems such as CAS, ....). As another aside, for load-testing, you could conceivably use Apache's rewrite logic (or a custom module, which is easier than you think) to set REMOTE_USER to something particular: this makes things like Apache JMeter testing scripts much easier to write (although I haven't done this for Shibboleth, I have done this with other SSO systems).

Hope this helps.
Cameron

Cameron Kerr. Sent from my iPad.
Systems Engineer, Systems Services Team, ITS, Otago University

On 1/02/2014, at 2:15 am, "Craig Caughlin" <craigcaughlin at gmail.com<mailto:craigcaughlin at gmail.com>> wrote:

If I understand it correctly, for a "basic" Shibboleth idP server, you don't need a web server like IIS or Apache - Tomcat will work just fine.

Which kind of begs the question...under what circumstances WOULD you want or NEED to have a web server application in use on your idP server?

I'm trying to plan for the future in the implementation of our Shib server and, hopefully, not have to configure it twice!

:-)
--
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net<mailto:users-unsubscribe at shibboleth.net>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20140131/176b3039/attachment.html 


More information about the users mailing list