Is it possible to convert the "Foreword" to a topic?
Apache HTTP Server
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > Apache HTTP ServerGo to page: « previous | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | next »

  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:
Tuesday, 27 March 2007
A-SL 0.91 and mp 1.30 a Plan Philip M. Gollucci 04:21:34
 Hi All,

The following just happened:

svn mv https://svn.apache.­org/repos/asf/perl/A­pache-SizeLimit/trun­k \
https://svn.apache.­org/repos/asf/perl/A­pache-SizeLimit/trun­k-unstable

svn cp https://svn.apache.­org/repos/asf/perl/A­pache-SizeLimit/tags­/0_9 \
https://svn.apache.­org/repos/asf/perl/A­pache-SizeLimit/trun­k

http://svn.apache.o­rg/viewvc?view=rev&r­evision=428211
was applied to the 'new' trunk.

svn copy
https://svn.apache.­org/repos/asf/perl/A­pache-SizeLimit/trun­k/lib/Apache/SizeLim­it.pm
https://svn.apache.­org/repos/asf/perl/m­odperl/1.x/trunk/lib­/Apache/SizeLimit.pm­

Gozer will Roll Apache-SizeLimit-0.­91-RC3 and the final release along
with mod_perl-1.30-rc2 and the final release simultaneously.

This will keep CPAN and mp1 versions of Apache-SizeLimit in sync
and make the upgrade path much safer.

** Gozer will not forget to double check that
** $Apache::SizeLimit:­:VERSION
** matches in mp1 and Apache-SizeLimit.

HTH


--
-------------------­--------------------­--------------------­-------------
Philip M. Gollucci (philip.gollucci@ti­cketmaster.com) 310.360.2689
Senior Software Engineer - TicketMaster - http://ticketmaster­.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF
comment 1 answer | Add comment
Monday, 26 March 2007
I decided to give alms with the sum of $8m that I have with Mr Nelson Cole 20:52:16
 $B?7$7$$%a!<%k%"%I%l­%9$r$*CN$i$;$7$^$9?7­$7$$%a!<%k%"%I%l%9!'­(B nelsoncoleuk23@yaho­o.co.jp

I decided to give alms with the sum of $8m that I have with ISLE OF MAN BANK U.K. because my condition now is too critical and if you can help reach me with your full contacts.

- Mr Nelson Cole

Add comment
Sunday, 25 March 2007
Re: svn commit: r521890 - in /perl/modperl/branc­hes/1.x: Changes MANIFEST Makefile.PL RELEASE lib/m Philip M. Gollucci 12:46:29
 
perl/modperl/branch­es/1.x/RELEASE
+ % make tag
Since Apache-SizeLimit is an external, we need to add instructions to
update svn:external properties in the tag director after being made to
point at something other then 'trunk' or this tag will be invalid after
the first commit to A-SL post release.

--
-------------------­--------------------­--------------------­-------------
Philip M. Gollucci (pgollucci@p6m7g8.c­om) 323.219.4708
Consultant / http://p6m7g8.net/R­esume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster­.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
Add comment
Friday, 23 March 2007
forthcoming mp1 release Geoffrey Young 23:12:56
 hi all :)­

ok, a release of mod_perl 1.0 is forthcoming. here are issues we need
to address:

o the META.yml file in the MANIFEST is causing me grief, to the point
where I can't 'make dist' without removing it first. I don't really
grok this META.yml foo, so I may just alter the MANIFEST and move forward.

o the Apache-SizeLimit tests fail under various circumstances because

Apache-SizeLimit/..­/lib

isn't in @INC. to reproduce, just nuke all Apache/ directories in
your /usr/lib/perl, re-install Apache-Test, and go.

I'm not sure what to do with this latter issue. really, we need to make
sure we include the proper directory for a mp1-based install while not
wrecking an independent A-SL CPAN install.

so, someone needs to address this issue well or we need to back out the
A-SL integration for this release.

whatever the path, it probably needs to happen today :)­

--Geoff
comment 1 answer | Add comment
Fwd: Apache::Reload crash patch Matt Sergeant 20:29:51
 Now that A::R is managed by you guys :-)­

Begin forwarded message:

From: Liam Bryan <liam@richard-group­.com>
Date: March 15, 2007 8:36:39 AM EDT (CA)
To: matt@sergeant.org
Cc: Richard Joel <joel@richard-group­.com>
Subject: Apache::Reload crash patch
Matt:
At our company, we use the Apache::Reload module in most of our
production installations, since we will often need to make
adjustments without a restart of Apache. We manage multiple sites;
and put site-specific customizations into separate .pm files. But,
if one of these custom modules throws a compile error, then
Apache::Reload will crash on line 158:
Compilation failed in require at /Library/Perl/5.8.7­/darwin-2level/
Apache/Reload.pm line 158.
Unfortunately, this error is thrown in Apache, and thus crashes
every site we're managing, not just the specific customized site.
We found that by wrapping the particular error with an eval{} and
then trapping $@, we could prevent this error from cascading across
all of our managed sites. Here's what we've customized it to be:
eval {require $key;};
warn("Apache::Reloa­d: FAILED $package:\n\t$@") if $@;
The eval{} does add some overhead, but a fairly negligible amount.
If you'd like more detail, feel free to ask me. Thanks!
Liam Bryan
The Richard Group, Inc.
liam@richard-group.­com
703.584.5804


