view Sphinx/source/faq/apache.rst @ 324:89d4ee2e6e6e

documentation of "HasWadoRsUniversalTransferSyntax" in DICOMweb client
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 03 Mar 2020 16:29:28 +0100
parents 736d30badda0
children
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.

You might also wish to adapt the ``LimitRequestBody`` `configuration
option of Apache
<https://www.cyberciti.biz/faq/apache-limiting-upload-size/>`__ to
allow the uploading of large DICOM files if using the :ref:`REST API
<sending-dicom-images>` of Orthanc.