Hi Team, im again searching your help.
Im working with orthanc server but now i just make it work on my public ip:
181.48.123.3/orthanc
Im running this on with an apache server…someone knows how to put it to work with a domain? i´ve tried to make virtualhosts but still i cant make it works.
I really apreciate your help.
Dany
Hi Danny,
This is a question for a Apache HTTPD forum, not really OrthanC.
Make sure your apache conf file has VirtualHost entries for your domain
Is under Linux, make sure domain is also mapped in /etc/hosts file
123.123.132.12 mydomain.com
Regards,
Cedric Simon
Dear Dany,
As a complement to Cédric’s answer, here is how to use Orthanc behind Apache:
https://book.orthanc-server.com/faq/apache.html
Once the Apache reverse proxy is setup as documented in this page, please refer to the Apache documentation to use virtual hosts:
https://httpd.apache.org/docs/2.4/en/vhosts/examples.html
Regards,
Sébastien-
Hi jodogne and Cedric, first thanks for your time and knowledge, im a beginner, im trying to run onthanc in a windows so wich has a webserver with apache, my app connects to my orthanc mysqlDB and get studies información and link each exam with the webviewer, in this order, i have:
1 site running on apache (LaravelApp) in 80 port.
1 orthanc running on my port 8042.
When i try to config my apache i’ve used:
<VirtualHost *:8042>
ProxyPreserveHost On
ProxyPass “/orthanc/” “http://localhost:8042/” retry=0
ProxyPassReverse “/orthanc/” “http://localhost:8042/” retry=0
ServerName orthanc.test
But y get in my url orthanc.test => de default apache page.
Sorry for my basic questions but im trying to learn how to implement in a good way my orthanc server. The goal is run ortanc with a domain and ssl.
Thanks again.
Dany
Hello,
I would kindly invite you to get in touch with the Apache HTTP Server Users List, or maybe to ask your question on Stack Overflow, as your question is by no way specific to Orthanc.
If you feel like our FAQ about reverse proxying Orthanc through Apache is insufficient, please report back how to improve it once you get support from Apache or Stack Overflow.
Regards,
Sébastien-
1 Like
Hi everyone, i want to share my solution, finally i’ve found a way…
FIRST VHOST to redirect http requests
<VirtualHost *:8080>
ServerName mysserver.com.co
ServerAlias www.mysserver.com.co
Redirect permanent / https:/images.info-rad.com.co/
#VHOST with ssl and reverse proxy
<VirtualHost :443>
ProxyRequests On
ServerAlias mysserver.com.co
Order deny,allow
Allow from all
SSLEngine on
SSLCertificateFile “C:/Certbot/archive/cert1/cert1.pem”
SSLCertificateKeyFile “C:/Certbot/archive/cert1/privkey1.pem”
ProxyPass / http://localhost:8042/ retry=0
ProxyPassReverse / http://localhost:8042/
Header set Access-Control-Allow-Origin ""
My SSL was created with Certbot on: Certbot Instructions | Certbot
WINSTALLER: https://github.com/certbot/certbot/releases/latest/download/certbot-beta-installer-win_amd64_signed.exe
INFINIT THANKS TO ORTHANC’S TEAM.
DANY
1 Like