___________________­____________________­____________________­___________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagel­abs.com/email
___________________­____________________­____________________­___________
comment 4 answer | Add comment
Security Fix [mp2] Fred Moyer 18:07:54
 Philip gave a +1 here -
http://marc.info/?l­=apache-modperl&m=11­7462227916610&w=2

I think I need another +1, right?

Working on the mp1 patch.

Index: Changes
===================­====================­====================­========
--- Changes (revision 508723)
+++ Changes (working copy)
@@ -12,6 +12,9 @@

=item 2.0.4-dev

+fix unescaped variable interprolation in regular expression
+[Randal L. Schwartz <merlyn@stonehenge.com>, Fred Moyer
<fred@redhotpenguin.com>]
+
Make $r->the_request() writeable
[Fred Moyer <fred@redhotpenguin.com>]

Index: ModPerl-Registry/li­b/ModPerl/RegistryCo­oker.pm
===================­====================­====================­========
--- ModPerl-Registry/li­b/ModPerl/RegistryCo­oker.pm (revision 508723)
+++ ModPerl-Registry/li­b/ModPerl/RegistryCo­oker.pm (working copy)
@@ -337,7 +337,7 @@
my $self = shift;

my $path_info = $self->{REQ}->path_­info;
- my $script_name = $path_info && $self->{URI} =~ /$path_info$/
+ my $script_name = $path_info && $self->{URI} =~ /\Q$path_info\E$/
? substr($self->{URI}­, 0, length($self->{URI}­) -
length($path_info))­
: $self->{URI};
comment 4 answer | Add comment
RT - need 2.0.3 version added Philip M. Gollucci 12:16:59
 Hi,

Geoff, we need a 2.0.3 'component' in RT for mod_perl2.

I don't seem to be able to add this. Can you ?

--
-------------------­--------------------­--------------------­-------------
Philip M. Gollucci (pgollucci@p6m7g8.c­om) 323.219.4708
Consultant / http://p6m7g8.net/R­esume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster­.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
Add comment
[RELEASE CANDIDATE] Apache-SizeLimit 0.91 RC2 Philip M. Gollucci 11:50:14
 A release candidate for Apache-SizeLimit 0.91-RC2 is now available.

http://people.apach­e.org/~pgollucci/asl­/Apache-SizeLimit-0.­91-rc2.tar.gz

Please download, test, and report back.

I believe this will be the last Release Candidate for .91.

*** Pending a successful release, This package will be integrated into
*** both mod_perl 1.x and mod_perl 2.x CORE distributions.

Changes since 0.91-RC1:
-------------------­-----
- Minor fixes to the test suite to skip them on darwin

-------------------­--------------------­--------------------­-------------
Philip M. Gollucci (pgollucci@p6m7g8.c­om) 323.219.4708
Consultant / http://p6m7g8.net/R­esume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster­.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
Add comment
[patch] fix unescaped variable interprolation in regular expression Fred Moyer 07:49:41
 I have a +1 from Phillip [1](mp2 patch), another?

[1] http://marc.info/?l­=apache-modperl&m=11­7462227916610&w=2

Index: Changes
===================­====================­====================­========
--- Changes (revision 521567)
+++ Changes (working copy)
@@ -10,6 +10,9 @@

=item 1.30_01-dev

+fix unescaped variable interprolation in regular expression
+[Randal L. Schwartz <merlyn@stonehenge.com>, Fred Moyer
<fred@redhotpenguin.com>]
+
Pull in the new Apache-SizeLimit from
http://svn.apache.o­rg/repos/asf/perl/Ap­ache-SizeLimit/trunk­
and obsolete the previous lib/Apache/SizeLimi­t.pm.
Index: lib/Apache/PerlRun.­pm
===================­====================­====================­========
--- lib/Apache/PerlRun.­pm (revision 521567)
+++ lib/Apache/PerlRun.­pm (working copy)
@@ -168,7 +168,7 @@
$uri) if $Debug && $Debug & 4;

my $path_info = $r->path_info;
- my $script_name = $path_info && $uri =~ /$path_info$/ ?
+ my $script_name = $path_info && $uri =~ /\Q$path_info\E$/ ?
substr($uri, 0, length($uri)-length­($path_info)) :
$uri;
comment 3 answer | Add comment
Wednesday, 21 March 2007
How to guess PerlInterpMax? Torsten Foertsch 17:33:06
 
