I want to host an Artifactory server behind Apache and have it to be accessible without any path (like "/artifactory"). I have a DNS "artifacts.mycompany.com" and I want that DNS leads exactly to the Artifactory.
I added an AJP connector in Artifactory TomCat's config and added the following VHost in Apache config:
<VirtualHost *:80> ServerName artifacts.mycompany.com
<Proxy *> Order deny,allow
Allow from all
</Proxy> ProxyPass / ajp://localhost:8022/
ProxyPassReverse / ajp://localhost:8022/