Setup Artifactory with empty path

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Setup Artifactory with empty path


I want to host an Artifactory server behind Apache and have it to be accessible without any path (like "/artifactory"). I have a DNS "" and I want that DNS leads exactly to the Artifactory.

I read this:

I added an AJP connector in Artifactory TomCat's config and added the following VHost in Apache config:

<VirtualHost *:80>
    ProxyRequests Off
    ProxyPreserveHost On
    <Proxy *>
        Order deny,allow
        Allow from all
    ProxyPass / ajp://localhost:8022/
    ProxyPassReverse / ajp://localhost:8022/

This works and I can access my Artifactory via "".
Now I want to have it on ""

How to do this?

I tired to add path to:
    ProxyPass / ajp://localhost:8022/artifactory/
    ProxyPassReverse / ajp://localhost:8022/artifactory/
This doesn't work.