RE: Please HELP / W A R N I N G: LoadModule order
Now the problem is that Tomcat don't receive the rewrited uri logs: 2001-07-25 15:33:03 - Ctx( ): 404 R( + /start/index.html + null) null As you can we can see, Tomcat don't receive the wanted uri: http://win.fivia.com/adfront/AdFront?access=/start/index.html Any idea ? Loïc Lefèvre -Message d'origine- De : Aaron Cooper [mailto:[EMAIL PROTECTED]] Envoyé : mercredi 25 juillet 2001 15:29 À : [EMAIL PROTECTED] Objet : RE: Please HELP / W A R N I N G: LoadModule order Hi Yes I believe at the top of httpd.conf, it is written that the order in which the modules are loaded is very important. Cheers Aaron >>> Loïc Lefèvre <[EMAIL PROTECTED]> 07/25/01 10:29am >>> Phew I've got on problem resolved (or partially resolved). It seems that the order of the LoadModule command in httpd.conf is very important !!! When I put: LoadModule jk_module modules/mod_jk.dll LoadModule rewrite_module modules/mod_rewrite.so Tomcat receive my request but when I put: LoadModule jk_module modules/mod_jk.dll LoadModule rewrite_module modules/mod_rewrite.so nothing appears ! How strange isn't it ? Loïc Lefèvre -Message d'origine- De : Loïc Lefèvre [mailto:[EMAIL PROTECTED]] Envoyé : mercredi 25 juillet 2001 15:10 À : Mailing List Tomcat Objet : Please HELP Hello, I've got the following problem: (please don't stop reading :) ) in the file mod_jk.conf: NameVirtualHost 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] 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
RE: Please HELP / W A R N I N G: LoadModule order
Hi Yes I believe at the top of httpd.conf, it is written that the order in which the modules are loaded is very important. Cheers Aaron >>> Loïc Lefèvre <[EMAIL PROTECTED]> 07/25/01 10:29am >>> Phew I've got on problem resolved (or partially resolved). It seems that the order of the LoadModule command in httpd.conf is very important !!! When I put: LoadModule jk_module modules/mod_jk.dll LoadModule rewrite_module modules/mod_rewrite.so Tomcat receive my request but when I put: LoadModule jk_module modules/mod_jk.dll LoadModule rewrite_module modules/mod_rewrite.so nothing appears ! How strange isn't it ? Loïc Lefèvre -Message d'origine- De : Loïc Lefèvre [mailto:[EMAIL PROTECTED]] Envoyé : mercredi 25 juillet 2001 15:10 À : Mailing List Tomcat Objet : Please HELP Hello, I've got the following problem: (please don't stop reading :) ) in the file mod_jk.conf: NameVirtualHost 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] 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
RE: Please HELP / W A R N I N G: LoadModule order
Phew I've got on problem resolved (or partially resolved). It seems that the order of the LoadModule command in httpd.conf is very important !!! When I put: LoadModule jk_module modules/mod_jk.dll LoadModule rewrite_module modules/mod_rewrite.so Tomcat receive my request but when I put: LoadModule jk_module modules/mod_jk.dll LoadModule rewrite_module modules/mod_rewrite.so nothing appears ! How strange isn't it ? Loïc Lefèvre -Message d'origine- De : Loïc Lefèvre [mailto:[EMAIL PROTECTED]] Envoyé : mercredi 25 juillet 2001 15:10 À : Mailing List Tomcat Objet : Please HELP Hello, I've got the following problem: (please don't stop reading :) ) in the file mod_jk.conf: NameVirtualHost 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] 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