« Return to Thread: Artifactory repository serving URLs that point to localhost:8080

Re: Artifactory repository serving URLs that point to localhost:8080

by Yoav Landman :: Rate this Message:

Reply to Author | View in Thread

Hi Tim,

You need to use - ProxyPreserveHost on
as suggested here: http://wiki.jfrog.org/confluence/display/RTF/Running+Behind+Apache+HTTPD
That should resolve the wrong URLs.

The deployment errors you are getting indicate a permission configuration problem.
Did you give the user in question "deploy" permissions on the repository path you try to deploy into (you can temporarily make the user an admin to verify it's a permission issue). Also, the server-side artifactory.log should contain more information on why deployment failed.

HTH,

Yoav

On Mon, Jun 29, 2009 at 12:54 AM, Tim Boudreau <tboudreau@...> wrote:


Tim Boudreau wrote:
>
> This is probably a dumb newbie question, but here goes:
>

Looking further into it, it appears that the urls are correct if I go to
http://timboudreau.com:8080/artifactory (but I do want to close this port
soon - this is a jerry-rigged home server on an old laptop).

So I'm guessing this is actually an apache configuration issue.  I know this
is not an apache list, so let me know if I should move this thread elsewhere
- but perhaps somebody has this working?  This is the httpd.conf section
that enables Apache to proxy Artifactory over port 80:

       <Location /mvn/>
           ProxyPass http://localhost:8080/artifactory/
           ProxyPassReverse http://localhost:8080/artifactory/
           ProxyHTMLURLMap /mvn/ /artifactory/
#            RewriteEngine On
#           SetOutputFilter INFLATE;proxy-html;DEFLATE
       </Location>

(the two commented lines were flailing attempts to get this working that had
no effect).

Anybody have this working and feel like sharing how they configured Apache?
Feel free to email me privately if this is an inappropriate topic for this
list.

Best regards,

Tim

--
View this message in context: http://n2.nabble.com/Artifactory-repository-serving-URLs-that-point-to-localhost%3A8080-tp3171245p3171292.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users


------------------------------------------------------------------------------

_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users

 « Return to Thread: Artifactory repository serving URLs that point to localhost:8080