Hi,
I found out not long ago that ProxyPassReverse is not enough anymore, you'll
need to add also ProxyPassReverseCookiePath:
http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypassreversecookiepathlike
as follow
ProxyPassReverseCookiePath /artifactory/ /
And if you need everything to work properly you'll need to add also "
http://mydomain" in the "Custom URL" field in Admin->Configuration->General.
Hope this help,
Fred.
On Mon, Jun 13, 2011 at 9:43 PM, Tim <[email protected]> wrote:
> Hi all
>
> I'm trying to host Artifactory behind Apache web server but I'm running
> into
> some issues.
>
> My current setup is Artifactory hosted on GlassFish.
> I'm trying to get http://mydomain.com:8080/artifactory to be visible as
> mvn.mydomain.com
>
> My Apache config is as follows:
>
> <Proxy 80>
> Order deny,allow
> Allow from all
> </Proxy>
> #ProxyPreserveHost On
> ProxyPass / http://localhost:8080/artifactory/
> ProxyPassReverse / http://localhost:8080/artifactory/
>
>
> If i goto to the login page
> (
> http://mvn.mydomain.com/webapp/login.html;jsessionid=a4a2107580a801325fdd3aa2d310
> )
> and try to login then i get the same login page with a different sessionid
> (
> http://mvn.konaconsulting.co.za/webapp/login.html;jsessionid=a4dffedfd4d98d530cb66f09e09c
> ).
> It doesn't matter if the username and login are correct or incorrect I
> always get the same page. I'm using the login page as an example, but it
> happens on all pages.
>
> Can anybody give me any tips as to what I'm missing?
>
> Thanks
> Tim
>
> --
> View this message in context:
> http://forums.jfrog.org/Hosting-Artifactory-behind-Apache-Web-Server-tp6471305p6471305.html
> Sent from the Artifactory - Users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
--
Chief Architect
JFrog Ltd
http://www.jfrog.org/
http://twitter.com/freddy33
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users