From ywilliamson@example.org Thu Apr 01 11:10:42 2004 Return-Path: <ywilliamson@example.org> Delivered-To: ywilliamson@example.org Received: (qmail 6192 invoked from network); 1 Apr 2004 11:10:41 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Apr 2004 11:10:41 -0000 Received: (qmail 79308 invoked by uid 500); 1 Apr 2004 11:10:01 -0000 Delivered-To: ywilliamson@example.org Received: (qmail 79124 invoked by uid 500); 1 Apr 2004 11:09:59 -0000 Mailing-List: contact ywilliamson@example.org; run by ezmlm Precedence: bulk list-help: <mailto:ywilliamson@example.org> list-unsubscribe: <mailto:ywilliamson@example.org> list-post: <mailto:ywilliamson@example.org> Delivered-To: mailing list ywilliamson@example.org Received: (qmail 78574 invoked from network); 1 Apr 2004 11:09:54 -0000 Received: from unknown (HELO eris.abc.ro) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2004 11:09:54 -0000 Received: from eris.abc.ro (localhost [83.161.120.155]) by eris.abc.ro (Postfix) with SMTP id 007224364 for <ywilliamson@example.org>; Thu, 1 Apr 2004 14:10:11 +0300 (EEST) Date: Thu, 1 Apr 2004 14:10:11 +0300 From: Kiki <ywilliamson@example.org> To: ywilliamson@example.org Subject: [mp2] Segmentation fault when starting Apache with mod_perl [Apache 2.0.49 / Perl 5.8.2 / mod_perl 1.99_13] Message-Id: <ywilliamson@example.org> In-Reply-To: <ywilliamson@example.org> References: <ywilliamson@example.org> <ywilliamson@example.org> Organization: ABC X-Mailer: Sylpheed version 0.9.10claws (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Wed, 31 Mar 2004 10:09:01 -0800 Stas Bekman <ywilliamson@example.org> wrote: BTW, I subscribed to the list, so you needn't reply to my address too :) > But definitely move first to 1.99_13 because we aren't going to debug on > 1.99_12 and we need to be on the same page to have a better chance to > reproduce the problem. OK, I tried 1.99_13 with the same results. The build environment is the same as for 1.99_12 so I guess the same Bug Report Info applies here too (I can generate another bug report if you need it though) > We are not aware of this problem, Kiki. You need to give us more matter to be > able to understand your problem. You don't have a problem to start the modperl > test suite, do you? In fact any attempt to start apache with mod_perl (including the one in the test suite) causes a segmentation fault. > If that's the case, you need to show us what configuration > causes that, coming with a minimal possible case that you can still reproduce > the problem with. 1. The command used to start apache is: [kiki@eris ~/work/mod_perl-1.99_13]$ /usr/local/sbin/httpd -d /usr/home/kiki/work/mod_perl-1.99_13/t -f /usr/home/kiki/work/mod_perl-1.99_13/t/conf/httpd.conf -D APACHE2 -D PERL_USEITHREADS Segmentation fault (core dumped) 2. The backtrace for the core file is: (gdb) backtrace #0 0x290ed4f7 in Perl_newSVpvn () from /usr/local/lib/perl5/5.8.2/mach/CORE/libperl.so #1 0x2913e219 in PerlIO_open () from /usr/local/lib/perl5/5.8.2/mach/CORE/libperl.so #2 0x29072363 in S_open_script () from /usr/local/lib/perl5/5.8.2/mach/CORE/libperl.so #3 0x2906f5a2 in S_parse_body () from /usr/local/lib/perl5/5.8.2/mach/CORE/libperl.so #4 0x2906e994 in perl_parse () from /usr/local/lib/perl5/5.8.2/mach/CORE/libperl.so #5 0x2902b78c in modperl_startup () from /usr/home/kiki/work/mod_perl-1.99_13/src/modules/perl/mod_perl.so #6 0x2902b6ec in modperl_startup () from /usr/home/kiki/work/mod_perl-1.99_13/src/modules/perl/mod_perl.so #7 0x2902bb19 in modperl_run () from /usr/home/kiki/work/mod_perl-1.99_13/src/modules/perl/mod_perl.so #8 0x29030b69 in modperl_cmd_load_module () from /usr/home/kiki/work/mod_perl-1.99_13/src/modules/perl/mod_perl.so #9 0x80664ca in invoke_cmd () #10 0x8067097 in ap_walk_config_sub () #11 0x80690f1 in ap_process_config_tree () #12 0x806bfae in main () #13 0x805d026 in _start () (gdb) 3. The httpd.conf configuration I've tried is the one generated by the test suite: (I don't know which modules are optional and which are necessary, so if you could give me some hints for a more simple configuration, I will try it) # WARNING: this file is generated, do not edit # 01: /usr/home/kiki/work/mod_perl-1.99_13/Apache-Test/lib/Apache/TestConfig.pm:780 # 02: /usr/home/kiki/work/mod_perl-1.99_13/Apache-Test/lib/Apache/TestConfig.pm:798 # 03: /usr/home/kiki/work/mod_perl-1.99_13/Apache-Test/lib/Apache/TestConfig.pm:1355 # 04: /usr/home/kiki/work/mod_perl-1.99_13/Apache-Test/lib/Apache/TestRun.pm:490 # 05: /usr/home/kiki/work/mod_perl-1.99_13/Apache-Test/lib/Apache/TestRunPerl.pm:55 # 06: /usr/home/kiki/work/mod_perl-1.99_13/Apache-Test/lib/Apache/TestRun.pm:700 # 07: /usr/home/kiki/work/mod_perl-1.99_13/Apache-Test/lib/Apache/TestRun.pm:700 # 08: t/TEST:20 <IfModule !mod_access.c> LoadModule access_module "/usr/local/libexec/apache2/mod_access.so" </IfModule> <IfModule !mod_auth.c> LoadModule auth_module "/usr/local/libexec/apache2/mod_auth.so" </IfModule> <IfModule !mod_auth_anon.c> LoadModule auth_anon_module "/usr/local/libexec/apache2/mod_auth_anon.so" </IfModule> <IfModule !mod_auth_dbm.c> LoadModule auth_dbm_module "/usr/local/libexec/apache2/mod_auth_dbm.so" </IfModule> <IfModule !mod_ext_filter.c> LoadModule ext_filter_module "/usr/local/libexec/apache2/mod_ext_filter.so" </IfModule> <IfModule !mod_include.c> LoadModule include_module "/usr/local/libexec/apache2/mod_include.so" </IfModule> <IfModule !mod_deflate.c> LoadModule deflate_module "/usr/local/libexec/apache2/mod_deflate.so" </IfModule> <IfModule !mod_log_config.c> LoadModule log_config_module "/usr/local/libexec/apache2/mod_log_config.so" </IfModule> <IfModule !mod_env.c> LoadModule env_module "/usr/local/libexec/apache2/mod_env.so" </IfModule> <IfModule !mod_mime_magic.c> LoadModule mime_magic_module "/usr/local/libexec/apache2/mod_mime_magic.so" </IfModule> <IfModule !mod_cern_meta.c> LoadModule cern_meta_module "/usr/local/libexec/apache2/mod_cern_meta.so" </IfModule> <IfModule !mod_expires.c> LoadModule expires_module "/usr/local/libexec/apache2/mod_expires.so" </IfModule> <IfModule !mod_headers.c> LoadModule headers_module "/usr/local/libexec/apache2/mod_headers.so" </IfModule> <IfModule !mod_usertrack.c> LoadModule usertrack_module "/usr/local/libexec/apache2/mod_usertrack.so" </IfModule> <IfModule !mod_unique_id.c> LoadModule unique_id_module "/usr/local/libexec/apache2/mod_unique_id.so" </IfModule> <IfModule !mod_setenvif.c> LoadModule setenvif_module "/usr/local/libexec/apache2/mod_setenvif.so" </IfModule> <IfModule !mod_ssl.c> LoadModule ssl_module "/usr/local/libexec/apache2/mod_ssl.so" </IfModule> <IfModule !mod_mime.c> LoadModule mime_module "/usr/local/libexec/apache2/mod_mime.so" </IfModule> <IfModule !mod_status.c> LoadModule status_module "/usr/local/libexec/apache2/mod_status.so" </IfModule> <IfModule !mod_autoindex.c> LoadModule autoindex_module "/usr/local/libexec/apache2/mod_autoindex.so" </IfModule> <IfModule !mod_asis.c> LoadModule asis_module "/usr/local/libexec/apache2/mod_asis.so" </IfModule> <IfModule !mod_info.c> LoadModule info_module "/usr/local/libexec/apache2/mod_info.so" </IfModule> <IfModule !mod_cgi.c> LoadModule cgi_module "/usr/local/libexec/apache2/mod_cgi.so" </IfModule> <IfModule !mod_vhost_alias.c> LoadModule vhost_alias_module "/usr/local/libexec/apache2/mod_vhost_alias.so" </IfModule> <IfModule !mod_negotiation.c> LoadModule negotiation_module "/usr/local/libexec/apache2/mod_negotiation.so" </IfModule> <IfModule !mod_dir.c> LoadModule dir_module "/usr/local/libexec/apache2/mod_dir.so" </IfModule> <IfModule !mod_imap.c> LoadModule imap_module "/usr/local/libexec/apache2/mod_imap.so" </IfModule> <IfModule !mod_actions.c> LoadModule actions_module "/usr/local/libexec/apache2/mod_actions.so" </IfModule> <IfModule !mod_speling.c> LoadModule speling_module "/usr/local/libexec/apache2/mod_speling.so" </IfModule> <IfModule !mod_userdir.c> LoadModule userdir_module "/usr/local/libexec/apache2/mod_userdir.so" </IfModule> <IfModule !mod_alias.c> LoadModule alias_module "/usr/local/libexec/apache2/mod_alias.so" </IfModule> <IfModule !mod_rewrite.c> LoadModule rewrite_module "/usr/local/libexec/apache2/mod_rewrite.so" </IfModule> <IfModule !mod_php4.c> LoadModule php4_module "/usr/local/libexec/apache2/libphp4.so" </IfModule> <IfModule !mod_dav.c> LoadModule dav_module "/usr/local/libexec/apache2/mod_dav.so" </IfModule> <IfModule !mod_dav_svn.c> LoadModule dav_svn_module "/usr/local/libexec/apache2/mod_dav_svn.so" </IfModule> <IfModule !mod_authz_svn.c> LoadModule authz_svn_module "/usr/local/libexec/apache2/mod_authz_svn.so" </IfModule> <IfModule !mod_mime.c> LoadModule mime_module "/usr/local/libexec/apache2/mod_mime.so" </IfModule> <IfModule !mod_perl.c> LoadModule perl_module "/usr/home/kiki/work/mod_perl-1.99_13/src/modules/perl/mod_perl.so" </IfModule> User kiki Group users ServerName localhost:8529 Listen localhost:8529 ServerRoot "/usr/home/kiki/work/mod_perl-1.99_13/t" DocumentRoot "/usr/home/kiki/work/mod_perl-1.99_13/t/htdocs" PidFile /usr/home/kiki/work/mod_perl-1.99_13/t/logs/httpd.pid ErrorLog /usr/home/kiki/work/mod_perl-1.99_13/t/logs/error_log LogLevel debug <IfModule mod_log_config.c> TransferLog /usr/home/kiki/work/mod_perl-1.99_13/t/logs/access_log </IfModule> ServerAdmin ywilliamson@example.org #needed for http/1.1 testing KeepAlive On HostnameLookups Off <Directory /> Options FollowSymLinks AllowOverride None </Directory> <IfModule worker.c> StartServers 1 MaxClients 2 MinSpareThreads 2 MaxSpareThreads 2 ThreadsPerChild 2 MaxRequestsPerChild 0 </IfModule> <IfModule perchild.c> NumServers 1 StartThreads 2 MinSpareThreads 2 MaxSpareThreads 2 MaxThreadsPerChild 2 MaxRequestsPerChild 0 </IfModule> <IfModule prefork.c> StartServers 1 MaxClients 2 MaxRequestsPerChild 0 </IfModule> <IfDefine APACHE1> StartServers 1 MaxClients 2 MaxRequestsPerChild 0 </IfDefine> <IfModule mpm_winnt.c> ThreadsPerChild 20 MaxRequestsPerChild 0 </IfModule> <Location /server-info> SetHandler server-info </Location> <Location /server-status> SetHandler server-status </Location> <IfModule !mod_alias.c> LoadModule alias_module "/usr/local/libexec/apache2/mod_alias.so" </IfModule> <IfModule mod_alias.c> Alias /getfiles-binary-perl /usr/local/bin/perl5.8.2 Alias /getfiles-perl-pod /usr/local/lib/perl5/5.8.2/pod Alias /getfiles-binary-httpd /usr/local/sbin/httpd </IfModule> TypesConfig "/usr/local/etc/apache2/mime.types" Include "/usr/home/kiki/work/mod_perl-1.99_13/t/conf/extra.conf" <IfModule mod_perl.c> PerlPassEnv APACHE_TEST_TRACE_LEVEL </IfModule> <IfModule mod_perl.c> PerlSwitches -Mlib=/usr/home/kiki/work/mod_perl-1.99_13/t </IfModule> <IfModule mod_perl.c> PerlRequire /usr/home/kiki/work/mod_perl-1.99_13/t/conf/modperl_startup.pl </IfModule> PerlModule TestAPI888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4internal_redirect <Location /TestAPI__internal_redirect_modperl> SetHandler modperl PerlResponseHandler TestAPI888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4internal_redirect888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4modperl </Location> <Location /TestAPI__internal_redirect_perl_script> SetHandler perl-script PerlResponseHandler TestAPI888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4internal_redirect888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4perl_script </Location> <Location /TestAPI__show> SetHandler modperl PerlResponseHandler TestAPI888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4show </Location> <Location /TestAPI__access> Options None Options Indexes FollowSymLinks AuthName modperl AuthType none SetHandler modperl PerlResponseHandler TestAPI888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ss </Location> <Location /TestAPI__request_rec> PerlOptions +GlobalRequest SetHandler modperl PerlResponseHandler TestAPI888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4request_rec </Location> <Location /TestAPI__server_util> SetHandler modperl PerlResponseHandler TestAPI888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4server_util </Location> <Location /TestAPI__server_rec> SetHandler modperl PerlResponseHandler TestAPI888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4server_rec </Location> <Location /TestAPI__lookup_uri2__myplan> SetHandler modperl PerlResponseHandler TestAPI888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4lookup_uri888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4myplan </Location> <Location /TestAPI__lookup_uri2__ok3> SetHandler modperl PerlResponseHandler TestAPI888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4lookup_uri888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ok3 </Location> <Location /TestAPI__lookup_uri2> SetHandler modperl PerlResponseHandler TestAPI888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4lookup_uri2 </Location> <Location /lookup_uri> SetHandler modperl PerlResponseHandler Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4TestHandler888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ok1 </Location> <Location /TestAPI__lookup_uri> SetHandler modperl PerlResponseHandler TestAPI888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4lookup_uri </Location> <Location /TestAPI__conn_rec> SetHandler modperl PerlResponseHandler TestAPI888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4onn_rec </Location> PerlModule TestAPI888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4rflush <Location /TestAPI__rflush> SetHandler perl-script PerlResponseHandler TestAPI888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4rflush888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4response PerlOutputFilterHandler TestAPI888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4rflush888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4racket </Location> <Location /TestAPI__response> SetHandler modperl PerlResponseHandler TestAPI888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4response </Location> <Location /TestAPI__query> SetHandler modperl PerlResponseHandler TestAPI888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4query </Location> <Location /TestAPI__r_subclass> SetHandler perl-script PerlOptions -GlobalRequest PerlResponseHandler TestAPI888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4r_subclass </Location> <Location /TestAPI__server_const> SetHandler modperl PerlResponseHandler TestAPI888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4server_const </Location> <Location /TestAPI__uri> SetHandler modperl PerlResponseHandler TestAPI888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4uri </Location> <Location /TestAPI__aplog> SetHandler modperl PerlResponseHandler TestAPI888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4plog </Location> <Location /TestAPI__sendfile> SetHandler modperl PerlResponseHandler TestAPI888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4sendfile </Location> <Location /TestAPI__rutil> SetHandler modperl PerlResponseHandler TestAPI888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4rutil </Location> <Location /TestAPI__module> SetHandler modperl PerlResponseHandler TestAPI888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4module </Location> Alias /slurp/ /usr/home/kiki/work/mod_perl-1.99_13/t/htdocs/api/ <Location /slurp/> SetHandler modperl PerlResponseHandler TestAPI888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4slurp_filename </Location> <Location /TestModules__cgi2> SetHandler modperl PerlResponseHandler TestModules888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4gi2 </Location> <Location /TestModules__cgiupload> SetHandler perl-script PerlOptions +GlobalRequest PerlResponseHandler TestModules888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4giupload </Location> <Location /TestModules__cgipost2> SetHandler modperl PerlResponseHandler TestModules888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4gipost2 </Location> <IfModule mod_proxy.c> <Proxy http://localhost:8529/*> <IfModule mod_access.c> Order Deny,Allow Deny from all Allow from localhost </IfModule> </Proxy> PerlModule TestModules888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4proxy PerlTransHandler TestModules888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4proxy888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4proxy <Location /TestModules__proxy_real> SetHandler modperl PerlResponseHandler TestModules888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4proxy888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4response </Location> </IfModule> <Location /TestModules__cgiupload2> SetHandler modperl PerlResponseHandler TestModules888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4giupload2 </Location> <Location /TestModules__cgipost> SetHandler perl-script PerlOptions +GlobalRequest PerlResponseHandler TestModules888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4gipost </Location> <Location /TestModules__cgi> SetHandler perl-script PerlOptions -SetupEnv PerlResponseHandler TestModules888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4gi </Location> # notice that perl-script is used on purpose here - testing whether # :Apache perlio is reentrant (SetHandler modperl doesn't go through # :Apache perlio layer) # it's silly that we have to duplicate the resource, but mod_include # otherwise thinks we have a recursive call loop <Location /TestModules__include_subreq_dup> PerlSetOutputFilter INCLUDES Options +IncludesNoExec SetHandler perl-script PerlResponseHandler TestModules888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4include_subreq </Location> <Location /TestModules__include_subreq> SetHandler perl-script PerlSetOutputFilter INCLUDES Options +IncludesNoExec PerlResponseHandler TestModules888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4include_subreq </Location> <Location /TestModperl__print> SetHandler modperl PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4print </Location> <Location /TestModperl__endav> SetHandler perl-script PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ndav </Location> <Location /TestModperl__print_utf8> SetHandler perl-script PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4print_utf8 </Location> <Location /TestModperl__print_utf8_2> SetHandler modperl PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4print_utf8_2 </Location> PerlModule TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ookie <Location /TestModperl__cookie> SetHandler perl-script PerlInitHandler Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4TestHandler888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4same_interp_fixup PerlAccessHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ooki888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4access PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ookie PerlOptions -SetupEnv </Location> <Location /TestModperl__setauth> SetHandler modperl PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4setauth </Location> PerlSetVar TestModperl__request_rec_Key_set_in_Base BaseValue PerlSetVar TestModperl__server_rec_Key_set_in_Base 1_SetValue PerlAddVar TestModperl__server_rec_Key_set_in_Base 2_AddValue 3_AddValue <Location /TestModperl__dir_config> PerlSetVar TestModperl__request_rec_ZeroKey 0 PerlSetVar TestModperl__request_rec_Key0 SetValue0 PerlSetVar TestModperl__request_rec_Key1 ToBeLost PerlSetVar TestModperl__request_rec_Key1 1_SetValue PerlAddVar TestModperl__request_rec_Key1 2_AddValue PerlAddVar TestModperl__request_rec_Key1 3_AddValue 4_AddValue PerlSetVar TestModperl__server_rec_Key_set_in_Base SubSecValue SetHandler modperl PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ir_config </Location> PerlModule TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ookie2 <Location /TestModperl__cookie2> SetHandler modperl PerlInitHandler Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4TestHandler888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4same_interp_fixup PerlAccessHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ooki888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4access PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ookie2 </Location> PerlModule TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4urrent_callback <Location /TestModperl__current_callback> PerlHeaderParserHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4urrent_callback888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4headerparser PerlFixupHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4urrent_callback888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ixup PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4urrent_callback PerlLogHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4urrent_callback888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4log SetHandler modperl </Location> <Location /TestModperl__request_rec_perlio_api> SetHandler perl-script PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4request_rec_perlio_api </Location> <Location /TestModperl__getc> SetHandler modperl PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4getc </Location> <Location /TestModperl__io_nested_with_closed_stds> SetHandler perl-script PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4io_nested_with_closed_stds </Location> PerlModule TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4merge Listen localhost:8530 <VirtualHost _default_:8530> ServerName localhost:8530 # these should pass through all merges untouched PerlPassEnv APACHE_TEST_HOSTTYPE PerlSetEnv MergeSetEnv1 SetEnv1Val PerlSetVar MergeSetVar1 SetVar1Val PerlSetVar MergeAddVar1 AddVar1Val1 PerlAddVar MergeAddVar1 AddVar1Val2 # these are overridden in /merge2 and /merge2/merge3.html PerlSetEnv MergeSetEnv2 SetEnv2Val PerlSetVar MergeSetVar2 SetVar2Val PerlSetVar MergeAddVar2 AddVar2Val1 PerlAddVar MergeAddVar2 AddVar2Val2 # these are overridden in /merge2/merge3.html only PerlSetEnv MergeSetEnv3 SetEnv3Val PerlSetVar MergeSetVar3 SetVar3Val PerlSetVar MergeAddVar3 AddVar3Val1 PerlAddVar MergeAddVar3 AddVar3Val2 <Location /merge> # same as per-server level SetHandler perl-script PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4merge </Location> AccessFileName htaccess <Directory /usr/home/kiki/work/mod_perl-1.99_13/t/htdocs/merge2> # overrides "2" values - "1" and "3" values left untouched PerlSetEnv MergeSetEnv2 SetEnv2Merge2Val PerlSetVar MergeSetVar2 SetVar2Merge2Val PerlSetVar MergeAddVar2 AddVar2Merge2Val1 PerlAddVar MergeAddVar2 AddVar2Merge2Val2 SetHandler perl-script PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4merge # don't trigger htaccess files automatically AllowOverride none <Files merge3.html> # initiate a double merge with htaccess file AllowOverride all </Files> </Directory> </VirtualHost> <Location /TestModperl__subenv> PerlOptions -SetupEnv SetHandler modperl PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4subenv </Location> <Location /TestModperl__methodobj> PerlResponseHandler $TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4MethodObj->handler SetHandler modperl </Location> <Location /TestModperl__method> SetHandler modperl PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4method </Location> <Location /TestModperl__pnotes> SetHandler modperl PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4pnotes </Location> <Location /TestModperl__perl> SetHandler modperl PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4perl </Location> <Location /TestModperl__exit> SetHandler modperl PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4xit </Location> <Location /TestModperl__request_rec_tie_api> SetHandler modperl PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4request_rec_tie_api </Location> <Location /TestModperl__readline> SetHandler modperl PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4readline </Location> PerlModule TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4printf <Location /TestModperl__printf> PerlFixupHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4print888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4fixup SetHandler modperl PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4printf </Location> <Location /TestModperl__post_utf8> SetHandler perl-script PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4post_utf8 </Location> <Location /TestModperl__env> SetHandler perl-script PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4nv </Location> <Location /TestModperl__status> SetHandler modperl PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4status </Location> <Location /TestModperl__sameinterp> PerlFixupHandler Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4TestHandler888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4same_interp_fixup SetHandler modperl PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4sameinterp </Location> Listen localhost:8531 <VirtualHost _default_:8531> ServerName localhost:8531 PerlOptions -PreConnection -ProcessConnection PerlOptions -Autoload -Log -InputFilter -OutputFilter PerlOptions +ChildInit +ChildExit PerlModule TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4perl_options PerlOptions +ParseHeaders <Location /TestModperl__perl_options> SetHandler modperl PerlOptions -GlobalRequest -SetupEnv PerlOptions +MergeHandlers PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4perl_options </Location> </VirtualHost> PerlModule TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4io_with_closed_stds <Location /TestModperl__io_with_closed_stds> SetHandler perl-script PerlFixupHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4io_with_closed_stds888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ixup PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4io_with_closed_stds PerlCleanupHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4io_with_closed_stds888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4leanup </Location> <Location /TestModperl__taint> SetHandler modperl PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4taint </Location> <Location /TestModperl__methodname> PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4methodname->response SetHandler modperl </Location> # create a separate virtual host so we can use # keepalives - a per-connection interpreter is # the only way to make sure that we can plan in # one request and test in subsequent tests Listen localhost:8532 <VirtualHost _default_:8532> ServerName localhost:8532 KeepAlive On <IfDefine PERL_ITHREADS> PerlInterpScope connection </IfDefine> PerlModule TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4setupenv PerlPostReadRequestHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4setupenv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4subenv_one # SetEnv is affected by +SetupEnv SetEnv SRV_SETENV server # PerlSetEnv is not affected by +SetupEnv or -SetupEnv # it is entirely separate and always set if configured PerlSetEnv SRV_PERLSETENV server # plan <Location /TestModperl__setupenv> SetHandler modperl PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4setupenv </Location> # default modperl handler # %ENV should not contain standard CGI variables # or entries from the subprocess_env table <Location /TestModperl__setupenv_mpdefault> SetHandler modperl PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4setupenv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4noenv PerlFixupHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4setupenv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4subenv_two SetEnv DIR_SETENV mpdefault PerlSetEnv DIR_PERLSETENV mpdefault </Location> # modperl handler + SetupEnv # %ENV should contain CGI variables as well as # anything put into the subprocess_env table <Location /TestModperl__setupenv_mpsetup> SetHandler modperl PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4setupenv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4nv PerlOptions +SetupEnv PerlFixupHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4setupenv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4subenv_two SetEnv DIR_SETENV mpsetup PerlSetEnv DIR_PERLSETENV mpsetup </Location> # $r->subprocess_env in a void context with no args # should do the same as +SetupEnv wrt CGI variables # and entries already in the subprocess_env table # but subprocess_env entries that appear later will # not show up in %ENV <Location /TestModperl__setupenv_mpvoid> SetHandler modperl PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4setupenv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4someenv PerlHeaderParserHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4setupenv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4subenv_void PerlFixupHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4setupenv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4subenv_two SetEnv DIR_SETENV mpvoid PerlSetEnv DIR_PERLSETENV mpvoid </Location> # +SetupEnv should always populate %ENV fully prior # to running the content handler (regardless of when # $r->subprocess_env() was called) to ensure that # %ENV is an accurate representation of the # subprocess_env table <Location /TestModperl__setupenv_mpsetupvoid> SetHandler modperl PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4setupenv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4nv PerlOptions +SetupEnv PerlHeaderParserHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4setupenv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4subenv_void PerlFixupHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4setupenv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4subenv_two SetEnv DIR_SETENV mpsetupvoid PerlSetEnv DIR_PERLSETENV mpsetupvoid </Location> # default perl-script handler is equivalent to +SetupEnv # CGI variables and subprocess_env entries will be in %ENV <Location /TestModperl__setupenv_psdefault> SetHandler perl-script PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4setupenv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4nv PerlFixupHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4setupenv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4subenv_two SetEnv DIR_SETENV psdefault PerlSetEnv DIR_PERLSETENV psdefault </Location> # -SetupEnv should not put CGI variables or subprocess_env # entries in %ENV <Location /TestModperl__setupenv_psnosetup> SetHandler perl-script PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4setupenv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4noenv PerlOptions -SetupEnv PerlFixupHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4setupenv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4subenv_two SetEnv DIR_SETENV psnosetup PerlSetEnv DIR_PERLSETENV psnosetup </Location> # +SetupEnv should always populate %ENV fully prior # to running the content handler (regardless of when # $r->subprocess_env() was called) to ensure that # %ENV is an accurate representation of the # subprocess_env table <Location /TestModperl__setupenv_psvoid> SetHandler perl-script PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4setupenv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4nv PerlHeaderParserHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4setupenv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4subenv_void PerlFixupHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4setupenv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4subenv_two SetEnv DIR_SETENV psvoid PerlSetEnv DIR_PERLSETENV psvoid </Location> # equivalent to modperl handler with $r->subprocess_env() - # CGI variables are there, but not subprocess_env entries # that are populated after the void call <Location /TestModperl__setupenv_psnosetupvoid> SetHandler perl-script PerlResponseHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4setupenv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4someenv PerlOptions -SetupEnv PerlHeaderParserHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4setupenv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4subenv_void PerlFixupHandler TestModperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4setupenv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4subenv_two SetEnv DIR_SETENV psnosetupvoid PerlSetEnv DIR_PERLSETENV psnosetupvoid </Location> </VirtualHost> <Location /TestDirective__pod> SetHandler modperl PerlResponseHandler TestDirectiv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4pod </Location> <Location /TestDirective__perldo> SetHandler modperl PerlResponseHandler TestDirectiv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4perldo </Location> <Location /TestDirective__setupenv> PerlOptions +SetupEnv SetHandler modperl PerlResponseHandler TestDirectiv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4setupenv </Location> # SetupEnv ought to have no effect on PerlSetEnv or PerlPassEnv # per-server entry overwritten by per-directory entry PerlSetEnv TestDirective__env_srv1 env_srv1 # per-server entry not overwritten PerlSetEnv TestDirective__env_srv2 env_srv2 # PerlPassEnv is only per-server PerlPassEnv APACHE_TEST_HOSTNAME # per-directory entry overwrites per-server # PerlSetEnv resets the table for each directive <Location /TestDirective__env> PerlOptions -SetupEnv PerlSetEnv TestDirective__env_srv1 env_dir1 PerlSetEnv TestDirective__env_dir2 ToBeLost PerlSetEnv TestDirective__env_dir2 env_dir2 SetHandler modperl PerlResponseHandler TestDirectiv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4env </Location> <Location /TestAPR__brigade> SetHandler modperl PerlResponseHandler TestAPR888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4rigade </Location> <Location /TestAPR__util> SetHandler modperl PerlResponseHandler TestAPR888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4util </Location> <Location /TestAPR__finfo> SetHandler modperl PerlResponseHandler TestAPR888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4info </Location> <Location /TestAPR__netlib> SetHandler modperl PerlResponseHandler TestAPR888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4netlib </Location> <Location /TestAPR__pool> SetHandler modperl PerlResponseHandler TestAPR888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4pool </Location> <Location /TestAPR__uuid> SetHandler modperl PerlResponseHandler TestAPR888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4uuid </Location> <Location /TestAPR__string> SetHandler modperl PerlResponseHandler TestAPR888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4string </Location> <Location /TestAPR__table> SetHandler modperl PerlResponseHandler TestAPR888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4table </Location> <Location /TestAPR__socket> SetHandler modperl PerlResponseHandler TestAPR888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4socket </Location> <Location /TestAPR__flatten> SetHandler modperl PerlResponseHandler TestAPR888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4latten </Location> <Location /TestAPR__os> SetHandler modperl PerlResponseHandler TestAPR888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4os </Location> <Location /TestAPR__perlio> SetHandler modperl PerlResponseHandler TestAPR888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4perlio </Location> <Location /TestAPR__threadmutex> SetHandler modperl PerlResponseHandler TestAPR888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4threadmutex </Location> <Location /TestAPR__date> SetHandler modperl PerlResponseHandler TestAPR888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4te </Location> <Location /TestAPR__base64> SetHandler modperl PerlResponseHandler TestAPR888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4se64 </Location> # this should work regardless whether parse headers is on or off <Location /TestApache__send_cgi_header> PerlOptions -ParseHeaders SetHandler modperl PerlResponseHandler TestApach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4send_cgi_header </Location> <Location /TestApache__subprocess> SetHandler modperl PerlResponseHandler TestApach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4subprocess </Location> <Location /TestApache__write> SetHandler modperl PerlResponseHandler TestApach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4write </Location> <Location /TestApache__scanhdrs2> SetHandler perl-script PerlOptions +ParseHeaders PerlResponseHandler TestApach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4scanhdrs2 </Location> <Location /TestApache__post> SetHandler modperl PerlResponseHandler TestApach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4post </Location> <Location /TestApache__read> SetHandler modperl PerlResponseHandler TestApach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4read </Location> <Location /TestApache__conftree> SetHandler modperl PerlResponseHandler TestApach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4conftree </Location> <Location /TestApache__discard_rbody> SetHandler modperl PerlResponseHandler TestApach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4discard_rbody </Location> <Location /TestApache__scanhdrs> SetHandler perl-script PerlOptions +ParseHeaders PerlResponseHandler TestApach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4scanhdrs </Location> <Location /TestApache__util> SetHandler modperl PerlResponseHandler TestApach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4util </Location> <IfDefine PERL_ITHREADS> PerlInterpScope handler </Ifdefine> <Location /TestApache__cgihandler> SetHandler perl-script PerlResponseHandler TestApach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4cgihandler </Location> <Location /TestError__runtime> SetHandler modperl PerlResponseHandler TestError888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4runtime </Location> <Location /TestError__syntax> SetHandler modperl PerlResponseHandler TestError888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4syntax </Location> <Location /TestError__api> PerlOptions -GlobalRequest SetHandler modperl PerlResponseHandler TestError888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4pi </Location> <Location /TestCompat__request_body> PerlOptions +GlobalRequest SetHandler modperl PerlResponseHandler TestCompat888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4request_body </Location> <Location /TestCompat__apache_file> PerlOptions +GlobalRequest SetHandler modperl PerlResponseHandler TestCompat888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4pache_file </Location> <Location /TestCompat__apache_util> PerlOptions +GlobalRequest SetHandler modperl PerlResponseHandler TestCompat888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4pache_util </Location> <Location /TestCompat__conn_authen> require valid-user AuthType Basic AuthName simple SetHandler modperl PerlOptions +GlobalRequest PerlAuthenHandler TestCompat888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4onn_authen PerlResponseHandler Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4TestHandler888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ok1 </Location> <Location /TestCompat__request> SetHandler modperl PerlResponseHandler TestCompat888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4request </Location> <Location /TestCompat__apache_uri> SetHandler modperl PerlResponseHandler TestCompat888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4pache_uri </Location> <Location /TestCompat__send_fd> SetHandler modperl PerlResponseHandler TestCompat888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4send_fd </Location> <Location /TestCompat__apache_table> SetHandler modperl PerlResponseHandler TestCompat888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4pache_table </Location> <Location /TestCompat__conn_rec> SetHandler modperl PerlResponseHandler TestCompat888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4onn_rec </Location> # so we can test whether send_httpd_header() works fine <Location /TestCompat__apache> PerlOptions +ParseHeaders SetHandler modperl PerlResponseHandler TestCompat888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4pache </Location> Listen localhost:8533 <VirtualHost _default_:8533> ServerName localhost:8533 DocumentRoot /usr/home/kiki/work/mod_perl-1.99_13/t/htdocs/vhost <IfDefine PERL_USEITHREADS> # a new interpreter pool PerlOptions +Parent </IfDefine> # use test system's @INC PerlSwitches -I/usr/home/kiki/work/mod_perl-1.99_13/t # mp2 modules PerlRequire "/usr/home/kiki/work/mod_perl-1.99_13/t/conf/modperl_inc.pl" # private to this vhost stuff PerlRequire "/usr/home/kiki/work/mod_perl-1.99_13/t/htdocs/vhost/startup.pl" # <Location /TestVhost__config> container is added via add_config # in t/htdocs/vhost/startup.pl </VirtualHost> PerlModule TestPerl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4hash_attack # call twice to verify an access to the same hash value after the rehash <Location /TestPerl__hash_attack> PerlInitHandler TestPerl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4hash_attack888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4init PerlFixupHandler TestPerl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4hash_attack888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ixup TestPerl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4hash_attack888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ixup SetHandler modperl PerlResponseHandler TestPerl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4hash_attack </Location> <Location /TestPerl__api> SetHandler modperl PerlResponseHandler TestPerl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4pi </Location> Listen localhost:8534 <VirtualHost _default_:8534> PerlProcessConnectionHandler TestProtocol888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ho_filter </VirtualHost> Listen localhost:8535 <VirtualHost _default_:8535> PerlProcessConnectionHandler TestProtocol888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ho </VirtualHost> Listen localhost:8536 <VirtualHost _default_:8536> ServerName localhost:8536 PerlPreConnectionHandler TestPreConnection888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4note <Location /TestPreConnection__note> SetHandler modperl PerlResponseHandler TestPreConnection888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4not888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4response </Location> </VirtualHost> <Location /TestHooks__set_handlers> PerlHeaderParserHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4set_handlers </Location> <Location /TestHooks__cleanup2> SetHandler modperl PerlResponseHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4leanup2 </Location> PerlModule TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4init PerlInitHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4init888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4irst <Location /TestHooks__init> PerlInitHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4init888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4second PerlResponseHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4init PerlResponseHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4init888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4response SetHandler modperl </Location> PerlModule TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ss <Location /TestHooks__access> PerlAccessHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ss PerlInitHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ss888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4init PerlFixupHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ss888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ixup PerlResponseHandler Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4TestHandler888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ok1 SetHandler modperl </Location> #<Location /> # PerlAccessHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ss #</Location> <Location /TestHooks__fixup> PerlResponseHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ixup888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4response SetHandler modperl PerlFixupHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ixup </Location> <Location /TestHooks__push_handlers> SetHandler modperl PerlHeaderParserHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4push_handlers PerlResponseHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4push_handlers888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4onf PerlResponseHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4push_handlers888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4onf1 TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4push_handlers888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4onf2 </Location> PerlTransHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4trans <Location /TestHooks__trans> PerlResponseHandler Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4TestHandler888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ok1 SetHandler modperl </Location> <Location /TestHooks__cleanup> SetHandler modperl PerlCleanupHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4leanup888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4leanup1 PerlResponseHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4leanup </Location> <Location /TestHooks__stacked_handlers> SetHandler modperl PerlHeaderParserHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4stacked_handlers </Location> # create a new virtual host so we can test (almost all) all the hooks Listen localhost:8537 <VirtualHost _default_:8537> ServerName localhost:8537 PerlModule TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4stacked_handlers2 # all 2 run PerlPostReadRequestHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4stacked_handlers888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ok TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4stacked_handlers888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ok # 1 run, 1 left behind PerlTransHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4stacked_handlers888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ok TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4stacked_handlers888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4server_error # 1 run, 1 left behind PerlMapToStorageHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4stacked_handlers888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ok TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4stacked_handlers888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4server_error <Location /TestHooks__stacked_handlers2> # all 4 run PerlHeaderParserHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4stacked_handlers888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ok TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4stacked_handlers888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4declined PerlHeaderParserHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4stacked_handlers888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4declined TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4stacked_handlers888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ok # all 2 run PerlAccessHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4stacked_handlers888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ok TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4stacked_handlers888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ok # 2 run, 1 left behind PerlAuthenHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4stacked_handlers888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4declined TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4stacked_handlers888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ok PerlAuthenHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4stacked_handlers888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4auth_required # 2 run, 1 left behind PerlAuthzHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4stacked_handlers888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4declined TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4stacked_handlers888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ok PerlAuthzHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4stacked_handlers888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4auth_required # 1 run, 1 left behind PerlTypeHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4stacked_handlers888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ok TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4stacked_handlers888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4server_error # all 2 run PerlFixupHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4stacked_handlers888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ok TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4stacked_handlers888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ok # 2 run, 2 left behind PerlResponseHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4stacked_handlers888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4declined TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4stacked_handlers2 PerlResponseHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4stacked_handlers888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ok TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4stacked_handlers888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4server_error SetHandler modperl AuthType Basic Require valid-user PerlOutputFilterHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4stacked_handlers888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4passthru TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4stacked_handlers888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4filter </Location> </VirtualHost> <Location /TestHooks__headerparser> PerlOptions +SetupEnv PerlResponseHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4headerparser888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4response SetHandler modperl PerlHeaderparserHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4headerparser </Location> PerlModule TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4uthz <Location /TestHooks__authz> require user dougm AuthType Basic AuthName simple PerlAuthenHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4uthz888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4uth_any PerlResponseHandler Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4TestHandler888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ok1 SetHandler modperl PerlAuthzHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4uthz </Location> Listen localhost:8538 <VirtualHost _default_:8538> ServerName localhost:8538 PerlSetVar PostConfig VHost PerlModule TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4startup PerlPostConfigHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4startup888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4post_config PerlOpenLogsHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4startup888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4open_logs <Location /TestHooks__startup> SetHandler modperl PerlResponseHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4startup </Location> </VirtualHost> PerlSetVar PostConfig Main PerlModule TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4startup PerlPostConfigHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4startup888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4post_config PerlOpenLogsHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4startup888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4open_logs <Location /TestHooks__startup> SetHandler modperl PerlResponseHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4startup </Location> <Location /TestHooks__push_handlers_same_phase> SetHandler modperl PerlResponseHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4push_handlers_same_phase </Location> <Location /TestHooks__push_handlers_blessed> SetHandler modperl PerlResponseHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4push_handlers_blessed </Location> <Location /TestHooks__authen> require valid-user AuthType Basic AuthName simple PerlResponseHandler Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4TestHandler888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ok1 SetHandler modperl PerlAuthenHandler TestHooks888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4uthen </Location> PerlModule TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_error <Location /TestFilter__in_error> SetHandler modperl PerlResponseHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_error888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4response PerlInputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_error </Location> PerlModule TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_init_basic <Location /TestFilter__out_init_basic> SetHandler modperl PerlResponseHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_init_basi888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4response PerlOutputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_init_basi888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4transparent </Location> Listen localhost:8539 <VirtualHost _default_:8539> ServerName localhost:8539 PerlModule TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_bbs_inject_header PerlInputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_bbs_inject_header <Location /TestFilter__in_bbs_inject_header> SetHandler modperl PerlResponseHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_bbs_inject_header888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4response </Location> </VirtualHost> PerlModule TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_str_remove <Location /TestFilter__out_str_remove> SetHandler modperl PerlResponseHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_str_remov888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4response PerlOutputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_str_remov888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4insert_underscores PerlOutputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_str_remov888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4upcase_n_remove </Location> PerlModule TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_str_subreq_modperl <Location /modperl_subrequest> SetHandler modperl PerlResponseHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_str_subreq_modperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4subrequest </Location> <Location /TestFilter__out_str_subreq_modperl> SetHandler modperl PerlResponseHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_str_subreq_modperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4response PerlOutputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_str_subreq_modperl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4include </Location> PerlModule TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_str_declined <Location /TestFilter__out_str_declined> SetHandler modperl PerlResponseHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_str_declin888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4response PerlOutputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_str_declin888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4decline PerlOutputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_str_declin888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4black_hole </Location> PerlModule TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_bbs_underrun #PerlInputFilterHandler ModPerl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4TestFilterDebug888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4snoop_request <Location /TestFilter__in_bbs_underrun> SetHandler modperl PerlResponseHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_bbs_underrun888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4response PerlInputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_bbs_underrun888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4handler </Location> PerlModule TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_str_subreq_default Alias /default_subrequest /usr/home/kiki/work/mod_perl-1.99_13/t/htdocs/filter <Location /default_subrequest> SetHandler default-handler </Location> <Location /TestFilter__out_str_subreq_default> SetHandler modperl PerlResponseHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_str_subreq_default888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4response PerlOutputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_str_subreq_default888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4include </Location> PerlModule TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_str_req_eos <Location /TestFilter__out_str_req_eos> SetHandler modperl PerlResponseHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_str_req_eos PerlOutputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_str_req_eos888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4_prefix PerlOutputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_str_req_eos888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4_suffix </Location> PerlModule TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_bbs_ctx <Location /TestFilter__out_bbs_ctx> SetHandler modperl PerlResponseHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_bbs_ctx888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4response PerlOutputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_bbs_ctx </Location> PerlModule TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_str_api <Location /TestFilter__out_str_api> SetHandler modperl PerlResponseHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_str_api888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4response PerlOutputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_str_api </Location> PerlModule TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_bbs_body <Location /TestFilter__in_bbs_body> SetHandler modperl PerlResponseHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_bbs_body888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4response PerlInputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_bbs_body </Location> PerlModule TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_str_consume #PerlInputFilterHandler ModPerl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4TestFilterDebug888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4snoop_request #PerlInputFilterHandler ModPerl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4TestFilterDebug888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4snoop_request <Location /TestFilter__in_str_consume> SetHandler modperl PerlResponseHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_str_consum888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4response PerlInputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_str_consum888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4handler </Location> PerlModule TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_str_reverse <LocationMatch "/filter/reverse.txt"> PerlOutputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_str_reverse </LocationMatch> <Location /TestFilter__out_str_reverse> SetHandler modperl PerlResponseHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_str_revers888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4response PerlOutputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_str_reverse </Location> PerlModule TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_str_ctx <Location /TestFilter__out_str_ctx> SetHandler modperl PerlResponseHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_str_ctx888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4response PerlOutputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_str_ctx </Location> PerlModule TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_str_sandwich <Location /TestFilter__in_str_sandwich> SetHandler modperl PerlResponseHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_str_sandwich888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4response PerlInputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_str_sandwich </Location> PerlModule TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_init_basic <Location /TestFilter__in_init_basic> SetHandler modperl PerlResponseHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_init_basi888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4response PerlInputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_init_basi888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4suicide PerlInputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_init_basi888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4transparent </Location> PerlModule TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_str_req_mix <Location /TestFilter__out_str_req_mix> Options +Includes PerlOutputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_str_req_mix888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4just PerlSetOutputFilter INCLUDES PerlOutputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_str_req_mix888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4just SetHandler modperl PerlResponseHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_str_req_mix </Location> PerlModule TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_bbs_basic <Location /TestFilter__out_bbs_basic> SetHandler modperl PerlResponseHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_bbs_basi888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4response PerlOutputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_bbs_basic </Location> PerlModule TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_str_lc <Location /TestFilter__in_str_lc> SetHandler modperl PerlResponseHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_str_l888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4response PerlInputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_str_lc </Location> PerlModule TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4oth_str_req_mix <Location /TestFilter__both_str_req_mix> Options +Includes # DEFLATE has a higher priority (AP_FTYPE_CONTENT_SET=20) than # mod_perl request filters (AP_FTYPE_RESOURCE=10), so it's going # to filter input first no matter how we insert other mod_perl # filters. (mod_perl connection filter handlers have an even # higher priority (AP_FTYPE_PROTOCOL = 30), see # include/util_filter.h for those definitions). # # PerlSetInputFilter is only useful for preserving the # insertion order of filters with the same priority SetInputFilter DEFLATE #PerlInputFilterHandler ModPerl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4TestFilterDebug888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4snoop_request PerlInputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4oth_str_req_mix888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_adjust PerlInputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4oth_str_req_mix888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4transparent # here INCLUDES and adjust are both of the same priority # (AP_FTYPE_RESOURCE), so PerlSetOutputFilter PerlOutputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4oth_str_req_mix888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_adjust_before_ssi PerlSetOutputFilter INCLUDES PerlOutputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4oth_str_req_mix888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_adjust_after_ssi #PerlOutputFilterHandler ModPerl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4TestFilterDebug888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4snoop_request PerlSetOutputFilter DEFLATE SetHandler modperl PerlResponseHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4oth_str_req_mix </Location> <Location /TestFilter__in_autoload> SetHandler modperl PerlResponseHandler ModPerl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Test888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4pass_through_response_handler # no PerlModule TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_load on purpose PerlInputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_autoload </Location> Listen localhost:8540 <VirtualHost _default_:8540> ServerName localhost:8540 PerlModule TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_str_msg PerlInputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_str_msg <Location /TestFilter__in_str_msg> SetHandler modperl PerlResponseHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_str_msg888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4response </Location> </Virtualhost> <Location /TestFilter__in_str_msg> PerlInputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_str_msg </Location> PerlModule TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4oth_str_req_add <Location /TestFilter__both_str_req_add> SetHandler modperl PerlHeaderParserHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4oth_str_req_888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4header_parser PerlResponseHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4oth_str_req_add </Location> Listen localhost:8541 <VirtualHost _default_:8541> ServerName localhost:8541 PerlModule TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4oth_str_con_add PerlPreConnectionHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4oth_str_con_888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4pre_connection PerlProcessConnectionHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4oth_str_con_add </VirtualHost> <IfModule mod_proxy.c> <Proxy http://localhost:8529/*> <IfModule mod_access.c> Order Deny,Allow Deny from all Allow from localhost </IfModule> </Proxy> ProxyRequests Off RewriteEngine On ProxyPass /TestFilter__both_str_req_proxy/ \ http://localhost:8529/TestFilter__both_str_req_proxy_content/ ProxyPassReverse /TestFilter__both_str_req_proxy/ \ http://localhost:8529/TestFilter__both_str_req_proxy_content/ </IfModule> PerlModule TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4oth_str_req_proxy <Location /TestFilter__both_str_req_proxy> PerlInputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4oth_str_req_proxy888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_filter PerlOutputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4oth_str_req_proxy888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_filter </Location> <Location /TestFilter__both_str_req_proxy_content> SetHandler modperl PerlResponseHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4oth_str_req_proxy </Location> Listen localhost:8542 <VirtualHost _default_:8542> ServerName localhost:8542 PerlModule TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_bbs_msg PerlInputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_bbs_msg <Location /TestFilter__in_bbs_msg> SetHandler modperl PerlResponseHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_bbs_msg888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4response </Location> </VirtualHost> PerlModule TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_bbs_consume <Location /TestFilter__in_bbs_consume> SetHandler modperl PerlResponseHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_bbs_consum888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4response PerlInputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_bbs_consume </Location> <Location /top_dir> PerlOutputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_str_lc </Location> Alias /top_dir /usr/home/kiki/work/mod_perl-1.99_13 <Location /TestFilter__out_str_lc> PerlOutputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4out_str_lc </Location> PerlModule TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_str_declined <Location /TestFilter__in_str_declined> SetHandler modperl PerlResponseHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_str_declin888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4response PerlInputFilterHandler TestFilter888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4in_str_declined </Location> # APACHE_TEST_CONFIG_ORDER 940 PerlSwitches -I/usr/home/kiki/work/mod_perl-1.99_13/t/htdocs/testdirective/perlmodule-vh Listen localhost:8543 <VirtualHost _default_:8543> ServerName localhost:8543 PerlModule ApacheTest888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4PerlModuleTest <Location /TestDirective__perlmodule> SetHandler modperl PerlResponseHandler TestDirectiv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4perlmodule </Location> </Virtualhost> <Location /TestDirective__perlmodule> SetHandler modperl PerlResponseHandler TestDirectiv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4perlmodule </Location> # APACHE_TEST_CONFIG_ORDER 940 PerlSwitches -I/usr/home/kiki/work/mod_perl-1.99_13/t/htdocs/testdirective/main PerlRequire "ApacheTest/PerlRequireTest.pm" Listen localhost:8544 <VirtualHost _default_:8544> ServerName localhost:8544 <IfDefine PERL_USEITHREADS> # a new interpreter pool PerlOptions +Parent </IfDefine> # use test system's @INC PerlSwitches -I/usr/home/kiki/work/mod_perl-1.99_13/t PerlRequire "conf/modperl_inc.pl" PerlModule Apache2 PerlSwitches -I/usr/home/kiki/work/mod_perl-1.99_13/t/htdocs/testdirective/vh PerlRequire "ApacheTest/PerlRequireTest.pm" <Location /TestDirective__perlrequire> SetHandler modperl PerlResponseHandler TestDirectiv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4perlrequire </Location> </Virtualhost> <Location /TestDirective__perlrequire> SetHandler modperl PerlResponseHandler TestDirectiv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4perlrequire </Location> # APACHE_TEST_CONFIG_ORDER 941 Listen localhost:8545 <VirtualHost _default_:8545> ServerName localhost:8545 <IfDefine PERL_USEITHREADS> # a new interpreter pool PerlOptions +Parent </IfDefine> # use test system's @INC PerlSwitches -I/usr/home/kiki/work/mod_perl-1.99_13/t PerlRequire "conf/modperl_inc.pl" PerlModule Apache2 <Location /TestPerl__ithreads> SetHandler modperl PerlResponseHandler TestPerl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ithreads </Location> </Virtualhost> <Location /TestPerl__ithreads> SetHandler modperl PerlResponseHandler TestPerl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ithreads </Location> # APACHE_TEST_CONFIG_ORDER 950 PerlLoadModule TestDirectiv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4perlloadmodule4 Listen localhost:8546 <VirtualHost _default_:8546> ServerName localhost:8546 # here perlloadmodule sets scfg on behalf of the base server MyTest4 "Vhost" <Location /TestDirective__perlloadmodule4> MyTest4 "Dir" SetHandler modperl PerlResponseHandler TestDirectiv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4perlloadmodule4 </Location> </Virtualhost> <Location /TestDirective__perlloadmodule4> SetHandler modperl PerlResponseHandler TestDirectiv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4perlloadmodule4 </Location> # APACHE_TEST_CONFIG_ORDER 950 PerlLoadModule TestDirectiv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4perlloadmodule2 MyMergeTest one two <Location /TestDirective__perlloadmodule2> MyMergeTest three four </Location> <Location /TestDirective__perlloadmodule2/subdir> MyMergeTest five MyMergeTest six </Location> <Location /TestDirective__perlloadmodule2> SetHandler modperl PerlResponseHandler TestDirectiv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4perlloadmodule2 </Location> # APACHE_TEST_CONFIG_ORDER 950 PerlLoadModule TestDirectiv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4perlloadmodule MyTest one two ServerTest per-server <Location /TestDirective__perlloadmodule> MyOtherTest value SetHandler modperl PerlResponseHandler TestDirectiv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4perlloadmodule </Location> # APACHE_TEST_CONFIG_ORDER 950 PerlLoadModule TestDirectiv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4perlloadmodule5 Listen localhost:8547 <VirtualHost _default_:8547> ServerName localhost:8547 # here mod_perl sets the scfg by itself for this vhost PerlModule Fil888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Spec MyTest5 "Vhost" <Location /TestDirective__perlloadmodule5> MyTest5 "Dir" SetHandler modperl PerlResponseHandler TestDirectiv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4perlloadmodule5 </Location> </Virtualhost> <Location /TestDirective__perlloadmodule5> SetHandler modperl PerlResponseHandler TestDirectiv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4perlloadmodule5 </Location> # APACHE_TEST_CONFIG_ORDER 950 PerlLoadModule TestDirectiv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4perlloadmodule3 MyPlus 5 MyList "MainServer" MyAppend "MainServer" MyOverride "MainServer" Listen localhost:8548 <VirtualHost _default_:8548> ServerName localhost:8548 MyPlus 2 MyList "VHost" MyAppend "VHost" MyOverride "VHost" <Location /TestDirective__perlloadmodule3> MyPlus 3 MyList "Dir" MyAppend "Dir" MyOverride "Dir" SetHandler modperl PerlResponseHandler TestDirectiv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4perlloadmodule3 </Location> <Location /TestDirective__perlloadmodule3/subdir> MyPlus 1 MyList "SubDir" MyAppend "SubDir" MyOverride "SubDir" </Location> </Virtualhost> <Location /TestDirective__perlloadmodule3> SetHandler modperl PerlResponseHandler TestDirectiv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4perlloadmodule3 </Location> # XXX: we want to have this configuration section to come first # amongst other perlloadmodule tests (<950), so we can test how # mod_perl starts from vhost. but currently we can't because # PerlSwitches from other tests are ignored, so the test suite fails # to startup. # # tmp solution: ensure that it's configured *after* all other # perlloadmodule tests # # APACHE_TEST_CONFIG_ORDER 951 Listen localhost:8549 <VirtualHost _default_:8549> ServerName localhost:8549 PerlLoadModule TestDirectiv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4perlloadmodule6 MyTest6 "Vhost" <Location /TestDirective__perlloadmodule6> MyTest6 "Dir" SetHandler modperl PerlResponseHandler TestDirectiv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4perlloadmodule6 </Location> </Virtualhost> <Location /TestDirective__perlloadmodule6> SetHandler modperl PerlResponseHandler TestDirectiv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4perlloadmodule6 </Location> Include "/usr/home/kiki/work/mod_perl-1.99_13/t/conf/extra.last.conf" --------------------------------------------------------------------- To unsubscribe, e-mail: ywilliamson@example.org For additional commands, e-mail: ywilliamson@example.org From ywilliamson@example.org Thu Apr 01 12:53:45 2004 Return-Path: <ywilliamson@example.org> Delivered-To: ywilliamson@example.org Received: (qmail 60694 invoked from network); 1 Apr 2004 12:53:45 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Apr 2004 12:53:45 -0000 Received: (qmail 70260 invoked by uid 500); 1 Apr 2004 12:53:22 -0000 Delivered-To: ywilliamson@example.org Received: (qmail 70233 invoked by uid 500); 1 Apr 2004 12:53:22 -0000 Mailing-List: contact ywilliamson@example.org; run by ezmlm Precedence: bulk list-help: <mailto:ywilliamson@example.org> list-unsubscribe: <mailto:ywilliamson@example.org> list-post: <mailto:ywilliamson@example.org> Delivered-To: mailing list ywilliamson@example.org Received: (qmail 70135 invoked from network); 1 Apr 2004 12:53:21 -0000 Received: from unknown (HELO secure.exclamationlabs.net) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2004 12:53:21 -0000 Received: from modperlcookbook.org (pcp05675728pcs.walngs01.pa.comcast.net [83.161.120.155]) (authenticated (0 bits)) by secure.exclamationlabs.net (8.11.6/8.11.6) with ESMTP id i31Cr4P03103; Thu, 1 Apr 2004 06:53:05 -0600 Message-ID: <ywilliamson@example.org> Date: Thu, 01 Apr 2004 07:53:04 -0500 From: Geoffrey Young <ywilliamson@example.org> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040124 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Joe Orton <ywilliamson@example.org> CC: Stas Bekman <ywilliamson@example.org>, ywilliamson@example.org Subject: Re: large file support References: <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> In-Reply-To: <ywilliamson@example.org> X-Enigmail-Version: 83.161.120.155 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > The worker backtrace is not for the thread which actually generated the > SEGV; using "info threads" should show which one is different, then > "thread <n>" and backtrace to switch to it in gdb, if you like. ok, I'll try that. > > What is the repro case? Just build everything from HEAD and run the > mod_perl test suite? yup, philippe did exactly that and saw the same thing (for worker). if it matters, we're both on fedora - I haven't tried another os. but doing the known NPTL workarounds for fedora didn't seem to help and something is affecting prefork as well. > > You have made completely fresh checkout and rebuilds of apr, apr-util, > httpd, and mod_perl? Because the size of apr_off_t changed you can't > mix and match any binaries between "HEAD from before LFS" with "HEAD > after LFS was enabled". yes, this is all httpd/apr/apr-util and mod_perl HEAD. I actually recompile from them all from HEAD nightly (as well as the 2_0_BRANCH stuff). --Geoff --------------------------------------------------------------------- To unsubscribe, e-mail: ywilliamson@example.org For additional commands, e-mail: ywilliamson@example.org From ywilliamson@example.org Thu Apr 01 14:10:08 2004 Return-Path: <ywilliamson@example.org> Delivered-To: ywilliamson@example.org Received: (qmail 17645 invoked from network); 1 Apr 2004 14:10:08 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Apr 2004 14:10:08 -0000 Received: (qmail 80277 invoked by uid 500); 1 Apr 2004 14:09:43 -0000 Delivered-To: ywilliamson@example.org Received: (qmail 80147 invoked by uid 500); 1 Apr 2004 14:09:42 -0000 Mailing-List: contact ywilliamson@example.org; run by ezmlm Precedence: bulk list-help: <mailto:ywilliamson@example.org> list-unsubscribe: <mailto:ywilliamson@example.org> list-post: <mailto:ywilliamson@example.org> Delivered-To: mailing list ywilliamson@example.org Received: (qmail 80054 invoked from network); 1 Apr 2004 14:09:42 -0000 Received: from unknown (HELO secure.exclamationlabs.net) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2004 14:09:42 -0000 Received: from modperlcookbook.org (pcp05675728pcs.walngs01.pa.comcast.net [83.161.120.155]) (authenticated (0 bits)) by secure.exclamationlabs.net (8.11.6/8.11.6) with ESMTP id i31E9NP04841; Thu, 1 Apr 2004 08:09:23 -0600 Message-ID: <ywilliamson@example.org> Date: Thu, 01 Apr 2004 09:09:22 -0500 From: Geoffrey Young <ywilliamson@example.org> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040124 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Joe Orton <ywilliamson@example.org> CC: Stas Bekman <ywilliamson@example.org>, ywilliamson@example.org Subject: Re: large file support References: <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> In-Reply-To: <ywilliamson@example.org> X-Enigmail-Version: 83.161.120.155 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > so s/APR_HAS_LARGE_FILES 1/APR_HAS_LARGE_FILES 0/ on apr.h and the > problem will go away. I'll fix APR. yup, that seemed to do the trick. verified with both prefork and worker without --disable-lfs. as an aside, does it make sense to add something about LFS to the output of httpd -V? anyway, thanks for taking the time to work on it - much appreciated in our little perl corner :) --Geoff --------------------------------------------------------------------- To unsubscribe, e-mail: ywilliamson@example.org For additional commands, e-mail: ywilliamson@example.org From ywilliamson@example.org Thu Apr 01 15:40:03 2004 Return-Path: <ywilliamson@example.org> Delivered-To: ywilliamson@example.org Received: (qmail 79670 invoked from network); 1 Apr 2004 15:40:03 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Apr 2004 15:40:03 -0000 Received: (qmail 37962 invoked by uid 500); 1 Apr 2004 15:39:56 -0000 Delivered-To: ywilliamson@example.org Received: (qmail 37953 invoked by uid 500); 1 Apr 2004 15:39:56 -0000 Mailing-List: contact ywilliamson@example.org; run by ezmlm Precedence: bulk list-help: <mailto:ywilliamson@example.org> list-unsubscribe: <mailto:ywilliamson@example.org> list-post: <mailto:ywilliamson@example.org> Delivered-To: mailing list ywilliamson@example.org Received: (qmail 37788 invoked from network); 1 Apr 2004 15:39:55 -0000 Received: from unknown (HELO secure.exclamationlabs.net) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2004 15:39:55 -0000 Received: from modperlcookbook.org (pcp05675728pcs.walngs01.pa.comcast.net [83.161.120.155]) (authenticated (0 bits)) by secure.exclamationlabs.net (8.11.6/8.11.6) with ESMTP id i31FdoP20234; Thu, 1 Apr 2004 09:39:50 -0600 Message-ID: <ywilliamson@example.org> Date: Thu, 01 Apr 2004 10:39:49 -0500 From: Geoffrey Young <ywilliamson@example.org> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040124 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Joe Orton <ywilliamson@example.org> CC: ywilliamson@example.org Subject: Re: large file support References: <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> In-Reply-To: <ywilliamson@example.org> X-Enigmail-Version: 83.161.120.155 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Joe Orton wrote: > On Thu, Apr 01, 2004 at 09:09:22AM -0500, Geoffrey Young wrote: > >>as an aside, does it make sense to add something about LFS to the output of >>httpd -V? > > > Oooh, hmmm, dunno. Problem is that all that users probably want to know > is whether "large" (>2gb) files are supported, and APR_HAS_LARGE_FILES > doesn't necessarily tell you that. oh, ok. I don't claim to know all the issues. I was just thinking that it might be easier to track down conflicts if we could see that APR is using a 64bit implementation under the hood while some other library (like perl) is not. or something like that - the differences are really beyond me, so the kind of compatibility issues I'm thinking about might not even exist. --Geoff --------------------------------------------------------------------- To unsubscribe, e-mail: ywilliamson@example.org For additional commands, e-mail: ywilliamson@example.org From ywilliamson@example.org Thu Apr 01 18:02:21 2004 Return-Path: <ywilliamson@example.org> Delivered-To: ywilliamson@example.org Received: (qmail 54280 invoked from network); 1 Apr 2004 18:02:21 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Apr 2004 18:02:21 -0000 Received: (qmail 42005 invoked by uid 500); 1 Apr 2004 18:02:12 -0000 Delivered-To: ywilliamson@example.org Received: (qmail 41985 invoked by uid 500); 1 Apr 2004 18:02:12 -0000 Mailing-List: contact ywilliamson@example.org; run by ezmlm Precedence: bulk list-help: <mailto:ywilliamson@example.org> list-unsubscribe: <mailto:ywilliamson@example.org> list-post: <mailto:ywilliamson@example.org> Delivered-To: mailing list ywilliamson@example.org Received: (qmail 41874 invoked from network); 1 Apr 2004 18:02:11 -0000 Received: from unknown (HELO mail.logilune.com) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2004 18:02:11 -0000 Received: from stason.org (localhost.logilune.com [83.161.120.155]) by mail.logilune.com (Postfix) with ESMTP id E7CF31E1A32; Thu, 1 Apr 2004 20:02:12 +0200 (CEST) Message-ID: <ywilliamson@example.org> Date: Thu, 01 Apr 2004 10:02:11 -0800 From: Stas Bekman <ywilliamson@example.org> Organization: Hope, Humanized User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115 X-Accept-Language: en-us, en, he, ru MIME-Version: 1.0 To: Joe Orton <ywilliamson@example.org> Cc: Geoffrey Young <ywilliamson@example.org>, ywilliamson@example.org Subject: Re: large file support References: <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> In-Reply-To: <ywilliamson@example.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Joe Orton wrote: >>Joe, regarding your change: >>http://marc.theaimsgroup.com/?l=apr-cvs&m=108039307912906&w=2 >>which seems to completely hose mod_perl 2 >> >>Are you sure this is a good step: >> >> +#if APR_HAS_LARGE_FILES >> +#define lseek(f,o,w) lseek64(f,o,w) >> +#define ftruncate(f,l) ftruncate64(f,l) >> +#endif > > > this is in an internal APR header, the changes are not exported to any > users of APR, so it shouldn't matter. Good then :) Thanks Joe for fixing the problem. > In this case, mod_perl doesn't strip _FILE_OFFSET_BITS=64 from the Perl > ccflags like normal. But _FILE_OFFSET_BITS=64 does still change the > size of apr_ino_t and hence the size of apr_finfo_t and hence the > offsets into request_rec. It can't be stripped, because that's how perl was built and if stripped apps linked with libperl.so (e.g. mod_perl) won't function properly. __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:ywilliamson@example.org http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com --------------------------------------------------------------------- To unsubscribe, e-mail: ywilliamson@example.org For additional commands, e-mail: ywilliamson@example.org From ywilliamson@example.org Thu Apr 01 19:23:25 2004 Return-Path: <ywilliamson@example.org> Delivered-To: ywilliamson@example.org Received: (qmail 98620 invoked from network); 1 Apr 2004 19:23:25 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Apr 2004 19:23:25 -0000 Received: (qmail 31231 invoked by uid 500); 1 Apr 2004 19:23:14 -0000 Delivered-To: ywilliamson@example.org Received: (qmail 31223 invoked by uid 500); 1 Apr 2004 19:23:13 -0000 Mailing-List: contact ywilliamson@example.org; run by ezmlm Precedence: bulk list-help: <mailto:ywilliamson@example.org> list-unsubscribe: <mailto:ywilliamson@example.org> list-post: <mailto:ywilliamson@example.org> Delivered-To: mailing list ywilliamson@example.org Received: (qmail 31207 invoked from network); 1 Apr 2004 19:23:13 -0000 Received: from unknown (HELO mail.logilune.com) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2004 19:23:13 -0000 Received: from stason.org (localhost.logilune.com [83.161.120.155]) by mail.logilune.com (Postfix) with ESMTP id 0FB4F1E195B; Thu, 1 Apr 2004 21:23:16 +0200 (CEST) Message-ID: <ywilliamson@example.org> Date: Thu, 01 Apr 2004 11:23:14 -0800 From: Stas Bekman <ywilliamson@example.org> Organization: Hope, Humanized User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115 X-Accept-Language: en-us, en, he, ru MIME-Version: 1.0 To: Kiki <ywilliamson@example.org> Cc: ywilliamson@example.org Subject: Re: [mp2] Segmentation fault when starting Apache with mod_perl [Apache 2.0.49 / Perl 5.8.2 / mod_perl 1.99_13] References: <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> In-Reply-To: <ywilliamson@example.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Kiki wrote: > OK, I tried 1.99_13 with the same results. The build environment is the > same as for 1.99_12 so I guess the same Bug Report Info applies here too (I > can generate another bug report if you need it though) No, no, that's fine. Hmm, I don't remember seeing mach reports before. Is that Mach OS: http://www-2.cs.cmu.edu/afs/cs/project/mach/public/www/mach.html? I think I've seen a similar trace with some older BSD variant (i think it was openbsd 2.9), but I don't know enough to solve it :( >> We are not aware of this problem, Kiki. You need to give us more matter >> to be able to understand your problem. You don't have a problem to start >> the modperl > test suite, do you? > > > In fact any attempt to start apache with mod_perl (including the one in the > test suite) causes a segmentation fault. OK. Any chance you can try building perl with ithreads and then rebuild mod_perl, and try again? It's a known problem with FreeBSD (which MachOS seems to be a variant of?): modperl-2.0/todo/bugs_build: ... FreeBSD ?? DSO Works with non-threaded perl (4.8-RELEASE and 5.1-RELEASE) http://marc.theaimsgroup.com/?l=apache-modperl&m=106399870822612&w=2 It doesn't work with threaded perl/worker mpm, seemingly because of the problems with threads on FreeBSD (not sure what version). In any case please build perl with debug enabled, since your backtrace doesn't show the arguments to the commands: #0 0x290304f7 in Perl_newSVpvn () from /usr/local/lib/perl5/5.8.2/mach/CORE/libperl.so Here is how: http://perl.apache.org/docs/2.0/user/help/help.html#Resolving_Segmentation_Faults This part hints that there could be a problem with perlio. #1 0x29081219 in PerlIO_open () from /usr/local/lib/perl5/5.8.2/mach/CORE/libperl.so So it's possible that you will need to build perl w/o perlio. But first pleae just try to disable threads. __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:ywilliamson@example.org http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com --------------------------------------------------------------------- To unsubscribe, e-mail: ywilliamson@example.org For additional commands, e-mail: ywilliamson@example.org From ywilliamson@example.org Thu Apr 01 22:40:40 2004 Return-Path: <ywilliamson@example.org> Delivered-To: ywilliamson@example.org Received: (qmail 24494 invoked from network); 1 Apr 2004 22:40:40 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Apr 2004 22:40:40 -0000 Received: (qmail 12756 invoked by uid 500); 1 Apr 2004 22:40:26 -0000 Delivered-To: ywilliamson@example.org Received: (qmail 12744 invoked by uid 500); 1 Apr 2004 22:40:26 -0000 Mailing-List: contact ywilliamson@example.org; run by ezmlm Precedence: bulk list-help: <mailto:ywilliamson@example.org> list-unsubscribe: <mailto:ywilliamson@example.org> list-post: <mailto:ywilliamson@example.org> Delivered-To: mailing list ywilliamson@example.org Received: (qmail 12731 invoked from network); 1 Apr 2004 22:40:25 -0000 Received: from unknown (HELO mx1.redhat.com) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2004 22:40:25 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [83.161.120.155]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i31MeVjj006280; Thu, 1 Apr 2004 17:40:31 -0500 Received: from radish.cambridge.redhat.com (radish.cambridge.redhat.com [83.161.120.155]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i31MeUj16656; Thu, 1 Apr 2004 17:40:30 -0500 Received: from radish.cambridge.redhat.com (localhost.localdomain [83.161.120.155]) by radish.cambridge.redhat.com (8.12.10/8.12.7) with ESMTP id i31MeTUr030104; Thu, 1 Apr 2004 23:40:29 +0100 Received: (from jorton@localhost) by radish.cambridge.redhat.com (8.12.10/8.12.10/Submit) id i31MeTlO030103; Thu, 1 Apr 2004 23:40:29 +0100 Date: Thu, 1 Apr 2004 23:40:29 +0100 From: Joe Orton <ywilliamson@example.org> To: Stas Bekman <ywilliamson@example.org> Cc: Geoffrey Young <ywilliamson@example.org>, ywilliamson@example.org Subject: Re: large file support Message-ID: <ywilliamson@example.org> References: <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <ywilliamson@example.org> User-Agent: Mutt/1.4.1i X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I actually can't convince myself that changing APR_HAS_LARGE_FILES to be 0 on APR HEAD when LFS support is *enabled* is the right thing to do; it just doesn't make sense. I think the right way to solve this is to make mod_perl's has_large_files_conflict/strip_lfs functions a bit more smarter, I'll follow up with a more concrete proposal tomorrow. (well, actually, the Right Place to solve this is to get Perl to not do anything really silly like export -D_FILE_OFFSET_BITS=64 in the first place, but hey) joe --------------------------------------------------------------------- To unsubscribe, e-mail: ywilliamson@example.org For additional commands, e-mail: ywilliamson@example.org From ywilliamson@example.org Thu Apr 01 22:50:20 2004 Return-Path: <ywilliamson@example.org> Delivered-To: ywilliamson@example.org Received: (qmail 29843 invoked from network); 1 Apr 2004 22:50:20 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Apr 2004 22:50:20 -0000 Received: (qmail 28319 invoked by uid 500); 1 Apr 2004 22:49:54 -0000 Delivered-To: ywilliamson@example.org Received: (qmail 28303 invoked by uid 500); 1 Apr 2004 22:49:54 -0000 Mailing-List: contact ywilliamson@example.org; run by ezmlm Precedence: bulk list-help: <mailto:ywilliamson@example.org> list-unsubscribe: <mailto:ywilliamson@example.org> list-post: <mailto:ywilliamson@example.org> Delivered-To: mailing list ywilliamson@example.org Received: (qmail 28238 invoked from network); 1 Apr 2004 22:49:53 -0000 Received: from unknown (HELO mail.logilune.com) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2004 22:49:53 -0000 Received: from stason.org (localhost.logilune.com [83.161.120.155]) by mail.logilune.com (Postfix) with ESMTP id 390471E1995; Fri, 2 Apr 2004 00:49:58 +0200 (CEST) Message-ID: <ywilliamson@example.org> Date: Thu, 01 Apr 2004 14:49:56 -0800 From: Stas Bekman <ywilliamson@example.org> Organization: Hope, Humanized User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115 X-Accept-Language: en-us, en, he, ru MIME-Version: 1.0 To: Joe Orton <ywilliamson@example.org> Cc: Geoffrey Young <ywilliamson@example.org>, ywilliamson@example.org Subject: Re: large file support References: <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> In-Reply-To: <ywilliamson@example.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Joe Orton wrote: > I actually can't convince myself that changing APR_HAS_LARGE_FILES to be > 0 on APR HEAD when LFS support is *enabled* is the right thing to do; it > just doesn't make sense. > > I think the right way to solve this is to make mod_perl's > has_large_files_conflict/strip_lfs functions a bit more smarter, I'll > follow up with a more concrete proposal tomorrow. I doubt this has anything to do with has_large_files_conflict. It's only used to decide whether we can allow seek() with non-zero offset. The segfaulting happens much much earlier. > (well, actually, the Right Place to solve this is to get Perl to not do > anything really silly like export -D_FILE_OFFSET_BITS=64 in the first > place, but hey) Why do you find that silly? If perl was built with these options, other apps linking that library also need to build with this option. If not there will be a mismatch in what perl and the app think about the size of several data types. __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:ywilliamson@example.org http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com --------------------------------------------------------------------- To unsubscribe, e-mail: ywilliamson@example.org For additional commands, e-mail: ywilliamson@example.org From ywilliamson@example.org Thu Apr 01 23:29:14 2004 Return-Path: <ywilliamson@example.org> Delivered-To: ywilliamson@example.org Received: (qmail 49071 invoked from network); 1 Apr 2004 23:29:14 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 1 Apr 2004 23:29:14 -0000 Received: (qmail 86876 invoked by uid 500); 1 Apr 2004 23:28:59 -0000 Delivered-To: ywilliamson@example.org Received: (qmail 86858 invoked by uid 500); 1 Apr 2004 23:28:59 -0000 Mailing-List: contact ywilliamson@example.org; run by ezmlm Precedence: bulk list-help: <mailto:ywilliamson@example.org> list-unsubscribe: <mailto:ywilliamson@example.org> list-post: <mailto:ywilliamson@example.org> Delivered-To: mailing list ywilliamson@example.org Received: (qmail 86843 invoked from network); 1 Apr 2004 23:28:59 -0000 Received: from unknown (HELO mx1.redhat.com) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2004 23:28:59 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [83.161.120.155]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i31NT5jj020438; Thu, 1 Apr 2004 18:29:05 -0500 Received: from radish.cambridge.redhat.com (radish.cambridge.redhat.com [83.161.120.155]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i31NT2j30146; Thu, 1 Apr 2004 18:29:02 -0500 Received: from radish.cambridge.redhat.com (localhost.localdomain [83.161.120.155]) by radish.cambridge.redhat.com (8.12.10/8.12.7) with ESMTP id i31NT1Ur030155; Fri, 2 Apr 2004 00:29:01 +0100 Received: (from jorton@localhost) by radish.cambridge.redhat.com (8.12.10/8.12.10/Submit) id i31NT19M030154; Fri, 2 Apr 2004 00:29:01 +0100 Date: Fri, 2 Apr 2004 00:29:01 +0100 From: Joe Orton <ywilliamson@example.org> To: Stas Bekman <ywilliamson@example.org> Cc: Geoffrey Young <ywilliamson@example.org>, ywilliamson@example.org Subject: Re: large file support Message-ID: <ywilliamson@example.org> References: <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <ywilliamson@example.org> User-Agent: Mutt/1.4.1i X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Thu, Apr 01, 2004 at 02:49:56PM -0800, Stas Bekman wrote: > Joe Orton wrote: > >I actually can't convince myself that changing APR_HAS_LARGE_FILES to be > >0 on APR HEAD when LFS support is *enabled* is the right thing to do; it > >just doesn't make sense. > > > >I think the right way to solve this is to make mod_perl's > >has_large_files_conflict/strip_lfs functions a bit more smarter, I'll > >follow up with a more concrete proposal tomorrow. > > I doubt this has anything to do with has_large_files_conflict. It's only > used to decide whether we can allow seek() with non-zero offset. The > segfaulting happens much much earlier. The primary reason for has_large_files_conflict/strip_lfs existing is to prevent the problem now being seen on HEAD happening with 2.0. Remove the strip_lfs logic from mod_perl and try building against a 2.0.x release and I'll bet you'll see exactly the same issue. joe --------------------------------------------------------------------- To unsubscribe, e-mail: ywilliamson@example.org For additional commands, e-mail: ywilliamson@example.org From ywilliamson@example.org Fri Apr 02 00:28:59 2004 Return-Path: <ywilliamson@example.org> Delivered-To: ywilliamson@example.org Received: (qmail 84773 invoked from network); 2 Apr 2004 00:28:59 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 2 Apr 2004 00:28:59 -0000 Received: (qmail 70398 invoked by uid 500); 2 Apr 2004 00:28:43 -0000 Delivered-To: ywilliamson@example.org Received: (qmail 70386 invoked by uid 500); 2 Apr 2004 00:28:43 -0000 Mailing-List: contact ywilliamson@example.org; run by ezmlm Precedence: bulk list-help: <mailto:ywilliamson@example.org> list-unsubscribe: <mailto:ywilliamson@example.org> list-post: <mailto:ywilliamson@example.org> Delivered-To: mailing list ywilliamson@example.org Received: (qmail 70372 invoked from network); 2 Apr 2004 00:28:42 -0000 Received: from unknown (HELO mail.logilune.com) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Apr 2004 00:28:42 -0000 Received: from stason.org (localhost.logilune.com [83.161.120.155]) by mail.logilune.com (Postfix) with ESMTP id 941BC1E1984; Fri, 2 Apr 2004 02:28:46 +0200 (CEST) Message-ID: <ywilliamson@example.org> Date: Thu, 01 Apr 2004 16:28:44 -0800 From: Stas Bekman <ywilliamson@example.org> Organization: Hope, Humanized User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115 X-Accept-Language: en-us, en, he, ru MIME-Version: 1.0 To: Joe Orton <ywilliamson@example.org> Cc: Geoffrey Young <ywilliamson@example.org>, ywilliamson@example.org Subject: Re: large file support References: <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> <ywilliamson@example.org> In-Reply-To: <ywilliamson@example.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Joe Orton wrote: > On Thu, Apr 01, 2004 at 02:49:56PM -0800, Stas Bekman wrote: > >>Joe Orton wrote: >> >>>I actually can't convince myself that changing APR_HAS_LARGE_FILES to be >>>0 on APR HEAD when LFS support is *enabled* is the right thing to do; it >>>just doesn't make sense. >>> >>>I think the right way to solve this is to make mod_perl's >>>has_large_files_conflict/strip_lfs functions a bit more smarter, I'll >>>follow up with a more concrete proposal tomorrow. >> >>I doubt this has anything to do with has_large_files_conflict. It's only >>used to decide whether we can allow seek() with non-zero offset. The >>segfaulting happens much much earlier. > > > The primary reason for has_large_files_conflict/strip_lfs existing is to > prevent the problem now being seen on HEAD happening with 2.0. Remove > the strip_lfs logic from mod_perl and try building against a 2.0.x > release and I'll bet you'll see exactly the same issue. right, I forgot that we had that strip_lfs function, I thought it was something from apr. So looking forward for your proposal/patch for the improved strip_lfs, Joe! __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:ywilliamson@example.org http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com --------------------------------------------------------------------- To unsubscribe, e-mail: ywilliamson@example.org For additional commands, e-mail: ywilliamson@example.org From ywilliamson@example.org Fri Apr 02 02:33:04 2004 Return-Path: <ywilliamson@example.org> Delivered-To: ywilliamson@example.org Received: (qmail 42749 invoked from network); 2 Apr 2004 02:33:04 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 2 Apr 2004 02:33:04 -0000 Received: (qmail 28978 invoked by uid 500); 2 Apr 2004 02:32:46 -0000 Delivered-To: ywilliamson@example.org Received: (qmail 28966 invoked by uid 500); 2 Apr 2004 02:32:46 -0000 Mailing-List: contact ywilliamson@example.org; run by ezmlm Precedence: bulk list-help: <mailto:ywilliamson@example.org> list-unsubscribe: <mailto:ywilliamson@example.org> list-post: <mailto:ywilliamson@example.org> Delivered-To: mailing list ywilliamson@example.org Received: (qmail 28944 invoked from network); 2 Apr 2004 02:32:45 -0000 Received: from unknown (HELO mail.logilune.com) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Apr 2004 02:32:45 -0000 Received: from stason.org (localhost.logilune.com [83.161.120.155]) by mail.logilune.com (Postfix) with ESMTP id E5E211E194D for <ywilliamson@example.org>; Fri, 2 Apr 2004 04:32:52 +0200 (CEST) Message-ID: <ywilliamson@example.org> Date: Thu, 01 Apr 2004 18:31:18 -0800 From: Stas Bekman <ywilliamson@example.org> Organization: Hope, Humanized User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115 X-Accept-Language: en-us, en, he, ru MIME-Version: 1.0 To: ywilliamson@example.org Subject: remaing END blocks issues (was Re: cvs commit: modperl-2.0/todo release) References: <ywilliamson@example.org> In-Reply-To: <ywilliamson@example.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ywilliamson@example.org wrote: > stas 2004/04/01 18:17:46 > > Modified: ModPerl-Registry/lib/ModPerl RegistryCooker.pm > ModPerl-Registry/t perlrun_extload.t special_blocks.t > ModPerl-Registry/t/cgi-bin perlrun_decl.pm > perlrun_extload.pl perlrun_nondecl.pl > special_blocks.pl > ModPerl-Registry/t/conf modperl_extra_startup.pl > src/modules/perl mod_perl.c modperl_handler.c modperl_perl.c > modperl_perl.h modperl_perl_global.c > modperl_perl_global.h modperl_util.c modperl_util.h > t/response/TestModperl endav.pm > xs/ModPerl/Global ModPerl__Global.h > xs/maps modperl_functions.map > xs/tables/current/ModPerl FunctionTable.pm > . Changes > todo release [...] > -* child processes never run END blocks. a good example is > - Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4TestUtil, which doesn't cleanup files and dirs it has > - created, because the END block is not run. > - also: see the next item > - owner: stas > - > -* ModPerl888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Registry END {} block woes , described in details at the > - forwarded message from Jim Schueler > - http://marc.theaimsgroup.com/?l=apache-modperl&m=103720834717981&w=2 > - the whole thread is here: > - http://marc.theaimsgroup.com/?t=103713532800003&r=1&w=2 > - owner: stas The gist of this big patch is simple. 1) Now only registered packages will snap END blocks from PL_endav under perl-script (and a user has a complete control if they want any extra packages to be registered and their END blocks to be run). 2) the END blocks are now run by the child processes (they weren't before, since they were never moved out of PL_modglobal into PL_endav). A few remaining END blocks issues: 1) we probably should *not* run END blocks inherited from the parent process, otherwise we have BEGIN blocks run once in the parent, and END blocks run N times (once in the parent and once in each child process). So we should probably reset PL_endav in child_init. 2) there are several issues with threaded mpms at the server shutdown: Attempt to free unreferenced scalar: SV 0xc4b8fd8 during global destruction. Attempt to free temp prematurely: SV 0xc46a2ac during global destruction. Scalars leaked: 1 I'll be ywilliamson@example.org. 3) I have a concern regarding 'httpd -k stop', sending SIGTERM. It's known that we have a problem with httpd, which is not considered of any pool cleanups that are still running and will just abort them if they are too slow. So by enabling this run of END blocks in child_exit we raise the chance that pool cleanups will be aborted. Making cleanups very unreliable. Last I mentioned this on apr-dev, I was sent to httpd-dev. I guess we need to pursue this issue with httpd-dev. 4) END blocks running too many times: http://marc.theaimsgroup.com/?t=106387825600002&r=1&w=2 I haven't had a change to work on this one yet. __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:ywilliamson@example.org http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com --------------------------------------------------------------------- To unsubscribe, e-mail: ywilliamson@example.org For additional commands, e-mail: ywilliamson@example.org From ywilliamson@example.org Fri Apr 02 05:29:05 2004 Return-Path: <ywilliamson@example.org> Delivered-To: ywilliamson@example.org Received: (qmail 11633 invoked from network); 2 Apr 2004 05:29:05 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur-2.apache.org with SMTP; 2 Apr 2004 05:29:05 -0000 Received: (qmail 27532 invoked by uid 500); 2 Apr 2004 05:28:40 -0000 Delivered-To: ywilliamson@example.org Received: (qmail 27460 invoked from network); 2 Apr 2004 05:28:36 -0000 Received: from unknown (HELO wbar1.tmp1-4-11-114-195.dsl-verizon.net) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Apr 2004 05:28:36 -0000 Received: from [83.161.120.155] by wbar1.tmp1-4-11-114-195.dsl-verizon.net id <9848804-57612>; Fri, 02 Apr 2004 08:21:48 +0300 Message-ID: <v$$6w-x37-uo9l06xjetgf$19856@awhcz> From: "Connie Huynh" <ywilliamson@example.org> Reply-To: "Connie Huynh" <ywilliamson@example.org> To: <ywilliamson@example.org>, <ywilliamson@example.org>, <ywilliamson@example.org>, <ywilliamson@example.org>, <ywilliamson@example.org>, <ywilliamson@example.org>, <ywilliamson@example.org> Subject: We have the best system for buying stocks mjitk pmjp f jakbkz Date: Fri, 02 Apr 04 08:21:48 GMT X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="3C6B02E8997.4_D.45D_D." X-Priority: 3 X-MSMail-Priority: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --3C6B02E8997.4_D.45D_D. Content-Type: text/plain; Content-Transfer-Encoding: quoted-printable April 2004 Top Pick of the Month Life Energy and Technology Holdings, Inc. (OTCBB: LETH) LETH Receives $250,000,000 in Financing to Fund the Manufacture of the Environmentally Friendly Biosphere Process System "waste-to-energy" Units in the United States. First Unit to Roll-out in New Orleans in early Second Quarter. We are expecting earth-shattering upcoming news leading
{'source': 'Apache Software Foundation Public Mail Archives'}