Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 80867 invoked from network); 1 Sep 2007 10:50:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Sep 2007 10:50:46 -0000 Received: (qmail 34145 invoked by uid 500); 1 Sep 2007 10:50:29 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 34117 invoked by uid 500); 1 Sep 2007 10:50:29 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 34099 invoked by uid 99); 1 Sep 2007 10:50:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Sep 2007 03:50:29 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=NORMAL_HTTP_TO_IP,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [213.133.104.107] (HELO www107.your-server.de) (213.133.104.107) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Sep 2007 10:50:22 +0000 Received: from [196.6.129.216] (helo=DSM1) by www107.your-server.de with esmtpa (Exim 4.63) (envelope-from ) id 1IRQY8-0002Oz-Bw for users@tomcat.apache.org; Sat, 01 Sep 2007 12:49:58 +0200 From: "Evert Hoff" To: "'Tomcat Users List'" Subject: RE: Tomcat Connector: Attempting to map URI '/examples/index.html' from 0 maps Date: Sat, 1 Sep 2007 12:49:53 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 Thread-Index: AcfsWL+mICB+1w3CQbqX1o2r69EF9QAKmt0Q In-Reply-To: <46D93C38.2040803@kippdata.de> Message-Id: X-Authenticated-Sender: evert@omnisol.co.za X-Virus-Scanned: Clear (ClamAV 0.91.1/4116/Sat Sep 1 11:45:00 2007) X-Virus-Checked: Checked by ClamAV on apache.org Hi Rainer, > Looks like you've got more than one virtual host in the httpd > configuration. JkMounts are not inherited between virtual hosts. > Although there is the directive JkMountCopy to inherit > JkMount between vhosts, I would expect that not to help in > your situation (localshot:80 vs. 127.0.0.1:80). So either > > - define the same JkMounts in the other vhost > I don't know how to do this. I've tried putting the IP address of the server in the conf/auto/mod_jk.conf, but this hasn't made a difference. The server's domain is www2.noteworthynewsletters.com and this virtual host is setup in Plesk. But, whether I try to browse to http://www2.noteworthynewsletters.com/examples or without the virtual host to http://147.202.46.205/examples, I get the same problem. Below is the file that Plesk generated with the virtual domain: ==================================== [root@server2 auto]# cd /etc/httpd/conf.d/ [root@server2 conf.d]# ls fcgid.conf perl.conf python.conf ssl.conf welcome.conf zz011_sitebuilder.conf mailman.conf php.conf README webalizer.conf zz010_psa_httpd.conf [root@server2 conf.d]# cat zz010_psa_httpd.conf NameVirtualHost 72.36.192.154:80 NameVirtualHost 72.36.192.154:443 ServerName server2.noteworthynewsletters.com ServerAdmin evert@openminds.co.za DocumentRoot /var/www/vhosts/default/htdocs LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" plesklog LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" plesklog AllowOverride All Options SymLinksIfOwnerMatch Order allow,deny Allow from all php_admin_flag engine off php_admin_flag engine off AllowOverride All Options SymLinksIfOwnerMatch Order allow,deny Allow from all php_admin_flag engine off php_admin_flag engine off UserDir disabled Include /var/www/vhosts/noteworthynewsletters.com/conf/httpd.include ServerName default UseCanonicalName Off DocumentRoot /var/www/vhosts/default/htdocs ScriptAlias /cgi-bin/ "/var/www/vhosts/default/cgi-bin/" SSLEngine off AllowOverride None Options None Order allow,deny Allow from all php_admin_flag engine on php_admin_flag safe_mode on php_admin_value open_basedir "/var/www/vhosts/default/htdocs:/tmp" php_admin_flag engine on php_admin_flag safe_mode on php_admin_value open_basedir "/var/www/vhosts/default/htdocs:/tmp" CustomLog /var/log/httpd/access_log combined ServerName default-72-36-192-154 UseCanonicalName Off DocumentRoot /var/www/vhosts/default/httpsdocs ScriptAlias /cgi-bin/ "/var/www/vhosts/default/cgi-bin/" SSLEngine on SSLVerifyClient none SSLCertificateFile /usr/local/psa/var/certificates/certQtX4632 AllowOverride None Options None Order allow,deny Allow from all SSLRequireSSL CustomLog /var/log/httpd/access_log combined DocumentRoot /usr/share/psa-horde/ Alias /horde/ /usr/share/psa-horde/ Alias /imp/ /usr/share/psa-horde/imp/ ServerName webmail ServerAlias webmail.* UseCanonicalName Off php_admin_flag engine on php_admin_flag magic_quotes_gpc off php_admin_flag safe_mode off php_admin_value open_basedir "/usr/share/psa-horde:/etc/psa-horde:/etc/psa:/tmp:/var/tmp:/var/log/psa-hor de:/usr/share/doc" php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-horde/pear:." php_admin_flag engine on php_admin_flag magic_quotes_gpc off php_admin_flag safe_mode off php_admin_value open_basedir "/usr/share/psa-horde:/etc/psa-horde:/etc/psa:/tmp:/var/tmp:/var/log/psa-hor de:/usr/share/doc" php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-horde/pear:." Order allow,deny Allow from all CustomLog /var/log/httpd/access_log combined DocumentRoot /usr/share/psa-horde/ Alias /horde/ /usr/share/psa-horde/ Alias /imp/ /usr/share/psa-horde/imp/ ServerName webmail ServerAlias webmail.* UseCanonicalName Off SSLEngine on SSLVerifyClient none SSLCertificateFile /etc/httpd/conf/httpd.pem php_admin_flag engine on php_admin_flag magic_quotes_gpc off php_admin_flag safe_mode off php_admin_value open_basedir "/usr/share/psa-horde:/etc/psa-horde:/etc/psa:/tmp:/var/tmp:/var/log/psa-hor de:/usr/share/doc" php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-horde/pear:." php_admin_flag engine on php_admin_flag magic_quotes_gpc off php_admin_flag safe_mode off php_admin_value open_basedir "/usr/share/psa-horde:/etc/psa-horde:/etc/psa:/tmp:/var/tmp:/var/log/psa-hor de:/usr/share/doc" php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-horde/pear:." SSLRequireSSL Order allow,deny Allow from all CustomLog /var/log/httpd/access_log combined DocumentRoot /var/www/vhosts/default/htdocs ServerName lists ServerAlias lists.* UseCanonicalName Off ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/ Alias /icons/ /var/www/icons/ Alias /pipermail/ /var/lib/mailman/archives/public/ Options FollowSymLinks Order allow,deny Allow from all CustomLog /var/log/httpd/access_log combined DocumentRoot /var/www/vhosts/default/httpsdocs ServerName lists ServerAlias lists.* UseCanonicalName Off ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/ Alias /icons/ /var/www/icons/ Alias /pipermail/ /var/lib/mailman/archives/public/ Options FollowSymLinks Order allow,deny Allow from all CustomLog /var/log/httpd/access_log combined [root@server2 conf.d]# ================================================== > > The documentation says that there is supposed to be an example > > workers.properties file in Tomcat's conf directory, but > there isn't. I > > found one somewhere on the Internet and modified it. It is below. > > Could you give us the URL of this page, so we can fix it? It is on this page... http://tomcat.apache.org/connectors-doc/webserver_howto/apache.html ... under the section "Installation", that it says that there should be an example workers.properties in the "conf" directory. Thanks, Evert --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org