Add comment
Saturday, 17 March 2007
[Fwd: [rt.cpan.org #25506] Failed "make test" in 2.0.3 at t/apache/util.t and t/api/serve Geoffrey Young 17:16:12
 

-------- Original Message --------
Subject: [rt.cpan.org #25506] Failed "make test" in 2.0.3 at
t/apache/util.t and t/api/server_const.­t
Date: Sat, 17 Mar 2007 02:31:16 -0400
From: via RT <bug-mod_perl@rt.cp­an.org>
Reply-To: bug-mod_perl@rt.cpa­n.org
To: undisclosed-recipie­nts:;
References: <RT-Ticket-25506@rt­.cpan.org>
<rt-3.6.HEAD-5172-1­174109749-1045.25506­-5-0@rt.cpan.org>


Queue: mod_perl
Ticket <URL: http://rt.cpan.org/­Ticket/Display.html?­id=25506 >

Hi. This is imacat. I have more information regarding to this failure.

I searched the Google and found a way to dig into this issue, so I
did more tests.

The error in t/apache/util.t is due to the locale issue that the
server return the time in the user's locale. Maybe you should unset the
locale or set it to "C" before testing.

The error in t/api/server_const.­t is due to the minor version
difference in server version text, as described and suggested in:

http://marc.theaims­group.com/?l=apache-­modperl&m=1169235162­22025&w=2

I attached the console log that reproduces this error. Please tell
me if you need any more information. Thank you.



imacat@rinse src/mod_perl-2.0.3 % /usr/sbin/httpd -d /usr/local/src/mod_­perl-2.0.3/t -f /usr/local/src/mod_­perl-2.0.3/t/conf/ht­tpd.conf -D APACHE2 -D PERL_USEITHREADS
[Sat Mar 17 14:20:36 2007] [warn] Useless use of AllowOverride in line 1461.
[Sat Mar 17 14:20:36 2007] [info] 6 Apache2:: modules loaded
[Sat Mar 17 14:20:36 2007] [info] 0 APR:: modules loaded
[Sat Mar 17 14:20:36 2007] [info] base server + 29 vhosts ready to run tests
[Sat Mar 17 14:20:37 2007] [warn] The Alias directive in mod_perl at line 1 will probably never match because it overlaps an earlier Alias.
[Sat Mar 17 14:20:37 2007] [warn] The Alias directive in mod_perl at line 1 will probably never match because it overlaps an earlier Alias.
[Sat Mar 17 14:20:37 2007] [warn] The Alias directive in mod_perl at line 1 will probably never match because it overlaps an earlier Alias.
[Sat Mar 17 14:20:37 2007] [warn] The Alias directive in mod_perl at line 1 will probably never match because it overlaps an earlier Alias.
[Sat Mar 17 14:20:37 2007] [warn] The Alias directive in mod_perl at line 1 will probably never match because it overlaps an earlier Alias.
imacat@rinse src/mod_perl-2.0.3 % lynx -dump http://127.0.0.1:85­29/TestApache__util
1..8
# Running under perl version 5.008008 for linux
# Current time local: Sat Mar 17 14:20:37 2007
# Current time GMT: Sat Mar 17 06:20:37 2007
# Using Test.pm version 1.25
# Using Apache/Test.pm version 1.29
# testing : Apache2::Util::ht_t­ime($pool)
# expected: (?-xism:^\w+, \d\d \w+ \d\d\d\d \d\d:\d\d:\d\d)
# received: ??, 17 3?? 2007 06:21:11 GMT
not ok 1
# testing : Apache2::Util::ht_t­ime($pool, $time)
# expected: (?-xism:^\w+, \d\d \w+ \d\d\d\d \d\d:\d\d:\d\d)
# received: ??, 17 3?? 2007 06:21:11 GMT
not ok 2
# testing : Apache2::Util::ht_t­ime($pool, $time, $fmt)
# expected: (?-xism:^\w+, \d\d \w+ \d\d\d\d \d\d:\d\d:\d\d)
# received: ??, 17 3?? 2007 06:21:11 GMT
not ok 3
# testing : Apache2::Util::ht_t­ime($pool, $time, $fmt, $gmt)
# expected: (?-xism:^\w+, \d\d \w+ \d\d\d\d \d\d:\d\d:\d\d)
# received: ??, 17 3?? 2007 14:21:11 CST
not ok 4
# testing : Apache2::Util::esca­pe_path / partial=1 / default
# expected: a%20'long'%20file%3­f.html
# received: a%20'long'%20file%3­f.html
ok 5
# testing : Apache2::Util::esca­pe_path / partial=1 / explicit
# expected: a%20'long'%20file%3­f.html
# received: a%20'long'%20file%3­f.html
ok 6
# testing : Apache2::Util::esca­pe_path / partial=0
# expected: a%20'long'%20file%3­f.html
# received: a%20'long'%20file%3­f.html
ok 7
# testing : Apache2::Util::esca­pe_path / partial=0 / ./ prefix
# expected: ./a%20'long'%20file­%3f.html:
# received: ./a%20'long'%20file­%3f.html:
ok 8

imacat@rinse src/mod_perl-2.0.3 % lynx -dump http://127.0.0.1:85­29/TestAPI__server_c­onst
1..3
# Running under perl version 5.008008 for linux
# Current time local: Sat Mar 17 14:20:37 2007
# Current time GMT: Sat Mar 17 06:20:37 2007
# Using Test.pm version 1.25
# Using Apache/Test.pm version 1.29
# testing : Apache2::ServerUtil­::server_root()
# expected: /usr/local/src/mod_­perl-2.0.3/t
# received: /usr/local/src/mod_­perl-2.0.3/t
ok 1
# testing : Apache2::ServerUtil­::get_server_built()­
# expected: Mar 15 2007 14:21:02
# received: Mar 15 2007 14:21:02
ok 2
# testing : Apache2::ServerUtil­::get_server_version­()
# expected: Apache/2.2.4 (Unix)
# received: Apache/2.2.4
not ok 3

imacat@rinse src/mod_perl-2.0.3 % kill $(</usr/local/src/m­od_perl-2.0.3/t/logs­/httpd.pid)
imacat@rinse src/mod_perl-2.0.3 %



-------------------­--------------------­--------------------­----------
To unsubscribe, e-mail: dev-unsubscribe@per­l.apache.org
For additional commands, e-mail: dev-help@perl.apach­e.org
Add comment
Friday, 16 March 2007
Google Summer of Code project idea request Supun Kamburugamuva 09:14:18
 Hi all,

I'm a computer science and engineering undergraduate student at the
University of Moratuwa, Sri Lanka. I'm interested in doing a project
on Apache/Perl for the Google Summer of Code 2007 competition.

Currently I'm working as an intern at WSO2 (www.wso2.org) for my
industrial training. I'm actively involved in Apache Web Services
Axis2C project for more than five months. I received the Apache Axis2C
Committership for implementing IIS Support for Axis2C. I have gained
reasonable amount of knowledge and experience in open source projects
during the past few months and I'm hoping to continue my contribution
to open source projects.

I'll be really pleased if someone can suggest a project idea for
Google Summer of Code 2007.

Thanks in advance,
Supun Kamburugamuva.
Add comment
Thursday, 15 March 2007
mp2 segfault Torsten Foertsch 15:34:11
 Hi,

I have found a reproducible way to segfault a mod_perled httpd.

My environment:

httpd 2.2.3
mpm worker
mod_perl 2.0.3
perl 5.8.8 (Suse linux 10.2)

and my httpd.conf
-------------------­--------------------­--------------------­-------------
LoadModule log_config_module "/opt/apache22-work­er/libexec/mod_log_c­onfig.so"
LoadModule mime_module "/opt/apache22-work­er/libexec/mod_mime.­so"
LoadModule dir_module "/opt/apache22-work­er/libexec/mod_dir.s­o"
LoadModule perl_module "/opt/apache22-work­er/libexec/mod_perl.­so"

PerlPassEnv APACHE_TEST_TRACE_L­EVEL
PerlPassEnv HARNESS_PERL_SWITCH­ES

User "r2"
Group "users"
ServerName localhost:8529
Listen 0.0.0.0:8529

ServerRoot "/home/r2/work/arva­to/Apache2-Translati­on/t"
DocumentRoot "/home/r2/work/arva­to/Apache2-Translati­on/t/htdocs"

PidFile /home/r2/work/arvat­o/Apache2-Translatio­n/t/logs/httpd.pid
ErrorLog /home/r2/work/arvat­o/Apache2-Translatio­n/t/logs/error_log
LogLevel debug

TransferLog /home/r2/work/arvat­o/Apache2-Translatio­n/t/logs/access_log

ServerAdmin you@example.com

#needed for http/1.1 testing
KeepAlive On

HostnameLookups Off

<Directory />
Options FollowSymLinks
</Directory>

LockFile /home/r2/work/arvat­o/Apache2-Translatio­n/t/logs/accept.lock­
StartServers 1
MinSpareThreads 1
MaxSpareThreads 1
ThreadsPerChild 1
MaxClients 2
MaxRequestsPerChild­ 0

<Perl>
package TestConfig;

use strict;
use Apache2::RequestRec­;
use Apache2::RequestIO;­
use Apache2::RequestUti­l;
use Apache2::CmdParms;
use Apache2::Directive;­
use Apache2::Module;
use Apache2::Const -compile=>qw{OK};

Apache2::Module::ad­d( __PACKAGE__, [{name=>'TestHandlerConfig'}] );

sub TestHandlerConfig {}

sub handler {
my $r=shift;

$r->content_type('t­ext/plain');
$r->print( "OK\n" );

return Apache2::Const::OK;­
}
</Perl>

PerlInterpScope handler
#PerlFixupHandler "sub {$_[0]->add_config([q{Options Indexes}]); return Apache2::Const::DEC­LINED;}"
PerlFixupHandler "sub {$_[0]->add_config([q{TestHandlerConfig 20}]); return Apache2::Const::DEC­LINED;}"
<Location /xxx>
SetHandler modperl
PerlResponseHandler­ TestConfig
#TestHandlerConfig 20
</Location>
-------------------­--------------------­--------------------­-------------

Now, when /xxx is accessed httpd dumps core each other time. A stack trace
says:
#0 0xb7f7f410 in ?? ()
#1 0xbfd64878 in ?? ()
#2 0x00000001 in ?? ()
#3 0xbfd64873 in ?? ()
#4 0xb7d9a02b in __read_nocancel () from /lib/libpthread.so0
#5 0x08092d59 in ap_mpm_pod_check (pod=0x81fbd20) at pod.c:54
#6 0x08090748 in child_main (child_num_arg=0) at worker.c:1258
#7 0x080908f4 in make_child (s=0x80b7f48, slot=0) at worker.c:1341
#8 0x08090a29 in startup_children (number_to_start=1)­ at worker.c:1375
#9 0x08091292 in ap_mpm_run (_pconf=0x80b60a8, plog=0x80e4160, s=0x80b7f48) at worker.c:1725
#10 0x08062b7e in main (argc=5, argv=0xbfd64b14) at main.c:717

Line 54 of pod.c looks quite innocent:

rc = read(fd, &c, 1);

So, what is important for the bug?

1) PerlInterpScope handler: without it no segfaults
2) Access /xxx not /index.html. /index.html works normal, no segfaults
3) The fixup handler must set TestHandlerConfig, not some built-in statements
like Options
4) It can also be a maptostorage handler

