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

From: Dean Gaudet <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: mod_rewrite/1790: VirtualHosts are inheriting rewrite rules by 
default
Date: Thu, 26 Feb 1998 01:21:43 -0800 (PST)

 Yeah one way to hack around this is to put:
 
     server_rec *created_in;
 
 into your server config.  Then during your create_server_config routine
 initialize it to the server you're created in.
 
 Then later on during run time you can compare r->server to
 your_config->created_in and if they're different you can assume whatever
 defaults you want to.
 
 It's an ugly part of the API.
 
 Dean
 

Reply via email to