> > eval { load_application();1} > > || do { > > warn $@; > > force_apache_to_quit_startup_once_stderr_flushed(); > > } > > Why don't you do that in a <Perl> block?
How is this different from doing it in the startup.pl file? > > Be aware that this code is executed twice at startup. Check > Apache2::ServerUtil::restart_count to prevent that. Yes, as my app takes a while to load, so I'm actually only loading when I really need to: return 1 if $apache_mode && ( $apache_mode eq 'restart' && Apache2::ServerUtil::restart_count() == 1 || $apache_mode !~ /start/ ); (where $apache_mode is set from the command line arg to apachectl) However, I still get this same obscure error whether I use that code or not, eg: Syntax error on line 266 of /opt/apache/conf/httpd.conf: \xf0\x9a\x83 thanks Clint