no problem as long as you can be extremely specific on what you have and where it will be implemented
(DWR is a Bean Server technology from Joe Walker but probably wont help for this implementation...) start with the php part..if you want to use the php binary start with a Handler configuration in Apache $APACHE_HOME/conf/httpd.conf AddHandler cgi-script .php Options FollowSymLinks +ExecCGI Options +ExecCGI and the test page looks something like #!$PHP_INFO/php.exe <?php phpinfo(); ?> 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: Re: Apache mod_jk and Tomcat not working correctly > Date: Sun, 26 Oct 2008 19:18:49 -0500 > > Apache is suppose to serve /dwr-examples and /dwr-examples/dwr just not any > jsp or jspx that is called for > > > Alias /dwr-examples "/www/tomcat5/webapps/dwr-examples/" > > also covers URLs like "/dwr-examples/dwr", and so it is Apache trying to > > serve it, it is never re-directed to Tomcat by mod_jk, it does not even > > get that far. > > I kind of get what you are saying and will try > > > AliasMatch /dwr-examples/(.*\.(html?|jpg|php))$ > > /www/tomcat5/webapps/dwr-examples/$1 > > > > (I put html?|jog|php .. because I don't remember how to say "not .jsp") > > but the alias structure I posted is the way I always had it and it worked, > but not before I made some other fixes that I don't remember. > > I'm not quite understanding what you want me to try though. > Do you mean get rid of the current Alias code and replace it with > > AliasMatch /dwr-examples/(.*\.(html?|jpg|php))$ > /www/tomcat5/webapps/dwr-examples/$1 > > or use it in addition to it and where exactly should it go? > Prior to the JkMount /dwr-examples/*.jsp ajp13worker1 > > Forgive me for being so dense but this is new to me! > > ----- Original Message ----- > From: "André Warnier" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <users@tomcat.apache.org> > Sent: Sunday, October 26, 2008 6:36 PM > Subject: Re: Apache mod_jk and Tomcat not working correctly > > > >I think your Alias at the beginning has "more priority" than your > > JkMount later. > > Not that the order in the config file matters, that's not what I mean. > > What I mean is : > > Alias /dwr-examples "/www/tomcat5/webapps/dwr-examples/" > > also covers URLs like "/dwr-examples/dwr", and so it is Apache trying to > > serve it, it is never re-directed to Tomcat by mod_jk, it does not even > > get that far. > > Try maybe (one line) > > AliasMatch /dwr-examples/(.*\.(html?|jpg|php))$ > > /www/tomcat5/webapps/dwr-examples/$1 > > > > (I put html?|jog|php .. because I don't remember how to say "not .jsp") > > > > > > Wayne Bragg wrote: > >> I guess I need to add, going through http port 80 works with no errors > >> for everything except .jsp to tomcat > >> > >> ----- Original Message ----- From: "Martin Gainty" <[EMAIL PROTECTED]> > >> To: "Tomcat Users List" <users@tomcat.apache.org> > >> Sent: Sunday, October 26, 2008 5:41 PM > >> Subject: RE: Apache mod_jk and Tomcat not working correctly > >> > >> > >> > >> 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 > >> > >> > >> > >> -------------------------------------------------------------------------------- > >> > >> > >> > >> > >> No virus found in this incoming message. > >> Checked by AVG - http://www.avg.com > >> Version: 8.0.175 / Virus Database: 270.8.3/1747 - Release Date: > >> 10/26/2008 9:27 AM > >> > >> > >> --------------------------------------------------------------------- > >> To start a new topic, e-mail: users@tomcat.apache.org > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > > > > > > --------------------------------------------------------------------- > > To start a new topic, e-mail: users@tomcat.apache.org > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > -------------------------------------------------------------------------------- > > > > No virus found in this incoming message. > Checked by AVG - http://www.avg.com > Version: 8.0.175 / Virus Database: 270.8.3/1748 - Release Date: 10/26/2008 > 7:53 PM > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > _________________________________________________________________ Store, manage and share up to 5GB with Windows Live SkyDrive. http://skydrive.live.com/welcome.aspx?provision=1?ocid=TXT_TAGLM_WL_skydrive_102008