tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Loïc Lefèvre <llefe...@fivia.com>
Subject Please HELP
Date Wed, 25 Jul 2001 13:09:37 GMT
Hello, I've got the following problem:

(please don't stop reading :) )

in the file mod_jk.conf:

NameVirtualHost 127.0.0.1

<VirtualHost 127.0.0.1>
ServerName win.fivia.com
DocumentRoot d:/Tomcat/jakarta-tomcat-3.2.3/webapps/adfront

JkMount /*.jsp ajp12
JkMount /adfront/* ajp12

RedirectMatch /index.html $1/start/index.html

ErrorLog d:/Tomcat/log/loic_error_html.log
TransferLog d:/Tomcat/log/loic_access_html.log

RewriteEngine on
RewriteLog d:/Tomcat/log/loic_rewrite.log
RewriteLogLevel 9

RewriteCond %{REQUEST_URI} ^/servlet* [NC]
# =>
RewriteRule ^/servlet/(.*) /adfront/$1 [PT]

RewriteCond %{REQUEST_URI} !^/adfront* [NC]
RewriteCond %{REQUEST_URI} !^/Image* [NC]
RewriteCond %{REQUEST_URI} !^/Elemtech* [NC]
RewriteCond %{REQUEST_URI} !^/Erreur* [NC]
RewriteCond %{REQUEST_URI} ^/.*/.*
# =>
RewriteRule ^/(.*) /adfront/AdFront?access=/$1 [PT,QSA]
</VirtualHost>


then when I try to access http://win.fivia.com/

The module mod_rewrite transforms the uri into:

http://win.fivia.com/start/index.html

logs:
(2) init rewrite engine with requested uri /
 (3) applying pattern '^/servlet/(.*)' to uri '/'
 (3) applying pattern '^/(.*)' to uri '/'
 (4) RewriteCond: input='/' pattern='!^/adfront*' => matched
 (4) RewriteCond: input='/' pattern='!^/Image*' => matched
 (4) RewriteCond: input='/' pattern='!^/Elemtech*' => matched
 (4) RewriteCond: input='/' pattern='!^/Erreur*' => matched
 (4) RewriteCond: input='/' pattern='^/.*/.*' => not-matched
 (1) pass through /

(2) init rewrite engine with requested uri /index.html
 (3) applying pattern '^/servlet/(.*)' to uri '/index.html'
 (3) applying pattern '^/(.*)' to uri '/index.html'
 (4) RewriteCond: input='/index.html' pattern='!^/adfront*' => matched
 (4) RewriteCond: input='/index.html' pattern='!^/Image*' => matched
 (4) RewriteCond: input='/index.html' pattern='!^/Elemtech*' => matched
 (4) RewriteCond: input='/index.html' pattern='!^/Erreur*' => matched
 (4) RewriteCond: input='/index.html' pattern='^/.*/.*' => not-matched
 (1) pass through /index.html

(2) init rewrite engine with requested uri /start/index.html
 (3) applying pattern '^/servlet/(.*)' to uri '/start/index.html'
 (3) applying pattern '^/(.*)' to uri '/start/index.html'
 (4) RewriteCond: input='/start/index.html' pattern='!^/adfront*' => matched
 (4) RewriteCond: input='/start/index.html' pattern='!^/Image*' => matched
 (4) RewriteCond: input='/start/index.html' pattern='!^/Elemtech*' =>
matched
 (4) RewriteCond: input='/start/index.html' pattern='!^/Erreur*' => matched
 (4) RewriteCond: input='/start/index.html' pattern='^/.*/.*' => matched
 (2) rewrite /start/index.html -> /adfront/AdFront?access=/start/index.html

 (3) split uri=/adfront/AdFront?access=/start/index.html ->
uri=/adfront/AdFront,

args=access=/start/index.html
(2) forcing '/adfront/AdFront' to get passed through to next API
URI-to-filename handler

and then the requested uri is:

http://win.fivia.com/adfront/AdFront?access=/start/index.html

BUT it does nothing (tomcat receive NO request).

And when I try manually to access

http://win.fivia.com/adfront/AdFront?access=/start/index.html

Tomcat receive and process the uri !!!!!!!!!!!!!!!!!!!!!!!!

What's the problem ???
Please HELP

Loïc Lefèvre



Mime
View raw message