Received: (qmail 78251 invoked by uid 501); 4 Jul 2000 11:25:19 -0000 Message-Id: <20000704112519.78130.qmail@locus.apache.org> Date: 4 Jul 2000 11:25:19 -0000 From: Renaud Sibille Reply-To: renaud_sibille@hotmail.com To: submit@bugz.apache.org Subject: SSI #Include directive doesn't work with virtual="/servlet/ServletName" X-Send-Pr-Version: 3.110 >Number: 6276 >Category: mod_include >Synopsis: SSI #Include directive doesn't work with virtual="/servlet/ServletName" >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Tue Jul 04 04:30:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: renaud_sibille@hotmail.com >Release: 1.3.12 >Organization: apache >Environment: Window 2000 Apache 1.3.12 Tomcat 3.1 >Description: Include directives like does not work. It seems the request is not passed through to the jserv engine of Tomcat. No error message. Everything is working separately : - include directives are working with "normal" (ie non servlet) URL - servlet is working fine ; For example the URL http://localhost/servlet/HelloWorldExample gives the expected result The directory configuration (httpd.conf) is (no .htaccess file in the dir.): DocumentRoot "d:/wwwroot/" Options Indexes FollowSymLinks MultiViews Includes ExecCGI AllowOverride All Order allow,deny Allow from all and the tomcat.conf contains : ApJServMount /servlet /root order allow,deny allow from all order deny,allow deny from all >How-To-Repeat: You can use three files : - test.shtml - test_inc1.shtml First label
- test_inc1.shtml Second label
- plus the HelloWorldExample servlet provided with Tomcat. The output is : First label Second label nothing about the servlet ?! >Fix: NO. >Release-Note: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]