[jcifs] Davenport + mod_proxy_ajp

Chris St. Pierre stpierre at NebrWesleyan.edu
Wed Jan 23 15:20:48 GMT 2008


I've got Davenport installed and working on port 8080.  I want to
proxy it through Apache on port 80, and make a particular CIFS server
the default application.  In other words, when I visit
http://webserver.example.com, the request should be proxied through
AJP13 to mimic a request to http://webserver.example.com:8080/huxley,
"Huxley" being the name of our principle fileserver.

I've tried these configurations:

ProxyPass / ajp://127.0.0.1:8009/huxley/
ProxyPassReverse / ajp://127.0.0.1:8009/huxley/

ProxyPass / ajp://127.0.0.1:8009/huxley
ProxyPassReverse / ajp://127.0.0.1:8009/huxley

Since neither of those worked (more about which later), I also tried
these:

ProxyPass /huxley ajp://127.0.0.1:8009/huxley/
ProxyPassReverse /huxley ajp://127.0.0.1:8009/huxley/

ProxyPass /huxley ajp://127.0.0.1:8009/huxley
ProxyPassReverse /huxley ajp://127.0.0.1:8009/huxley

I've set up mod_proxy_ajp with Tomcat web apps before, but never
trying to proxy through the web root (e.g., ProxyPass / ...), so I
figured I'd give it a go the ol' familiar way.

In both cases, the client starts what appears to be an infinite chain
of identical requests:

10.9.2.11 - - [23/Jan/2008:08:48:21 -0600] "GET / HTTP/1.1" 401 20 "-"
"Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.8 (like
Gecko)"
10.9.2.11 - - [23/Jan/2008:08:48:21 -0600] "GET / HTTP/1.1" 401 20 "-"
"Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.8 (like
Gecko)"
10.9.2.11 - - [23/Jan/2008:08:48:21 -0600] "GET / HTTP/1.1" 401 20 "-"
"Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.8 (like
Gecko)"

... and on and on.  Some browsers, like IE, appear to detect this and
error out after two identical requests.

What am I doing wrong?  Thanks!

Chris St. Pierre
Unix Systems Administrator
Nebraska Wesleyan University


More information about the jcifs mailing list