The problem is that Apache is sending a pure HTTP with no SSL to Tomcat. So,
Artifactory does not have the information of the original request.
This is due to the mod_proxy doing the requests from Apache to Tomcat.
The normal solution is to add "ProxyPreserveHost on", but in your case it
will not work, since you are transforming HTTPS queries into HTTP.

So, you have 2 solutions:
- Make queries in HTTPS to Tomcat (Complicated HTTPS setup and heavy on CPU)
- Use mod_proxy_ajp instead of mod_proxy

HTH,
Fred.

On Thu, Sep 17, 2009 at 12:16 PM, Ricardo Alvarez <
[email protected]> wrote:

>
> Hi!
>
> We have Artifactory 2.0.2 installed on a Tomcat listening on 8080 port.
> Prior the Tomcat, we have an Apache (with mod-proxy), listening on 443
> port,
> so our users access to a HTTPS URL to get Artifactory.
>
> But we have a problem: in "Browser" tag on Artifactory, inside the browsed
> objects , we have several "HTTP" links generated from the application that
> produce "not found errors" (our Apache is using HTTPS).
>
> So, do you know how could we avoid this HTTP links?
>
> Thank you in advance!!
>
> Ricardo Álvarez
> --
> View this message in context:
> http://www.nabble.com/Problem-with-HTTPS-tp25487802p25487802.html
> Sent from the Artifactory-Users mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>



-- 
JFrog Ltd
5 Habonim st., P.O.Box 8187
Netanya, Israel 42504.
Tel: +972 9 8941444
Fax: +972 9 8659977
http://www.jfrog.org/
http://freddy33.blogspot.com/
http://nothingisinfinite.blogspot.com/
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to