Now I could sharpen the problem. It only shows up if using AuthPG
libapache2-mod-auth-pgsql in connection with a cgi script. To reproduce
put the following in /etc/apache2/conf.d/authpgtest.conf and then
execute a2enconf authpgtest.conf and service apache2 reload .

Alias /authpgtest /export/scratch/authpgtest
<Directory /export/scratch/authpgtest/>
  Options +ExecCGI +FollowSymLinks
  AddHandler cgi-script .pl

  AuthName "TestRealm"
  AuthType Basic
  AuthBasicProvider pgsql
  Auth_PG_host /var/run/postgresql
  Auth_PG_port 5432
  Auth_PG_database authpgtestdb
  Auth_PG_pwd_table ident_users
  Auth_PG_uid_field uname
  Auth_PG_pwd_field password
  Auth_PG_encrypted off
  Require valid-user
</Directory>

Of course the postgres db authpgtestdb with table ident_users with columns 
uname and password have to exist, or the params adapted.
Under /export/scratch/authpgtest/hw.pl put the follwing.

#!/usr/bin/perl

print "Content-type: text/html\n\n";
print "Hello, World!\n";

Then call http://<host>/authpgtest/hw.pl in your browser while tail -f
tail -f /var/log/apache2/error.log is running. Press the reload button
of the browser a few times.

Without using AuthPG-Realm I think the errors do not show up.
Unfortunately, I need this for production and a workaround seems not to
doable.

Chris

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1272857

Title:
  apache2 crashed with SIGSEGV in <signal handler called>()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1272857/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to