Any hint where to look?

Torsten
comment 3 answer | Add comment
need help: httpd: with SSL - howto ?! Guest 06:52:09
 Hi,

When I start httpd using: apachectl startssl,
I get errors:

[Sun Sep 15 01:11:39 2002] [error] mod_ssl: Init: (localhost) Unable to configure RSA server private key (OpenSSL library error follows)
[Sun Sep 15 01:11:39 2002] [error] OpenSSL: error:0B080074:x509­ certificate routines:X509_check­_private_key:key values mismatch

However, I checked keys look okay, I was able to decipher via command:

openssl x509 -noout -text -in server.crt

Any suggestions ?

Thank you,


___________________­____________________­____________________­_______
The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.net­scape.com/ns/browser­s/download.jsp

Get your own FREE, personal Netscape Mail account today at http://webmail.nets­cape.com/

-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


comment 4 answer | Add comment
Wednesday, 14 March 2007
A Reminder : A Study on Free/Open Sourec Software Anu Gupta DCSA 08:11:59
 Dear Perl Contributors,

I seek help from designers, developers, testers,defect fixers,project
managers or playing any other key role in Free/Open Source software
development or maintenence
in carrying out a study on practices and problems of defect management in
various Free/Open Source Software projects. The
insights gained from the study can further help us to extract publicly
accessible defect data and determine impact of defect management practices
on software quality.
Please spend a few minutes of your precious time to fill up the
Questionnaire. The most of the questions follow multiple choice formats and
are quite easy to answer.

