Forum Moderators: phranque
Now, I want apache to do some simple authentication. I downloaded and loaded mod_auth, created a htpasswd file, and put in the following configuration.. (ignore, or pay attention to, the commented stuff... I was trying a bunch of different things).
I read online that location should be used when you're protecting a url and not a actual filesystem on the apache host.. Once this is enabled, it does prompt me to login, and I login, but then it forwards me to a blank page(the redirect works), so I end up at [huskar...] but it seems like it stops responding. However, if I do... [huskar...] (the admin page) it authenticates me(if I close my browser) and redirects me fine... which is really bizarre.
If I disable authentication, both work.
Below is my location statements, as well as the redirects I have in place..
Any help is most appreciated.
<Location /clearspace/>
Options FollowSymLinks
AllowOverride None
# AllowOverride FileInfo Indexes AuthConfig
# Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
AuthName "restricted stuff"
AuthType Basic
AuthUserFile /usr/local/apache/2.0.63/conf/htpasswd
require valid-user
# <Limit GET POST OPTIONS PROPFIND>
# Order allow,deny
# Allow from all
# </Limit>
# <LimitExcept GET POST OPTIONS PROPFIND>
# Order deny,allow
# Deny from all
# </LimitExcept>
</Location>
RewriteEngine On
# Redirect to correct hostname
RewriteCond %{HTTP_HOST} !huskar\.example\.com
RewriteRule ^(.*)$ [huskar.example.com$1...]
# Load ClearSpace by default
RewriteRule ^/$ /clearspace/index.jspa [R=301,L]
and for fun... my jk statements.
JkWorkersFile "/usr/local/apache/2.0.63/conf/workers.properties"
JkLogFile "/var/logs/www/mod_jk.log"
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat "%w %V %T"
JkMount /examples/* worker1 - testing
JkMount /manager/* worker2 - testing
JkMount /clearspace/* worker3
[edited by: jdMorgan at 11:15 pm (utc) on Jan. 2, 2009]
[edit reason] example.com [/edit]
Apache itself shouldn't respond with an empty page 0 byte page (status code 200 in your case?), mostly some content handlers which don't return a body nor an error status are producing such results.
Once this is enabled, it does prompt me to login, and I login, but then it forwards me to a blank page(the redirect works)
it authenticates me(if I close my browser) and redirects me fine
Since you described that two times in that order, I'm wondering what's going on at your server.
The processing with your setup should be
request by client - rewriterule matched (hook_uri2file) --> redirect
new request by client -> rewriterule didn't match -> jk_translate -> jk_map_to_storage -> no credentials/auth check not passed --> Auth response 401
new request by client -> rewriterule didn't match -> jk_translate -> jk_map_to_storage -> check user_id/authenticated -> auth check passed -> jk_handler
You may check if you reach the handler with
JkLogLevel debug or trace since mod_jk should log something.
When it works right, there are thousands of lines written to mod_jk.log, when it doesn't work right, there's only a few dozen.
btw, I've changed systems to move to the one im actually working on, so apache/tomcat both live on the same host(uxwebprep) instead of two separate hosts like before. The configs are the exact same though.
The logs don't seem to tell me anything interesting, but maybe I don't know what I'm really looking for?
tail of log when it does work(auth is disabled).
[Mon Jan 05 13:34:12 2009] [26611:1] [debug] ws_write::mod_jk.c (455): written 1480 out of 1480
[Mon Jan 05 13:34:12 2009] [26611:1] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1117): received from ajp13 pos=0 len=2 max=8192
[Mon Jan 05 13:34:12 2009] [26611:1] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1117): 0000 05 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 - ................
[Mon Jan 05 13:34:12 2009] [26611:1] [debug] ajp_process_callback::jk_ajp_common.c (1661): AJP13 protocol: Reuse is OK
[Mon Jan 05 13:34:12 2009] [26611:1] [debug] ajp_reset_endpoint::jk_ajp_common.c (691): (worker1) resetting endpoint with sd = 20
[Mon Jan 05 13:34:12 2009] [26611:1] [debug] ajp_done::jk_ajp_common.c (2522): recycling connection pool slot=0 for worker worker1
[Mon Jan 05 13:34:12 2009] worker1 uxwebprep.bedford.progress.com 0.406204 /clearspace_community253/opensearch.xml;jsessionid=EC6CEBEC4EFD90BFDEC007C59642E484
[Mon Jan 05 13:34:12 2009] [26611:1] [debug] jk_handler::mod_jk.c (2348): Service finished with status=200 for worker=worker1
whole mod_jk.log when auth is enabled(it doesnt work).
# tail -f mod_jk.log
[Mon Jan 05 13:35:39 2009] [26638:1] [debug] do_shm_open::jk_shm.c (457): Attached shared memory [5] size=28672 free=28672 addr=0xfed70000
[Mon Jan 05 13:35:39 2009] [26638:1] [debug] do_shm_open::jk_shm.c (471): Reseting the shared memory for child 5
[Mon Jan 05 13:35:39 2009] [26638:1] [debug] do_shm_open_lock::jk_shm.c (262): Duplicated shared memory lock /usr/local/apache/2.0.63/logs/jk-runtime-status.4256.lock
[Mon Jan 05 13:35:39 2009] [26638:1] [debug] jk_child_init::mod_jk.c (2730): Attached shm:/usr/local/apache/2.0.63/logs/jk-runtime-status.4256 (28672 bytes)
[Mon Jan 05 13:35:39 2009] [26638:1] [debug] jk_child_init::mod_jk.c (2740): Initialized mod_jk/1.2.26
[Mon Jan 05 13:35:39 2009] [26639:1] [debug] do_shm_open::jk_shm.c (457): Attached shared memory [6] size=28672 free=28672 addr=0xfed70000
[Mon Jan 05 13:35:39 2009] [26639:1] [debug] do_shm_open::jk_shm.c (471): Reseting the shared memory for child 6
[Mon Jan 05 13:35:39 2009] [26639:1] [debug] do_shm_open_lock::jk_shm.c (262): Duplicated shared memory lock /usr/local/apache/2.0.63/logs/jk-runtime-status.4256.lock
[Mon Jan 05 13:35:39 2009] [26639:1] [debug] jk_child_init::mod_jk.c (2730): Attached shm:/usr/local/apache/2.0.63/logs/jk-runtime-status.4256 (28672 bytes)
[Mon Jan 05 13:35:39 2009] [26639:1] [debug] jk_child_init::mod_jk.c (2740): Initialized mod_jk/1.2.26
[Mon Jan 05 13:35:51 2009] [26636:1] [debug] map_uri_to_worker::jk_uri_worker_map.c (682): Attempting to map URI '/clearspace_community253/index.jspa' from 3 maps
[Mon Jan 05 13:35:51 2009] [26636:1] [debug] find_match::jk_uri_worker_map.c (503): Attempting to map context URI '/jkstatus/*=jkstatus' source 'JkMount'
[Mon Jan 05 13:35:51 2009] [26636:1] [debug] find_match::jk_uri_worker_map.c (503): Attempting to map context URI '/jkstatus=jkstatus' source 'JkMount'
[Mon Jan 05 13:35:51 2009] [26636:1] [debug] find_match::jk_uri_worker_map.c (503): Attempting to map context URI '/*=worker1' source 'JkMount'
[Mon Jan 05 13:35:51 2009] [26636:1] [debug] find_match::jk_uri_worker_map.c (516): Found a wildchar match '/*=worker1'
[Mon Jan 05 13:35:51 2009] [26641:1] [debug] do_shm_open::jk_shm.c (457): Attached shared memory [7] size=28672 free=28672 addr=0xfed70000
[Mon Jan 05 13:35:51 2009] [26641:1] [debug] do_shm_open::jk_shm.c (471): Reseting the shared memory for child 7
[Mon Jan 05 13:35:51 2009] [26641:1] [debug] do_shm_open_lock::jk_shm.c (262): Duplicated shared memory lock /usr/local/apache/2.0.63/logs/jk-runtime-status.4256.lock
[Mon Jan 05 13:35:51 2009] [26641:1] [debug] jk_child_init::mod_jk.c (2730): Attached shm:/usr/local/apache/2.0.63/logs/jk-runtime-status.4256 (28672 bytes)
[Mon Jan 05 13:35:51 2009] [26641:1] [debug] jk_child_init::mod_jk.c (2740): Initialized mod_jk/1.2.26
[Mon Jan 05 13:35:52 2009] [26643:1] [debug] do_shm_open::jk_shm.c (457): Attached shared memory [8] size=28672 free=28672 addr=0xfed70000
[Mon Jan 05 13:35:52 2009] [26643:1] [debug] do_shm_open::jk_shm.c (471): Reseting the shared memory for child 8
[Mon Jan 05 13:35:52 2009] [26643:1] [debug] do_shm_open_lock::jk_shm.c (262): Duplicated shared memory lock /usr/local/apache/2.0.63/logs/jk-runtime-status.4256.lock
[Mon Jan 05 13:35:52 2009] [26643:1] [debug] jk_child_init::mod_jk.c (2730): Attached shm:/usr/local/apache/2.0.63/logs/jk-runtime-status.4256 (28672 bytes)
[Mon Jan 05 13:35:52 2009] [26643:1] [debug] jk_child_init::mod_jk.c (2740): Initialized mod_jk/1.2.26
[Mon Jan 05 13:35:52 2009] [26642:1] [debug] do_shm_open::jk_shm.c (457): Attached shared memory [9] size=28672 free=28672 addr=0xfed70000
[Mon Jan 05 13:35:52 2009] [26642:1] [debug] do_shm_open::jk_shm.c (471): Reseting the shared memory for child 9
[Mon Jan 05 13:35:52 2009] [26642:1] [debug] do_shm_open_lock::jk_shm.c (262): Duplicated shared memory lock /usr/local/apache/2.0.63/logs/jk-runtime-status.4256.lock
[Mon Jan 05 13:35:52 2009] [26642:1] [debug] jk_child_init::mod_jk.c (2730): Attached shm:/usr/local/apache/2.0.63/logs/jk-runtime-status.4256 (28672 bytes)
[Mon Jan 05 13:35:52 2009] [26642:1] [debug] jk_child_init::mod_jk.c (2740): Initialized mod_jk/1.2.26
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] map_uri_to_worker::jk_uri_worker_map.c (682): Attempting to map URI '/clearspace_community253/index.jspa' from 3 maps
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] find_match::jk_uri_worker_map.c (503): Attempting to map context URI '/jkstatus/*=jkstatus' source 'JkMount'
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] find_match::jk_uri_worker_map.c (503): Attempting to map context URI '/jkstatus=jkstatus' source 'JkMount'
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] find_match::jk_uri_worker_map.c (503): Attempting to map context URI '/*=worker1' source 'JkMount'
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] find_match::jk_uri_worker_map.c (516): Found a wildchar match '/*=worker1'
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] jk_handler::mod_jk.c (2222): Into handler jakarta-servlet worker=worker1 r->proxyreq=0
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] wc_get_worker_for_name::jk_worker.c (115): found a worker worker1
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] wc_maintain::jk_worker.c (323): Maintaining worker worker1
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] wc_get_name_for_type::jk_worker.c (292): Found worker type 'ajp13'
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] init_ws_service::mod_jk.c (888): Service protocol=HTTP/1.1 method=GET host=(null) addr=172.16.114.56 name=uxwebprep.bedford.progress.com port=80 auth=Basic user=dmurphy laddr=172.16.0.170 raddr=172.16.114.56 uri=/clearspace_community253/index.jspa
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_get_endpoint::jk_ajp_common.c (2579): acquired connection pool slot=0
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_marshal_into_msgb::jk_ajp_common.c (553): ajp marshaling done
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_service::jk_ajp_common.c (2050): processing worker1 with 2 retries
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_send_request::jk_ajp_common.c (1352): (worker1) all endpoints are disconnected, detected by connect check (0), cping (0), send (0)
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] jk_open_socket::jk_connect.c (448): socket TCP_NODELAY set to On
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] jk_open_socket::jk_connect.c (462): socket SO_KEEPALIVE set to On
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] jk_open_socket::jk_connect.c (548): trying to connect socket 20 to 127.0.0.1:8009
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] jk_open_socket::jk_connect.c (574): socket 20 connected to 127.0.0.1:8009
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connect_to_endpoint::jk_ajp_common.c (878): Connected socket 20 to (127.0.0.1:8009)
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): sending to ajp13 pos=4 len=762 max=8192
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 0000 12 34 02 F6 02 02 00 08 48 54 54 50 2F 31 2E 31 - .4......HTTP/1.1
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 0010 00 00 23 2F 63 6C 65 61 72 73 70 61 63 65 5F 63 - ..#/clearspace_c
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 0020 6F 6D 6D 75 6E 69 74 79 32 35 33 2F 69 6E 64 65 - ommunity253/inde
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 0030 78 2E 6A 73 70 61 00 00 0D 31 37 32 2E 31 36 2E - x.jspa...172.16.
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 0040 31 31 34 2E 35 36 00 FF FF 00 1E 75 78 77 65 62 - 114.56.....uxweb
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 0050 70 72 65 70 2E 62 65 64 66 6F 72 64 2E 70 72 6F - prep.bedford.pro
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 0060 67 72 65 73 73 2E 63 6F 6D 00 00 50 00 00 0A A0 - gress.com..P....
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 0070 01 01 0F 69 6D 61 67 65 2F 67 69 66 2C 20 69 6D - ...image/gif,.im
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 0080 61 67 65 2F 78 2D 78 62 69 74 6D 61 70 2C 20 69 - age/x-xbitmap,.i
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 0090 6D 61 67 65 2F 6A 70 65 67 2C 20 69 6D 61 67 65 - mage/jpeg,.image
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 00a0 2F 70 6A 70 65 67 2C 20 61 70 70 6C 69 63 61 74 - /pjpeg,.applicat
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 00b0 69 6F 6E 2F 78 2D 73 68 6F 63 6B 77 61 76 65 2D - ion/x-shockwave-
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 00c0 66 6C 61 73 68 2C 20 61 70 70 6C 69 63 61 74 69 - flash,.applicati
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 00d0 6F 6E 2F 76 6E 64 2E 6D 73 2D 65 78 63 65 6C 2C - on/vnd.ms-excel,
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 00e0 20 61 70 70 6C 69 63 61 74 69 6F 6E 2F 76 6E 64 - .application/vnd
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 00f0 2E 6D 73 2D 70 6F 77 65 72 70 6F 69 6E 74 2C 20 - .ms-powerpoint,.
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 0100 61 70 70 6C 69 63 61 74 69 6F 6E 2F 6D 73 77 6F - application/mswo
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 0110 72 64 2C 20 61 70 70 6C 69 63 61 74 69 6F 6E 2F - rd,.application/
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 0120 78 61 6D 6C 2B 78 6D 6C 2C 20 61 70 70 6C 69 63 - xaml+xml,.applic
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 0130 61 74 69 6F 6E 2F 76 6E 64 2E 6D 73 2D 78 70 73 - ation/vnd.ms-xps
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 0140 64 6F 63 75 6D 65 6E 74 2C 20 61 70 70 6C 69 63 - document,.applic
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 0150 61 74 69 6F 6E 2F 78 2D 6D 73 2D 78 62 61 70 2C - ation/x-ms-xbap,
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 0160 20 61 70 70 6C 69 63 61 74 69 6F 6E 2F 78 2D 6D - .application/x-m
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 0170 73 2D 61 70 70 6C 69 63 61 74 69 6F 6E 2C 20 2A - s-application,.*
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 0180 2F 2A 00 00 0F 41 63 63 65 70 74 2D 4C 61 6E 67 - /*...Accept-Lang
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 0190 75 61 67 65 00 00 05 65 6E 2D 75 73 00 00 06 55 - uage...en-us...U
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 01a0 41 2D 43 50 55 00 00 03 78 38 36 00 00 0F 41 63 - A-CPU...x86...Ac
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 01b0 63 65 70 74 2D 45 6E 63 6F 64 69 6E 67 00 00 0D - cept-Encoding...
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 01c0 67 7A 69 70 2C 20 64 65 66 6C 61 74 65 00 A0 0E - gzip,.deflate...
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 01d0 00 8F 4D 6F 7A 69 6C 6C 61 2F 34 2E 30 20 28 63 - ..Mozilla/4.0.(c
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 01e0 6F 6D 70 61 74 69 62 6C 65 3B 20 4D 53 49 45 20 - ompatible;.MSIE.
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 01f0 37 2E 30 3B 20 57 69 6E 64 6F 77 73 20 4E 54 20 - 7.0;.Windows.NT.
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 0200 35 2E 32 3B 20 57 4F 57 36 34 3B 20 2E 4E 45 54 - 5.2;.WOW64;..NET
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 0210 20 43 4C 52 20 31 2E 31 2E 34 33 32 32 3B 20 2E - .CLR.1.1.4322;..
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 0220 4E 45 54 20 43 4C 52 20 32 2E 30 2E 35 30 37 32 - NET.CLR.2.0.5072
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 0230 37 3B 20 2E 4E 45 54 20 43 4C 52 20 33 2E 30 2E - 7;..NET.CLR.3.0.
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 0240 30 34 35 30 36 2E 33 30 3B 20 2E 4E 45 54 20 43 - 04506.30;..NET.C
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 0250 4C 52 20 33 2E 30 2E 30 34 35 30 36 2E 36 34 38 - LR.3.0.04506.648
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 0260 29 00 A0 09 00 27 55 6E 69 63 61 49 44 3D 31 39 - )....'UnicaID=19
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 0270 38 2E 31 31 32 2E 37 35 2E 32 30 31 2D 31 32 32 - 8.112.75.201-122
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 0280 36 39 33 36 31 31 39 30 35 37 35 39 39 00 A0 06 - 6936119057599...
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 0290 00 0A 4B 65 65 70 2D 41 6C 69 76 65 00 A0 0B 00 - ..Keep-Alive....
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 02a0 1E 75 78 77 65 62 70 72 65 70 2E 62 65 64 66 6F - .uxwebprep.bedfo
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 02b0 72 64 2E 70 72 6F 67 72 65 73 73 2E 63 6F 6D 00 - rd.progress.com.
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 02c0 A0 05 00 1A 42 61 73 69 63 20 5A 47 31 31 63 6E - ....Basic.ZG11cn
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 02d0 42 6F 65 54 70 6B 62 58 56 79 63 47 68 35 00 A0 - BoeTpkbXVycGh5..
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 02e0 08 00 01 30 00 03 00 07 64 6D 75 72 70 68 79 00 - ...0....dmurphy.
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (934): 02f0 04 00 05 42 61 73 69 63 00 FF 00 00 00 00 00 00 - ...Basic........
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_send_request::jk_ajp_common.c (1395): (worker1) request body to send 0 - request body to resend 0
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1117): received from ajp13 pos=0 len=121 max=8192
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1117): 0000 04 00 C8 00 02 4F 4B 00 00 02 00 0A 53 65 74 2D - .....OK.....Set-
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1117): 0010 43 6F 6F 6B 69 65 00 00 4A 4A 53 45 53 53 49 4F - Cookie..JJSESSIO
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1117): 0020 4E 49 44 3D 34 31 42 31 33 37 39 37 32 30 37 31 - NID=41B137972071
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1117): 0030 38 41 31 38 34 32 43 34 41 37 41 43 31 41 37 42 - 8A1842C4A7AC1A7B
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1117): 0040 31 45 30 38 3B 20 50 61 74 68 3D 2F 63 6C 65 61 - 1E08;.Path=/clea
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1117): 0050 72 73 70 61 63 65 5F 63 6F 6D 6D 75 6E 69 74 79 - rspace_community
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1117): 0060 32 35 33 00 00 0E 43 6F 6E 74 65 6E 74 2D 4C 65 - 253...Content-Le
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1117): 0070 6E 67 74 68 00 00 01 30 00 00 00 00 00 00 00 00 - ngth...0........
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_unmarshal_response::jk_ajp_common.c (608): status = 200
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_unmarshal_response::jk_ajp_common.c (615): Number of headers is = 2
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_unmarshal_response::jk_ajp_common.c (671): Header[0] [Set-Cookie] = [JSESSIONID=41B1379720718A1842C4A7AC1A7B1E08; Path=/clearspace_community253]
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_unmarshal_response::jk_ajp_common.c (671): Header[1] [Content-Length] = [0]
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1117): received from ajp13 pos=0 len=2 max=8192
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1117): 0000 05 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 - ................
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_process_callback::jk_ajp_common.c (1661): AJP13 protocol: Reuse is OK
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_reset_endpoint::jk_ajp_common.c (691): (worker1) resetting endpoint with sd = 20
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] ajp_done::jk_ajp_common.c (2522): recycling connection pool slot=0 for worker worker1
[Mon Jan 05 13:35:54 2009] worker1 uxwebprep.bedford.progress.com 0.021795 /clearspace_community253/index.jspa
[Mon Jan 05 13:35:54 2009] [26636:1] [debug] jk_handler::mod_jk.c (2348): Service finished with status=200 for worker=worker1
I'm surprised that I didn't get any errors or anything kind of hinting to that.
I'm surprised that I didn't get any errors or anything kind of hinting to that.
As soon as I created a user of dmurphy in clearspace, it passed me through.
Maybe you can set tomcatAuthentication=false in conf/server.xml since apache http server checks if you're authenticated or not?
<Connector port="8009"
enableLookups="false" redirectPort="8443" debug="0"
protocol="AJP/1.3" tomcatAuthentication="false"/> BTW: Since your domain and password are present in the logs, may be remove the snippet.