httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Klinger <cklin...@novareto.de>
Subject [users@httpd] mod_rewrite and mod_auth_tkt problem/question!
Date Mon, 03 Jan 2005 10:50:51 GMT
Hello Apache Users,

i use mod_auth_tkt for authorization and authentication! I´ve this 
configuration

#####
#NameVirtualHost 192.168.2.10:80
<VirtualHost *:80>
        ServerName server
<Directory proxy:*>
         #SSLRequireSSL
         TKTAuthCookieName VisitorID
         TKTAuthDomain .cnbg.de
         TKTAuthLoginURL "http://server/zope/Login.htm"
         TKTAuthTimeoutURL "http://server/zope/Login.htm"
         TKTAuthTimeoutMin 60
         TKTAuthToken NULL
         TKTAuthUnauthURL "http://server/zope/Login.htm"
         TKTAuthIgnoreIP 1
         AuthType Basic
         AuthName TKTAuth
         AuthCookieName BG15-SessionID
         AuthCookieOverride Off
         AuthCookieBase64 Off
         require valid-user
</Directory>
         TKTAuthSecret "dai0Faih"
         ProxyVia On
         RewriteEngine On
         RewriteLog "/var/log/httpd/rewrite_log"
         RewriteLogLevel 9
         RewriteRule ^/zope/(.*)$ 
http://server:8080/VirtualHostBase/http/server:80/zope/bgdp/$1 [L,P]
#
         RewriteCond %{HTTP_HOST} ^.*:80$
         RewriteRule ^/(.*) 
http://otherserver:8080/VirtualHostBase/zope/$1/ [L,P]
         RewriteRule ^/(.*) 
http://otherserver:8080/VirtualHostBase/zope/$1/ [L,P]

###########



If i make a request to this VirtualHost (http://server) the mod_auth_tkt 
try to redirect me to http://server/zope/Login.htm.

Then the  RewriteRule ^/zope/(.*)$ .. match and i want to get a page 
from a zope server on the same server port 8080.

If i try this configuration I got the message "Redirection Limit 
exceeded! In the Rewrite_log i got this message!

###############
192.168.2.101 - - [03/Jan/2005:12:36:47 +0100] 
[server/sid#80e087c][rid#80eafbc/initial] (2) init rewrite engine with 
requested uri /zope/Login.htm
192.168.2.101 - - [03/Jan/2005:12:36:47 +0100] 
[server/sid#80e087c][rid#80eafbc/initial] (3) applying pattern 
'^/zope/(.*)$' to uri '/zope/Login.htm'
192.168.2.101 - - [03/Jan/2005:12:36:47 +0100] 
[server/sid#80e087c][rid#80eafbc/initial] (2) rewrite /zope/Login.htm -> 
http://server:8080/VirtualHostBase/http/server:80/zope/bgdp/Login.htm
192.168.2.101 - - [03/Jan/2005:12:36:47 +0100] 
[server/sid#80e087c][rid#80eafbc/initial] (2) forcing proxy-throughput 
with http://server:8080/VirtualHostBase/http/server:80/zope/bgdp/Login.htm
192.168.2.101 - - [03/Jan/2005:12:36:47 +0100] 
[server/sid#80e087c][rid#80eafbc/initial] (1) go-ahead with proxy 
request 
proxy:http://server:8080/VirtualHostBase/http/server:80/zope/bgdp/Login.htm 
[OK]
###############

Any hints!


thx christian


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message