To have the Online Questionnaire, please visit:

http://anu.puchd.ac­.in/phpESP/public/su­rvey.php?name=FOSS_D­efect_Survey

(You can also copy and paste this link into your browser, and hit the
'Return' key.)

I hope you will find all the questions interesting and thought-provoking.
Your answers will be kept anonymous.The data thus collected will
only be used for research purpose.It would be nice if you may further refer
this mail to others actively engaged with Free/Open Source Software
development. If you have any query or suggestions then
feel free to contact.

Thank You

With regards,

Anu Gupta
Senior Lecturer
Department of Computer Science and Applications,
Panjab University, Chandigarh.
INDIA


In case of any problem in accessing/using the above mentioned link please
contact:
E-mail: anugupta@pu.ac.in
anugupta98@gmail.co­m
Add comment
Thursday, 8 March 2007
A Survey on Defect Management Practices in Free/Open Source Software Anu Gupta DCSA 11:45:47
 Dear Perl Contributors,

I seek help from designers, developers, testers,defect fixers,project
managers or playing any other key role in Free/Open Source software
development or maintenence
in carrying out a study on practices and problems of defect management in
various Free/Open Source Software projects. The
insights gained from the study can further help us to extract publicly
accessible defect data and determine impact of defect management practices
on software quality.
Please spend a few minutes of your precious time to fill up the
Questionnaire. The most of the questions follow multiple choice formats and
are quite easy to answer.

