Last active
December 11, 2015 20:59
-
-
Save louiszuckerman/4658921 to your computer and use it in GitHub Desktop.
kibana on passenger in a subdirectory of an existing apache virtual host
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# These instructions are derived from the Passenger documentation, | |
# http://www.modrails.com/documentation/Users%20guide%20Apache.html#deploying_rack_to_sub_uri | |
# And tested with kibana git master on 1/28/13 | |
# First, create a symlink from the existing virtualhost's | |
# document root to your kibana installation's public/static | |
# directory. for example, | |
# ln -s /path/to/kibana/public /var/www/kibana | |
# kibana 0.2.0 and earlier will have a /static directory | |
# instead of /public | |
# Now add these lines to your existing apache virtualhost | |
RewriteEngine On | |
RewriteRule /kibana$ /kibana/ [R=301] | |
RackBaseURI /kibana |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment