comparison Sphinx/source/faq/apache.rst @ 0:901e8961f46e

initial commit
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 22 Apr 2016 12:57:38 +0200
parents
children 736d30badda0
comparison
equal deleted inserted replaced
-1:000000000000 0:901e8961f46e
1 .. _apache:
2
3 How can I run Orthanc behind Apache?
4 ====================================
5
6 It is possible to make Orthanc run behind Apache using the `reverse
7 proxy mechanism <https://en.wikipedia.org/wiki/Reverse_proxy>`_. To
8 map the REST API of an Orthanc server listening on the port 8000 on
9 the URI ``/Orthanc``, paste the following code in your
10 ``/etc/apache2/httpd.conf``::
11
12 LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so
13 LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so
14 ProxyRequests On
15 ProxyPass /Orthanc/ http://localhost:8000/ retry=0
16
17 *Note*: These instructions are for Ubuntu 11.10. You most probably
18 have to adapt the absolute paths above to your distribution.