i have old setup that used in windows for restricting access to all parts of web app except to what under users dir but now when i try this setup in linux it gives me strange error :
Code:
The webpage at http://linux:44444/users/ has resulted in too many
  redirects. Clearing your cookies for this site or allowing third-party
 cookies may fix the problem. If not, it is possibly a server
  configuration issue and not a problem with your computer.
my httpd.conf looks like this ( for mod jk/rewrite/proxy):

PHP Code:
ProxyRequests Off
<Proxy *>
       
AddDefaultCharset off
       Order allow
,deny
       Allow from all
</Proxy>
ProxyPass /usershttp://linux:44444/jsp/index.jsp
CustomLog /home/logs/proxy_log common
ProxyPassReverse 
/usershttp://linux:44444/jsp/index.jsp

Options +FollowSymlinks
RewriteEngine   on
RewriteCond 
%{REMOTE_ADDR} !(.*$)
RewriteRule ^(.*)$ - [C]
RewriteRule ^/jsp(.*)$ /$[F,L]

#forbidden for people who tries use directly /jsp*
#this rules are important because otherwise any host can connect to jsp*...
#because request goes through proxy and tomcat gets connections from localhost .

RewriteCond %{REMOTE_ADDR} ^(.*$)|^(.*:33333$)
RewriteRule ^/jsp([^.gif.jpg]+)$ /users$[R,LRewriteRule "^/(.*)" "http://linux:44444/$1";  # main rule everything goes via PROXY
RewriteRule ^/jsp(.*).jsp$ /users/ [R,LRewriteRule "^/(.*)" "http://linux:44444/$1"; [P# main rule everything goes via PROXY
RewriteLog /home/logs/rewrite.log
RewriteLogLevel 9


LoadModule    jk_module  modules
/mod_jk.so
JkWorkerProperty worker
.list=Tomcat123
JkWorkerProperty worker
.Tomcat123.type=ajp13
JkWorkerProperty worker
.Tomcat123.host=112.xxx.xx.11x
JkWorkerProperty worker
.Tomcat123.port=33333
JkLogFile     
/home/Logs/mod_jk.log
JkLogLevel   debug
JkLogStampFormat 
"[%a %b %d %H:%M:%S %Y] "
JkRequestLogFormat     "%w %V %T %b %H %s %m %U %q"
JkMount /* Tomcat123 

logs:
PHP Code:
proxy_log
112.xxx
.xx.11x - - [14/Nov/2012:11:31:35 +0200"GET /jsp/CSM/WscNew/index.jsp HTTP/1.1" 302 312
112.xxx
.xx.5x - - [14/Nov/2012:11:31:35 +0200"GET /wsc/ HTTP/1.1" 302 312




rewrite
.log
112.xxx
.xx.11x - - [14/Nov/2012:11:31:35 +0200] [linux#xxxxxx] (2) init rewrite engine with requested uri /jsp/index.jsp
112.xxx.xx.11x - - [14/Nov/2012:11:31:35 +0200] [linux#xxxxxx] (3) applying pattern '^(.*)$' to uri '/jsp/index.jsp'
112.xxx.xx.11x - - [14/Nov/2012:11:31:35 +0200] [linux#xxxxxx] (4) RewriteCond: input='112.xxx.xx.11x' pattern='!(.*$)' => not-matched
112.xxx.xx.11x - - [14/Nov/2012:11:31:35 +0200] [linux#xxxxxx] (3) applying pattern '^/jsp([^\.gif\.jpg]+)$' to uri '/jsp/index.jsp'
112.xxx.xx.11x - - [14/Nov/2012:11:31:35 +0200] [linux#xxxxxx] (3) applying pattern '^/jsp(.*).jsp$' to uri '/jsp/index.jsp'
112.xxx.xx.11x - - [14/Nov/2012:11:31:35 +0200] [linux#xxxxxx] (2) rewrite '/jsp/index.jsp' -> '/users/'
112.xxx.xx.11x - - [14/Nov/2012:11:31:35 +0200] [linux#xxxxxx] (2) explicitly forcing redirect with http://linux:44444/users/
112.xxx.xx.11x - - [14/Nov/2012:11:31:35 +0200] [linux#xxxxxx] (1) escaping http://linux:44444/users/ for redirect
112.xxx.xx.11x - - [14/Nov/2012:11:31:35 +0200] [linux#xxxxxx] (1) redirect to http://linux:44444/users/ [REDIRECT/302]