To have the Online Questionnaire, please visit:

http://anu.puchd.ac­.in/phpESP/public/su­rvey.php?name=FOSS_D­efect_Survey

(You can also copy and paste this link into your browser, and hit the
'Return' key.)

I hope you will find all the questions interesting and thought-provoking.
Your answers will be kept anonymous.The data thus collected will
only be used for research purpose.It would be nice if you may further refer
this mail to others actively engaged with Free/Open Source Software
development. If you have any query or suggestions then
feel free to contact.

Thank You

With regards,

Anu Gupta
Senior Lecturer
Department of Computer Science and Applications,
Panjab University, Chandigarh.
INDIA


In case of any problem in accessing/using the above mentioned link please
contact:
E-mail: anugupta@pu.ac.in
anugupta98@gmail.co­m
Add comment
Wednesday, 7 March 2007
Name Resolution error John 10:47:29
 Hi all

I have installed apache 2.2.3

Apache starts automatically, so there is an error

[Mon Jan 08 20:11:27 2007] [error] (EAI 3)Temporary failure in name
resolution: Could not resolve host name DomainName1 -- ignoring!
[Mon Jan 08 20:11:27 2007] [error] (EAI 3)Temporary failure in name
resolution: Could not resolve host name DomainName2-- ignoring!


DomainName1 and DomainName2 are the names for my virtual hosts.

After that error I have to reload apache and then everything works fine.





-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


comment 15 answers | Add comment
[mp1] Segfaults in ap_table_get (Apache::Registry corruption?) Christopher Shumway 00:45:45
 Hi folks,

Sorry to bug the dev modperl list, but I could really use some expert advice
on this problem.

About once every 15-45 minutes or so a httpd process will segfault when
serving a modperl page. I've built apache httpd, modperl and perl with
debuging symbols, and have gotten a few core images.

Here are the relvent software versions:
FreeBSD 6.1-RELEASE-p14 running an SMP kernel
Perl 5.8.8 built for i386-freebsd-64int
apache+mod_ssl-1.3.­37+2.8.28
mod_perl-1.29

Here's the gdb backtrace:

#0 0x08050c55 in ap_table_get (t=0x31412d38, key=0x9d67a88 "Expires") atalloc.c:1444
#1 0x2850a6df in XS_Apache_cgi_heade­r_out (cv=0x8899c34) at Apache.c:2662
#2 0x285c5f88 in Perl_pp_entersub () at pp_hot.c:2913
#3 0x285a5ecb in Perl_runops_debug () at dump.c:1459
#4 0x2854bf19 in S_call_body (myop=0xbfbfead0, is_eval=0 '\0') atperl.c:2731
#5 0x2854bacb in Perl_call_sv (sv=0x889a258, flags=4) at perl.c:2646
#6 0x284f6497 in perl_call_handler (sv=0x889a258, r=0x88e0038, args=0x0) atmod_perl.c:1668
#7 0x284f5b24 in perl_run_stacked_ha­ndlers (hook=0x2851fd2f "PerlHandler",r=0x8­8e0038, handlers=0x889a090)­ at mod_perl.c:1381
#8 0x284f3bb1 in perl_handler (r=0x88e0038) at mod_perl.c:904
#9 0x08054d96 in ap_invoke_handler (r=0x88e0038) at http_config.c:476
#10 0x0806a3ed in process_request_int­ernal (r=0x88e0038) athttp_request.c:12­99
#11 0x0806a44c in ap_process_request (r=0x88e0038) at http_request.c:1315­
#12 0x08061177 in child_main (child_num_arg=8) at http_main.c:4898
#13 0x0806146c in make_child (s=0x8099038, slot=8, now=1172591147) athttp_main.c:5077
#14 0x080617a8 in perform_idle_server­_maintenance () at http_main.c:5262
#15 0x08061d6d in standalone_main (argc=2, argv=0xbfbfeeec) athttp_main.c:5525
#16 0x08062391 in main (argc=2, argv=0xbfbfeeec) at http_main.c:5793

What looks like is happening is the table being passed to ap_table_get() is
bogus.

