Hi- I know other list members are going to flame me for suggesting this, but you probably have PerlSetVar UseStrict 1 somewhere in your apache config. If you comment it out (or presumable change it to a 0), the error should go away. In addition, apache provides a method to restart your server without interrupting users. If you use apachectl, do apachectl graceful. If you use RedHat's services architecture, do /sbin/service httpd reload. This will cause apache to restart but wait for users to finish downloading files. In essence, users will not notice any interruption in service. Of course, I think the error you see is a bug in the first place, and Josh Chamas will probably chime in on whether it is or not. HTH, --Quentin On Friday, August 30, 2002, at 04:48 PM, Adam Parrish wrote:
> Hey all, > > My name is Adam. Long-time reader, first-time poster. > > So I've been developing some software with Apache::ASP and everything > is going > hunky-dorily except for the following: if I make any changes to > global.asa > then try to load any .asp file, I get the following error: > > errors compiling global.asa: maybe use strict error: Subroutine > Session_OnStart redefined at /home/www/store/etc/global.asa line 21. > > (Session_OnStart in global.asa contains just one statement, > initializing a > member of the $Session hash.) > > See now, once I restart Apache, this error goes away and the .asp files > load > fine. But it'd be nice if I could find some way to be able to make > changes to > global.asa without having to restart the entire server (the server is > also > being used for other doodads and doohickamajiggers, you see). > > I thought it might be something related to the whole StatInc thing, but > global.asa is included in my StatIncMatch line in httpd.conf. Anyone > have any > ideas? Or am I going about this completely incorrectly? > > Thanks for your help. > > Later, > Adam > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]