Show Table of Contents
4.3. Custom HTTP Services
With ERB templates you can expose cartridge services using an application's URL by placing the Apache configuration code in the
httpd.d directory.
After OpenShift Enterprise runs the cartridge
setup script, it processes each ERB template and writes the contents of the node's httpd configuration.
Example 4.7. A mongodb.conf.erb File
Alias /health <%= ENV['OPENSHIFT_HOMEDIR'] + "/mongodb/httpd.d/health.html" %> Alias / <%= ENV['OPENSHIFT_HOMEDIR'] + "/mongodb/httpd.d/index.html" %>

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.