(gdb) frame 0
#0 0x08050c55 in ap_table_get (t=0x31412d38, key=0x9d67a88 "Expires") at
alloc.c:1444
1444 table_entry *elts = (table_entry *) t->a.elts;
(gdb) list
1439 t->a.nelts = 0;
1440 }
1441
1442 API_EXPORT(const char *) ap_table_get(const table *t, constchar *key)
1443 {
1444 table_entry *elts = (table_entry *) t->a.elts;
1445 int i;
1446
1447 if (key == NULL)
1448 return NULL;
(gdb) print *t
Cannot access memory at address 0x31412d38

I'm not sure why, but the data structure Apache r doesn't appear to be
getting populated correctly:

#1 0x2850a6df in XS_Apache_cgi_heade­r_out (cv=0x8899c34) at Apache.c:2662
2662 if((val = (char *)table_get(r->head­ers_out, key))) (gdb) list
2657 char *val;
2658
2659 SV * RETVAL;
2660
2661 r = sv2request_rec(ST(0­), "Apache", cv);
2662 if((val = (char *)table_get(r->head­ers_out, key))) 2663 RETVAL =
newSVpv(val, 0);
2664 else
2665 RETVAL = newSV(0);
2666 (gdb) print *r->headers_out
$5 = {a = {pool = 0x31412d38, elt_size = 0, nelts = 0, nalloc = 0, elts =
0x0}}
(gdb)

I'd love to get to the bottom of this one, but I could use some insight.
comment 5 answers | Add comment
Tuesday, 6 March 2007
Redirect URL in AuthCookie Amish Desai 23:08:11
 

Hi,

I am facing issue in Redirecting URL after the user authenticates himself
using AuthCookie. I am new to Apache Per modules. any code with the
implementation would be appreciated.

My user wants to access xyz.html page on web server, now since that folder
is proctected he is shown a login.pl form for Authentication. the form has 3
fields username/password/g­roupid. Using AuthCookie I am calling my own sub
subroutine for login in Sample::AuthCookie.­pm which as follows.

sub login($$$){

my $self = shift;
my $r = shift;
my $q=new CGI;

my %args = $r->method eq 'POST' ? $r->content : $r->args;
my $name='destination'­;

my $redirect_url= $args{$name};

#printf (STDOUT $redirect_url);
print $q->redirect($redir­ect_url);

#return OK;
}

It takes me back to login.pl page when I hit submit and does not redirect me
to xyz.html page. Login.pl page has hidden form element as destination.
After reading AuthCookie page it says we need to implement authen_cred and
authen_ses_key in your subclass. So question is when does this 2 sub
routines get called and how? What should be the code in tis subroutines?

My http.conf is
<Location /cgi-bin/>

AuthType Sample::AuthCookieH­andler
AuthName WhatEver
PerlAuthenHandler Sample::AuthCookieH­andler->authenticate­
PerlAuthzHandler Sample::AuthCookieH­andler->authorize
Require valid-user

PerlSendHeader On
#Options +FollowSymLinks
</Location>

# Login location.
<Files AUTHORIZE>
AuthType Sample::AuthCookieH­andler
AuthName WhatEver
SetHandler perl-script
PerlHandler Sample::AuthCookieH­andler->login
</Files>

thanks,
Amish
--
View this message in context: http://www.nabble.c­om/Redirect-URL-in-A­uthCookie-tf3357975.­html#a9340031
Sent from the mod_perl - Dev mailing list archive at Nabble.com.
Add comment
Friday, 2 March 2007
Password Marco Supino 19:58:07
 Hi,

Running Apache 1.3.26 on Solaris.

I am tring to setup a user authentication from within a HTML file, i
used a javascript so i can forward to the right directory the username
and password entered in a "form" (for example
:p­assword@,www.XX.com,/secured] -->http://user:p­asswor­d@www.XX.com/secured­), this works great if the
username and password are correct,

Is there any way of not asking for the password the second time if the
first fails ? (if it fails, apache pops up the username/password window,
which i dont want),

I think of using mod_rewrite to change error 401 to 403, but didnt have
much luck with it, any better idea ? or an example would be great.

Thanks.



-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org
comment 30 answers | Add comment
Tuesday, 20 February 2007
Trying to get a backtrace while debugging stacked handlers bug Fred Moyer 16:46:43
 Hello,

I've been hacking on this issue here -
http://marc.theaims­group.com/?l=apache-­modperl-dev&m=115827­296213433&w=2

and am trying cause a core dump so I can look through the backtrace with
gdb and figure out what's going on. I'm a bit new to this level of
debugging so please bear with my naivete (have had my copy of practical
mod_perl handy so that's been my guide but I still need a little help)

To do this, I pushed a handler which should core dump, as so:

# all 3 run
PerlPostReadRequest­Handler TestHooks::stacked_­handlers2::ok
TestHooks::stacked_­handlers2::ok
PerlPostReadRequest­Handler TestHooks::stacked_­handlers2::push_hand­lers
PerlPostReadRequest­Handler TestHooks::stacked_­handlers2::dump

sub dump {
my $r = shift;
$r->log->error("Dum­ping core");
Debug::DumpCore::se­gv();
}

but I'm not getting a core file. I've built mod_perl with MP_TRACE=1
and MP_DEBUG=1, and set MP_PERL_TRACE=all, but I haven't gotten the
granularity I desire when running the test with
./t/TEST -VERBOSE t/hooks/stacked_han­dlers2.t. I get the call stack
down to the handler level, but I need to get a more fine grained view of
what functions are being called.

Any advice welcome :)­ I know I'll figure it out eventually, but I'm
guessing that this stuff is old hat to everyone on this list.

Thanks,

Fred
comment 1 answer | Add comment
Monday, 19 February 2007
perl Makefile.PL failed with Can't locate DBI.pm in @INC error Aynsy 19:45:25
 
Hi,

I am new to perl. I am trying to install DBI module for postgre in my
machine.

When I try to install the module, i got the following error,

perl Makefile.PL

Can't locate DBI.pm in @INC (@INC contains:
/usr/local/lib/perl­5/5.8.8/sun4-solaris­ /usr/local/lib/perl­5/5.8.8
/usr/local/lib/perl­5/site_perl/5.8.8/su­n4-solaris
/usr/local/lib/perl­5/site_perl/5.8.8 /usr/local/lib/perl­5/site_perl .) at
Makefile.PL line 7.
BEGIN failed--compilation­ aborted at Makefile.PL line 7.

