The following reply was made to PR mod_include/742; it has been noted by GNATS.

From: Tobias Oetiker <[EMAIL PROTECTED]>
To: Marc Slemko <[EMAIL PROTECTED]>
Subject: Re: mod_include/742: <!--#include virtual="/lib/hello.shtml" --> 
changes chdir
Date: Tue, 17 Jun 1997 07:44:47 +0200 (MET DST)

 
 On Mon, 16 Jun 1997, Marc Slemko wrote:
 
 > On Mon, 16 Jun 1997, Tobias Oetiker wrote:
 > 
 > > 
 > > >Number:         742
 > > >Category:       mod_include
 > > >Synopsis:       <!--#include virtual="/lib/hello.shtml" --> changes chdir
 > 
 > Try the below patch.  This should fix it without suexec, however there are
 > still some bogons with using suexec and mod_include that may or may not
 > impact you.  If the below patch doesn't work for you with suexec, try it
 > without suexec so we can be sure that it is suexec causing the problems.
 > 
 > Index: mod_include.c
 > ===================================================================
 > RCS file: /export/home/cvs/apache/src/mod_include.c,v
 > retrieving revision 1.34
 > diff -c -r1.34 mod_include.c
 > *** mod_include.c    1997/06/15 19:22:29     1.34
 > --- mod_include.c    1997/06/17 04:36:28
 > ***************
 > *** 524,529 ****
 > --- 524,530 ----
 >       }
 >       
 >       destroy_sub_req (rr);
 > +     chdir_file(r->filename);
 >       
 >       return 0;
 >   }
 > ***************
 > *** 571,576 ****
 > --- 572,578 ----
 >          
 >          if (!error_fmt && run_sub_req (rr))
 >              error_fmt = "unable to include %s in parsed file %s";
 > +        chdir_file(r->filename);
 >                  
 >               if (error_fmt) {
 >                   log_printf(r->server, error_fmt, tag_val, r->filename);
 > 
 
 cool ... works ... 
 
 thanks
 tobi
 
 --
  ______    __   _
 /_  __/_  / /  (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
  / // _ \/ _ \/ / TEL:+41(0)1-6325286  FAX:+41(0)1-6321194
 /_/ \___/_.__/_/ [EMAIL PROTECTED] http://www.ee.ethz.ch/~oetiker
 

Reply via email to