Please confirm this parameter in $APACHE_HOME/conf/httpd.conf
Listen 80

Martin 
______________________________________________ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business 
of Sender. This transmission is of a confidential nature and Sender does not 
endorse distribution to any party other than intended recipient. Sender does 
not necessarily endorse content contained within this transmission. 


> From: [EMAIL PROTECTED]
> To: users@tomcat.apache.org
> Subject: Apache mod_jk and Tomcat not working correctly
> Date: Sun, 26 Oct 2008 17:17:13 -0500
> 
> my setup:
>     WinXP Home
>     Wed-Dev install of:
>         Apache/2.2.3 (Win32)
>         Tomcat 5
>         PHP 5.2.0
> 
> I have mod_jk connector set up the following way according to
> instructions:
> 
> Alias /dwr-examples "/www/tomcat5/webapps/dwr-examples/"
> 
>  <Directory "/www/tomcat5/webapps/dwr-examples/">
>   Options Indexes FollowSymLinks
>   AllowOverride None
>   Order deny,allow
>   Deny from all
>   Allow from all
> 
>   AddType text/html .php .phps
>   AddHandler application/x-httpd-php .php
>   AddHandler application/x-httpd-php-source .phps
>  </Directory>
> 
> mod_jk setup:
>     LoadModule jk_module modules/mod_jk.so
> 
> <IfModule jk_module>
>      JkWorkersFile conf/Suite-extra/workers.properties
>      JkLogFile logs/mod_jk.log
>      JkLogLevel warn
>      JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
>      JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
>      JkRequestLogFormat "%w %V %T"
> 
>     <Location /*/WEB-INF/*>
>          # AllowOverride None
>           deny from all
>      </Location>
> 
>     JkMount /dwr-examples/*.jsp ajp13worker1
>     JkMount /dwr-examples/*.jspx ajp13worker1
>     JkUnMount /dwr-examples/*.html  ajp13worker1
>     JkUnMount /dwr-examples/*.htm  ajp13worker1
>     JkUnMount /dwr-examples/*.png  ajp13worker1
>     JkUnMount /dwr-examples/*.jpg  ajp13worker1
>     JkUnMount /dwr-examples/*.jpeg  ajp13worker1
>     JkUnMount /dwr-examples/*.gif  ajp13worker1
>     JkUnMount /dwr-examples/*.ico  ajp13worker1
>     JkUnMount /dwr-examples/*.php  ajp13worker1
> 
> </IfModule>
> 
> Everthing works using port 8080 but I am getting the following error in the
> error.log in Apache when I use port
> 80 ie: http://localhost:8080/dwr-examples/ vs http://localhost/dwr-examples/
> 
> 
> [Sun Oct 26 15:11:32 2008] [notice] ModSecurity for Apache 2.0.4 configured
> [Sun Oct 26 15:11:34 2008] [notice] Apache/2.2.3 (Win32) PHP/5.2.0
> mod_ssl/2.2.3 OpenSSL/0.9.8d mod_jk/1.2.19 mod_perl/2.0.3-dev Perl/v5.8.8
> configured -- resuming normal operations
> [Sun Oct 26 15:11:34 2008] [notice] Server built: Nov 15 2006 21:34:51
> [Sun Oct 26 15:11:34 2008] [notice] Parent: Created child process 268
> [Sun Oct 26 15:11:36 2008] [notice] ModSecurity for Apache 2.0.4 configured
> [Sun Oct 26 15:11:38 2008] [notice] Child 268: Child process is running
> [Sun Oct 26 15:11:38 2008] [notice] Child 268: Acquired the start mutex.
> [Sun Oct 26 15:11:38 2008] [notice] Child 268: Starting 250 worker threads.
> [Sun Oct 26 15:11:38 2008] [notice] Child 268: Starting thread to listen on
> port 443.
> [Sun Oct 26 15:11:38 2008] [notice] Child 268: Starting thread to listen on
> port 80.
> [Sun Oct 26 15:11:51 2008] [error] [client 127.0.0.1] File does not exist:
> C:/www/tomcat5/webapps/dwr-examples/dwr, referer:
> http://localhost/dwr-examples/
> [Sun Oct 26 15:11:51 2008] [error] [client 127.0.0.1] File does not exist:
> C:/www/tomcat5/webapps/dwr-examples/dwr, referer:
> http://localhost/dwr-examples/
> [Sun Oct 26 15:11:51 2008] [error] [client 127.0.0.1] File does not exist:
> C:/www/tomcat5/webapps/dwr-examples/dwr, referer:
> http://localhost/dwr-examples/
> [Sun Oct 26 15:11:52 2008] [error] [client 127.0.0.1] File does not exist:
> C:/www/webroot/favicon.ico
> [Sun Oct 26 15:11:55 2008] [error] [client 127.0.0.1] File does not exist:
> C:/www/webroot/favicon.ico
> 
> Where /DWR is a servlet in Tomcat that works properly under port:8080
> 
> When I installed this originally I had the same trouble and through great
> effort got it working right. Then I built an elaborate webapp and lost the
> drive. The
> backup I had was only of the webapp and not the server setup, dumb me!
> 
> One of the things I thought I had to do for some reason, maybe not related
> to this problem, was remove a security rule or two from either apache or
> tomcat because it was causing a problem.
> I also am getting this from the stdout_.log and don't know if this is
> related.
> 
> INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain:
> [org.apache.webapp.balancer.RuleChain:
> [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News /
> Redirect URL: http://www.cnn.com],
> [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name:
> paramName / Target param value: paramValue / Redirect URL:
> http://www.yahoo.com],
> [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL:
> http://jakarta.apache.org]]
> 
> Unfortunatly I don't know much if anything about the security rules? Anyone
> see anything that is obviously wrong? 
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

_________________________________________________________________
Want to read Hotmail messages in Outlook? The Wordsmiths show you how.
http://windowslive.com/connect/post/wedowindowslive.spaces.live.com-Blog-cns!20EE04FBC541789!167.entry?ocid=TXT_TAGLM_WL_hotmail_092008

Reply via email to