Mercurial > hg > orthanc-book
view Sphinx/source/faq/apache.rst @ 4:9f07e8abf8c3 dev
getting ready for python virtual env
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Sat, 23 Apr 2016 16:10:28 +0200 |
parents | 901e8961f46e |
children | 736d30badda0 |
line wrap: on
line source
.. _apache: How can I run Orthanc behind Apache? ==================================== It is possible to make Orthanc run behind Apache using the `reverse proxy mechanism <https://en.wikipedia.org/wiki/Reverse_proxy>`_. To map the REST API of an Orthanc server listening on the port 8000 on the URI ``/Orthanc``, paste the following code in your ``/etc/apache2/httpd.conf``:: LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so ProxyRequests On ProxyPass /Orthanc/ http://localhost:8000/ retry=0 *Note*: These instructions are for Ubuntu 11.10. You most probably have to adapt the absolute paths above to your distribution.