Please advice
Thanks
--
View this message in context: http://www.nabble.c­om/perl-Makefile.PL-­failed-with-Can%27t-­locate-DBI.pm-in-%40­INC-error-tf3250401.­html#a9035704
Sent from the mod_perl - Dev mailing list archive at Nabble.com.
comment 1 answer | Add comment
Wednesday, 14 February 2007
ap_global_ctx error when starting apache 1.3.22 Peter Louis Escudero 23:54:03
 I have a SunFire V210 with a Sun Crypto Accelerator 500 card. The OS is
Solaris 9 (4/04), & I had to install Apache v1.3.22 just so I could run
"sslconfig" & configure Apache to work with the crypto card. Now I have the
certs installed, but when I go to start Apache I get the following error:

bash-2.05# ./apachectl start
Syntax error on line 205 of /usr/local/apache/c­onf/httpd.conf:
Cannot load /usr/local/apache/l­ibexec/mod_ssl.so.1.­3.22 into server:
ld.so.1: /usr/local/apache/b­in/httpd: fatal: relocation error: file
/usr/local/apache/l­ibexec/mod_ssl.so.1.­3.22: symbol ap_global_ctx:
referenced symbol not found
./apachectl start: httpd could not be started

I googled the error & got 2 hits, the 2nd of which had a solution: configure
Apache with --enable-rule=EAPI.­ Problem is, that solution was for v1.3.12. I
tried to recompile my version with that flag, to no avail. There's no such
thing as an EAPI rule for v1.3.22! Hence, this call for help. Any info you
can provide will be greatly appreciated.

Peter Escudero


comment 3 answer | Add comment
Tuesday, 13 February 2007
Re: svn commit: r506365 - in /perl/modperl/trunk­: Changes t/response/TestAPI/­request_rec.pm xs/maps Geoffrey Young 00:41:35
 phred@apache.org wrote:> Author: phred> Date: Mon Feb 12 00:18:55 2007> New Revision: 506365> > URL: http://svn.apache.o­rg/viewvc?view=rev&r­ev=506365> Log:> Make $r->the_request() writeable.> Change suggested by Alden DoRosario <adorosario@chitika­.com>> Change reviewed by Geoffrey Young <geoff@modperlcookb­ook.org>

fred++

--Geoff
comment 1 answer | Add comment
Friday, 9 February 2007
compile error in mod_ntlm2-0.1 - missing apxs Gayal 13:44:22
 Greetings,

I want to compile mod_ntlm2-0.1
It has a Makefile. Makefile has APXS=apxs tool enable. When run make
install, i get the following error.

apxs -c -o mod_ntlm.so -Wc,-shared mod_ntlm.c
make: apxs: Command not found
make: *** [mod_ntlm.so] Error 127

There is NO apxs file in my Linux box while installing Apache Server.

--
Gayal Rupasinghe
SU-APIIT
"The willingness to make a commitment even when results are unknown."
comment 5 answers | Add comment

Add new topic:

How:  Register )
 
Логин:   Пароль:   
Комментировать могут: Премодерация:
Topic:
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > Apache HTTP ServerGo to page: « previous | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | next »

see also:
ANNOUNCing Editor without Name
wxPerl-0.21 Mac Install Problem
free(): invalid pointer (was Re…
пройди тесты:
Do you really know yourself?
see also:
Borland C++ Builder 6.0
Hyperlinks to files on CD
please tell me how to create TABLE in…

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .