Re: finding OK internal server error message
tks for the direction. i uninstalled apache-asp. went into site\lib\ppm.xml and adjusted the record so that uwinnipeg is the first repository. installed with ppm. did a query to verify. went to the apache\asp.pm to verify manually. tried the system. and no failure messages after 30 screens. so it seems the problem was a quirk in ppm 2.1.6 which unfixed something that was fixed in apache-asp 2.57. on the positive side of the problem, it did strongly encourage me to look at handlers with modperl. which happened to provide an approach to taking http trafffic at a central site and farming it in very specific ways to other servers. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.726 / Virus Database: 481 - Release Date: 7/22/2004 -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html
Re: mod_perl2 1.99_14 and httpd 2.0.49 - gmake test fails (cannot start apache)
[moving that back to the list, so others can help and benefit from] Alexey Bozrikov wrote: Okay, we'll give it a try while I am far from being expert in debugging programs. I had a look at it yesterday night with 'truss' (an AIX equivalent of 'strace'), looks really like an endless stream of fcntl's, loadx__'s and lseek's to me, doubt if there was something of a value. Later on I thought I'd better have a look with gdb, at least gdb is something I used couple of times some 10 years ago. Now it looks less mystical, cause httpd just plain SIGSEGV's in mod_perl, while not producing core and with no signs of dying while ran as plain 't/TEST -verbose ...'. Under gdb, not only it SIGSEGVed, but produced core file as well! Now, this is what came out of 't/TEST -debug ...': [quote] powerpc bozy: /home/bozy/src/mod_perl-1.99_14 $ t/TEST -debug -apxs [warning] setting ulimit to allow core files ulimit -c unlimited; /usr/local/bin/perl /home/bozy/src/mod_perl-1.99_14/t/TEST -debug -apxs GNU gdb 6.1 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "powerpc-ibm-aix5.1.0.0"... [Sun Jul 25 15:27:12 2004] [info] 28 Apache:: modules loaded [Sun Jul 25 15:27:12 2004] [info] 5 APR:: modules loaded [Sun Jul 25 15:27:12 2004] [info] base server + 17 vhosts ready to run tests Program received signal SIGSEGV, Segmentation fault. 0xd0f592ec in modperl_init_vhost () from /home/bozy/src/mod_perl-1.99_14/src/modules/perl/mod_perl.so (gdb) bt #0 0xd0f592ec in modperl_init_vhost () from /home/bozy/src/mod_perl-1.99_14/src/modules/perl/mod_perl.so #1 0xd0f61d34 in modperl_cmd_modules () from /home/bozy/src/mod_perl-1.99_14/src/modules/perl/mod_perl.so #2 0x1000c228 in invoke_cmd (cmd=0x202ce2c0, parms=0x2ff21878, mconfig=0x20297838, args=0x203c37cb "") at config.c:758 #3 0x1000d060 in ap_walk_config_sub (current=0x203c3798, parms=0x2ff21878, section_vector=0x20241b78) at config.c:1048 #4 0x1000d164 in ap_walk_config (current=0x203c3798, parms=0x2ff21878, section_vector=0x20241b78) at config.c:1087 #5 0xd0f4fcf8 in modperl_config_insert () from /home/bozy/src/mod_perl-1.99_14/src/modules/perl/mod_perl.so #6 0x203c3798 in ?? () (gdb) c Continuing. Good. Now recompile mod_perl with MP_DEBUG=1, so that the trace will show the line number and the arguments to the calls inside mod_perl.so and try to get a new backtrace. Thanks. -- __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html
Having to restart browser to see changes to CGI
All, With the following entries in our httpd.conf, can anyone see any reason why we are having to close and reopen our browser to see any effect of the changes made to to /online_testing/perl/Quiz1Solns.cgi? # force reloading of modules # put use Apache::Reload in module you are developing PerlInitHandler Apache::Reload PerlSetVar ReloadAll Off # Startup File: PerlRequire /home/darnold/modperl/startup.pl Alias /perl/ /home/darnold/modperl/ PerlModule Apache::Registry SetHandler perl-script PerlHandler Apache::Registry Options +ExecCGI PerlSendHeader On allow from all PerlModule ModPerl::Rules1 SetHandler perl-script PerlHandler ModPerl::Rules2 PerlSendHeader On # Alias /online_testing/ "/usr/local/apache/htdocs/online_testing/" # # AuthName OnlineTesting # AuthType Basic # PerlAuthenHandler Apache::AuthTieDBI # PerlSetVar TieDatabase mysql:test_www # PerlSetVar TieTable user_info:user_name:passwd # require valid-user # PerlAccessHandler Apache::GateKeeper # PerlSetVar Gate open # SetHandler perl-script PerlHandler Apache::Registry Options +ExecCGI PerlSendHeader On allow from all Alias /cgi-cobby/ /home/cobby/perl/ SetHandler perl-script PerlHandler Apache::Registry Options +ExecCGI PerlSendHeader On allow from all Alias /online-perl/ /home/online/perl/ SetHandler perl-script PerlHandler Apache::Registry Options +ExecCGI PerlSendHeader On allow from all -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html
Apache::Gallery and Mason
Has anyone had success getting Apache::Gallery to work using Mason to do the templating? I would like to use my existing Mason modules to produce the container for the photo gallery, but I like Apache::Gallery's way of displaying and caching images. I tried e-mailing the Apache::Gallery mailing list but it seems to be broken (and the maintainer doesn't seem to be answering e-mails). What are your recommendations in doing something like this? -Jesse -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html