Nabble ate the stuff between the raw tags in my post.

Configuration:

<VirtualHost *:80>
        DocumentRoot /var/www/html
        ServerName server1.example.com
        ServerAdmin [email protected]
        ServerAlias artifactory.example.com

        LogLevel debug
        ErrorLog logs/artifactory.example.com_error.log
        CustomLog logs/artifactory.example.com_access.log combined

        <Location /artifactory >
                AuthType Kerberos
                AuthName "Artifactory Login"
                KrbMethodNegotiate On
                KrbMethodK5Passwd On
                KrbAuthRealms EXAMPLE.COM OTHERFOREST.COM WELIKETREES.COM
                require valid-user

                RewriteEngine On
                RewriteCond %{LA-U:REMOTE_USER} (.+)@.*
                RewriteRule . - [E=REMOTE_USER:%1]
                RequestHeader add REMOTE_USER %{REMOTE_USER}e
        </Location>

        ProxyPreserveHost on
        ProxyPass /artifactory http://localhost:8081/artifactory nocanon
        ProxyPassReverse /artifactory 
http://server1.example.com:8081/artifactory
</VirtualHost>

Redirect error:

[Mon Jan 05 10:09:34.505676 2015] [core:error] [pid 32679] [client 
10.100.40.149:64374] AH00125: Request exceeded the limit of 10 subrequest 
nesting levels due to probable configuration error. Use 
'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel 
debug' to get a backtrace., referer: 
http://server1.example.com/artifactory/webapp/wicket/resource/org.artifactory.web.ui.skins.GreenSkin/GreenSkin-ver-B5B84E9F49C6CF6287A971D0B6D24711.css

Debug line:

[Mon Jan 05 10:09:34.505680 2015] [core:debug] [pid 32679] core.c(3524): 
[client 10.100.40.149:64374] AH00121: r->uri = 
/artifactory/proxy:http://localhost:8081/artifactory/proxy:http://localhost:8081/artifactory/proxy:http://localhost:8081/artifactory/proxy:http://localhost:8081/artifactory/proxy:http://localhost:8081/artifactory/proxy:http://localhost:8081/artifactory/proxy:http://localhost:8081/artifactory/proxy:http://localhost:8081/artifactory/proxy:http://localhost:8081/artifactory/proxy:http://localhost:8081/artifactory/webapp/wicket/resource/org.artifactory.web.ui.skins.GreenSkin/images/buttons/checkbox/checkbox-over-on.gif,
 referer: 
http://server1.example.com/artifactory/webapp/wicket/resource/org.artifactory.web.ui.skins.GreenSkin/GreenSkin-ver-B5B84E9F49C6CF6287A971D0B6D24711.css

-Will

Will Saxon  |  System Administrator
Greenway Health  |  13545 Progress Blvd., Alachua, FL 32615
(386) 418-7341 office  |  (813) 382-8806 mobile

-----Original Message-----
From: saxonww [mailto:[email protected]]
Sent: Monday, January 5, 2015 10:37 AM
To: [email protected]
Subject: [Artifactory-users] Artifactory Pro redirect loop w/ mod_proxy

We've set up Artifactory Pro w/ an Apache 2.4 mod_proxy_http frontend. Here
is the configuration:



We're using mod_proxy_http instead of mod_proxy_ajp because we haven't
(yet?) figured out how to strip the realm from the authenticated user when
using AJP.

The above config works, i.e. a user can get to Artifactory and use the
interface, etc. But there are a lot of redirect errors in the logs like
this:



When I add debug to the configuration as suggested, I see that the redirect
URL is being built up wrong:



I'm not sure if this is an Artifactory issue or an Apache one, although we
have nearly identical configuration for several other applications which do
not produce these errors.

Has anyone else run into this? Have you resolved it?



--
View this message in context: 
http://forums.jfrog.org/Artifactory-Pro-redirect-loop-w-mod-proxy-tp7580118.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
NOTICE: This e-mail message and all attachments transmitted with it may contain 
legally privileged and confidential information intended solely for the use of 
the addressee. If the reader of this message is not the intended recipient, you 
are hereby notified that any reading, dissemination, distribution, copying, or 
other use of this message or its attachments is strictly prohibited. If you 
have received this message in error, please notify the sender immediately by 
electronic mail and delete this message and all copies and backups thereof. 
Thank you. Greenway Health.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to