How to get Email Banners working when Novell Service Desk is running under SSL via Apache Web Server

  • 7012278
  • 22-Jun-2009
  • 15-Jan-2015

Environment

Novell Service Desk

Situation

This TID details the changes required (for an Apache web server) in order for banners in emails to be served correctly as images.

Resolution

The URL's contained in the emails that reference the banners will require a slight modification to the Apache configuration in order to correctly allow clients to load the banners.

Note: This requires the mod_rewrite Apache extension to be installed.

Modify the httpd.conf file and add the following to the end of the file.

============================================================

RewriteEngine On
RewriteLog /var/apache2/logs/rewrite.log
RewriteLogLevel 0

# everything else is handled by our application
# Redirect the default to our application
RewriteRule ^/$ /Novell Service Desk/WebObjects/Novell Service Desk.woa [R]

# Make sure we do not map our image directory via SSL and so make it the last in the chain
RewriteRule ^/Novell Service Desk/images/banners/(.*)$ /Novell Service Desk/images/banners/$1 [L]

# If not SSL redirect all request to SSL
RewriteCond %{HTTPS} off
RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [R]

============================================================

No changes are required for Novell Service Desk Appliances as this modification is part of the default install. Apache will now redirect http requests for Novell Service Desk images to the SSL port.

Additional Information

Formerly known as 1000675