On Sat, 27 Jan 2001, Lynn Winebarger wrote:
Hi. I'm having problems getting mod_perl (1.24_01) to compile.
I'm using perl 5.6.0, apache 1.3.14, RH Linux 6.2/Intel (with upgrades).
This is odd since I've previously built mod_perl successfully as a DSO
(and the problem appears to be in
On Sun, 28 Jan 2001, Lynn Winebarger wrote:
Ok, I resolved this. It appears USE_APXS is incompatible with DYNAMIC,
whoops, guess you already figured that out. ToDo
On Tue, 30 Jan 2001, Fritz Heinrichmeyer wrote:
perl Makefile.PL seem not to honor the APACHE_SRC=.../... switch. I was
asked again and again ...
well, what value did you give APACHE_SRC= exactly? and where is your
mod_perl and apache trees?
I used the FreeBSD-Layout, but somewhere
On Wed, 31 Jan 2001, Nick Tonkin wrote:
Thanks for the suggestion, Doug, but no go.
simply looks like you need to install openssl-0.9.6. was not included in
the rh7.0 distro that i installed.
On Wed, 31 Jan 2001, Robert Landrum wrote:
Has anyone else had problems with the Carp module and mod_perl?
there were bugs related to Carp in 5.6.0, fixed in 5.6.1-trial1,2
On Wed, 31 Jan 2001, Nick Tonkin wrote:
[root@wm mod_perl-1.25]# make make test
yeah, i think 'make test' as root has permissions problems. if you were
to 'make make test' as yourself and 'make install' as root, should work
fine.
On Tue, 30 Jan 2001, Nick Tonkin wrote:
I read in the INSTALL docs that the first error should not occur if openssl
is already built and SSL_BASE is set to SYSTEM ... but there it is ... ?
if openssl is installed in the default location, don't bother with
SSL_BASE. if not, that needs to be
On Fri, 26 Jan 2001, Wenzhong Tang wrote:
Unfortunately the following line doesn't work:
eval "*{\$fullname}($p) = sub {}";
It probably should be:
eval "*{\$fullname} = sub ($p) {}";
The latter works on my Linux and Solaris tests.
right. thanks, applied.
On Thu, 4 Jan 2001, Vivek Khera wrote:
In answering another question today, I noticed that the variable
$Apache::Registry::NameWithVirtualHost is not documented in the
perldoc for Apache::Registry.
While scanning the Registry.pm file, I further noticed that there is a
call to
On Tue, 9 Jan 2001, Stas Bekman wrote:
I was rewriting the detecting 'STOP' button pressed section in the guide,
to notice that Apache::SIG kills the process under Apache::Registry.
httpd.conf:
PerlFixupHandler Apache::SIG
why are you using Apache::SIG at all? its no longer required
On Tue, 9 Jan 2001, Stas Bekman wrote:
I've lost the original email, but this is reply from Doug to my
email. I've asked to confirm that PERL5LIB is ignored with PerlTaintMode
is on. Apparently the Perl docs say a different thing...
Anybody has any insights about this situation? Does it
On Fri, 26 Jan 2001, Mark A. Downing wrote:
and it appears that there is NO perlxsi.c in /apache_1.3.14/src/modules/perl
hmm, i don't see how that's possible, mod_perl will not compile without
it.
i just tried with the same Makefile.PL options and Perl version, no
problems.
what does this
On Thu, 25 Jan 2001 [EMAIL PROTECTED] wrote:
I've been getting these occassional errors from libapreq, 1 every couple
days:
[Thu Jan 25 15:54:33 2001] [error] [client 64.12.102.22] [libapreq]
unknown content-type: `applicationontent-Type: application/x-www-form-urlencoded\'
It's always
On Thu, 25 Jan 2001, Matt Sergeant wrote:
with current cvs:
use Apache::MyConfig ();
if ($Apache::MyConfig::Setup{PERL_LOG_API}) { ... }
Is that going to be in mod_perl 1.25?
yep. anything that's in the Changes file will be in the next release, in
this case that is:
include mod_perl
On Tue, 9 Jan 2001, Paul Buder wrote:
I am using a CPAN module called Socket::PassAccessRights
that uses the recvmsg and sendmsg system calls to pass
file descriptors over a socket. More specifically, I have a
long living program (not modperl) that needs to communicate
with the Apache
On Wed, 17 Jan 2001, Wenzhong Tang wrote:
Since nobody seems care about this problem, I have to find a solution
myself. Fortunately perl has a "prototype" function that returns the
prototype of a function. Here is the difference between the original
PerlRun.pm in mod_perl 1.24_01 and the
On Tue, 23 Jan 2001, Rodney Tamblyn wrote:
After setting up my system via CPAN, I've just compiled
mod_perl-1.24_01 and Apache 1.3.14 on Mklinux DR3.
Make concludes happily without any errors.
When I run make test I get the following errors:
Syntax error on line 62 of
On Tue, 23 Jan 2001, Mark A. Downing wrote:
I'm having great difficulty getting 1.24_01 to compile...
Make test reports:
...make[1]: Leaving directory `/fs1/src/apache_1.3.14/src'
kill `cat t/logs/httpd.pid`
cat: t/logs/httpd.pid: No such file or directory
rm -f t/logs/httpd.pid
rm -f
On Tue, 23 Jan 2001, Robin Berjon wrote:
Hi,
I just did an install of modperl 1.24_01/apache 1.3.14 and I got a few
failed tests. The tests that fail are actions, cgi, and include (in fact, I
had to delete the line in the test conf that contained the Action directive
in order to get the
make install
...
I know that PHP is not compiled in yet... I wanted to try executing
"httpd -X" step by step first - just to see if it works. What am I
doing wrong? Doesn't PERL_DEBUG=1 add the debugging symbols?
yes, but 'make install' probably stripped them. just re-run make,
On Fri, 12 Jan 2001, Richard L. Goerwitz wrote:
The mod_perl-1.24_01 ./src/modules/perl/Server.xs file is using a
short int, which leads to ports between 32768 and 65535 (inclusive)
turning up in Perl as negative numbers -
thanks, this should fix the problem..
Index:
On Tue, 16 Jan 2001, Darren Stuart Embry wrote:
On 2001-01-15, Ask Bjoern Hansen [EMAIL PROTECTED] wrote:
When I do neither, i.e., leave the POST request as is and use
the standard redirect mechanism, the browser hangs and the
server actually does not send the redirect until I hit
On Wed, 17 Jan 2001, G.W. Haywood wrote:
Hi G,
On Wed, 17 Jan 2001, Gustavo Vieira Goncalves Coelho Rios wrote:
[Wed Jan 17 18:04:41 2001] [error] [client 192.168.1.11] Premature end
of script headers: /home/grios/.public_html/cgi-bin/bench3.cgi
Who knows? Something isn't finishing
On Thu, 18 Jan 2001, Matt Sergeant wrote:
I know we've been over this before, but I think I've forgotten!
How do I detect if Apache::Log got compiled in a module's Makefile.PL ?
I can't do eval("use Apache::Log;") because Apache/Log.pm gets installed
regardless, its just that the Log.so
this is supposed to be fixed (again) in 1.23. an alternative is to switch
Apache::Registry to Apache::RegistryNG which uses $r-filename rather than
$r-uri for the namespace.
On Thu, 4 Jan 2001, Tom Karlsson wrote:
Hello All,
I've recently looked through the mod_perl mail archives in order
On Mon, 22 Jan 2001, Christopher L. Everett wrote:
variable at server startup, using my startup.pl:
...
$config{DBI_DSN} = Apache-server-dir_config('DBI_DSN');
...
PerlSetVar DBI_DSN "DBI:mysql:exchange_db"
is your PerlSetVar before or after PerlRequire for startup.pl?
it must come before
On Mon, 22 Jan 2001, Thomas Plathe wrote:
Hello,
In my PerlAuthenHandler I need to send back the WWW-Authenticate-line.
I use $r-headers_out("WWW-Authenticate" = 'basic realm = "MyName"').
But if i returned from the Handler with "return AUTH_REQUIRED" , Apache
doesn't send this line in
i think you need to compile with
perl Makefile.PL PERL_DIRECTIVE_HANDLERS=1
or EVERYTHING=1
On Tue, 23 Jan 2001, Liddick, Scott wrote:
I am currently writing a PerlLogHandler that will (hopefully) write request
info to a rolling logfile in a pipe delimeted format for hourly loading via
On Wed, 17 Jan 2001, Ask Bjoern Hansen wrote:
On 2 Jan 2001 [EMAIL PROTECTED] wrote:
=item Avoid inherting from certain modules
Exporter
To void inherting BAutoLoader::AUTOLOAD
instead of this:
@MyClass::ISA = qw(Exporter);
use this:
On Fri, 19 Jan 2001, Matt Sergeant wrote:
Do we have anything holding us up from releasing 1.25 ?
same stuff i mentioned last week when vivek asked. but more likely to be
ready next week.
On Thu, 11 Jan 2001, Perrin Harkins wrote:
but it's a bummer that the parent
doesn't run END blocks. Will it run cleanup handlers?
Cleanup handlers are run by child processes. What it has to do with
parent? Or do I miss something?
cleanup handlers are run when a pool is cleared.
On Wed, 10 Jan 2001, Stas Bekman wrote:
All we need is to add a $Apache::Server::Quitting or alike, in addition to
the existing $Apache::Server::Starting and $Apache::Server::ReStarting,
should be an easy patch in XS.
nooo, as i've mentioned before Starting,ReStarting variables were
On Tue, 2 Jan 2001, Paul J. Lucas wrote:
I looked in the archives for this problem and, while mentioned,
not definitive solution was apparantly found. I did notice the
handler get called once, but only once: total server shutowns
and restarts don't make it get
On Fri, 17 Nov 2000, mgraham wrote:
Maybe another approach would be to explicitly list the handlers that
are allowed to be used in any given context. Kind of
like 'Options', but for perl handlers. Something like 'PerlOptions',
perhaps?
Location /users
PerlOptions
On Wed, 22 Nov 2000, Andrei A. Voropaev wrote:
Hi!
Everyone knows that END handlers in packages under mod_perl are executed
only when apache terminates. But from time to time there might be a need to
execute something when the Request is finished.
In practice what I do in these cases is
On Fri, 8 Dec 2000, Perrin Harkins wrote:
Unfortunately, GTop is kind of a pain to compile. It seems to depend on
some Gnome stuff. We use Apache::SizeLimit for this reason, and it works
well.
there's a configure --disable-gnome switch for libgtop. can still be a
pain though.
On Tue, 26 Dec 2000, Ken Williams wrote:
[EMAIL PROTECTED] (Stas Bekman) wrote:
A combination of Cstrict and Cvars pragmas keeps modules clean and
reduces a bit of noise. However, the Cvars pragma also creates
aliases, as does CExporter, which eat up more memory. When
possible, try to use
On Sat, 30 Dec 2000, Chris Nokleberg wrote:
oooh, cool. I've added this to Apache::DB.xs:
int
stop_debugger()
nice, i'll add that for the next version.
It appears that setting PL_perldb to zero is all that's required to turn
off the debugger! I thought I might have to fiddle with the
On Wed, 3 Jan 2001, George Sanderson wrote:
I have a mod_perl hash scalar that can store up to 4 MB of string data.
I was wondering what happens to the memory usage after a "delete
$myhash{large}"?
depends on your os and perl -V:usemymalloc
e.g. linux will "give it back to the os", but i
On Thu, 4 Jan 2001, Alexander Solovey wrote:
Hi all,
There is a bug in PerlRun.pm that causes internal server error
if PerlRun handler is called for inexistent file. I think that
problem was introduced by this change
=item 1.24_01 - October 10, 2000
.
change
On Thu, 4 Jan 2001, Jie Gao wrote:
Another problem with PerlRun is that it seems to interfere with mod_perl
handlers.
I have an authentication/authorisation handler, which reads in from a
file for someinformation. After a script under PerlRun is run, the handler
fails to read anything
On Fri, 5 Jan 2001, Gerd Kortemeyer wrote:
Hi,
Did anybody ever see a message like this in the error log after an "internal
server error"?
[error] Undefined subroutine Apache::lonhomework::handler called at /dev/null
line 65535.
No further entries.
lonhomework is the mod_perl
On Sun, 10 Dec 2000, Alex Vandiver wrote:
Heya --
Please 'scuse in advance the long post -- it had to be to fit in all of
the information asked for (better too much than too little, I hope).
Anyways, I've run into an intermittent segfault problem with mod_perl
(Version 1.24). It causes
On Mon, 8 Jan 2001, Vivek Khera wrote:
Are there any showstoppers in 1.24_02-dev that need addressing or
should we just roll this out as 1.25? I have no problems with it.
well, there are some hpux-dso issues i am going to fix before 1.25. i
would also like to catch up on what's left in my
this was reported a few times, with php as the suspect, but it happens
with any LoadModule config. problem was that the xs module structure was
only added to the Apache module list once at startup. it needs to be
removed/added each time apache is restarted, patch below does that.
Index:
On Wed, 29 Nov 2000, Dave Rolsky wrote:
I created a module that contains custom configs with the following code:
i cannot reproduce this with or without the patch just posted.
i did have to change this line for it to run:
$AH = HTML::Mason::ApacheHandler( interp = $interp );
to:
On Tue, 22 Aug 2000, Jens-Uwe Mager wrote:
I am looking for a way to update the reported size of a file in a plain
directory index generated by Apache. I have installed a perl fixup
handler that does check if a Macintosh resource fork is available
additionally to the plain data fork and it
On Wed, 11 Oct 2000, Bill Moseley wrote:
...
Here's the request:
---
GET /test/abc/123 http/1.0
HTTP/1.1 200 OK
Date: Wed, 11 Oct 2000 17:17:16 GMT
Server: Apache/1.3.12 (Unix) mod_perl/1.24
Connection: close
Content-Type: text/plain
hello
Here's the error_log
On Tue, 7 Nov 2000, Paul wrote:
Hi all.
A while back I posted a similar problem. My error logs have frequent
entries showing erroneous redirect strings, like this:
[Tue Nov 7 08:57:45 2000] [error] [client 90.14.50.41] Invalid error
redirection directive: üØ@
Sometimes *most* of
On Wed, 15 Nov 2000, Bill Moseley wrote:
This is probably more of a Friday topic:
Simon Cozens discusses "Microperl" in the current The Perl Journal.
I don't build mod_rewrite into a mod_perl Apache as I like rewriting with
mod_perl much better. But it doesn't make much sense to go that
On Tue, 10 Oct 2000, darren chamberlain wrote:
Hi All.
This is a curiosity question, mostly. I have a simple method of sending
debugging messages to the error log:
use constant DEBUG = 1; # Set to 0 to turn off debugging throughout
sub debug ($) {
if (DEBUG) {
return carp
On Wed, 11 Oct 2000, Clayton Mitchell wrote:
I then noticed that URI's of directories lacking a trailing '/' were not
being redirected in the browser and so relative links started to break.
since your PerlHandler is handling the directory, you need to manage that.
mod_autoindex and mod_dir
On Thu, 12 Oct 2000, Rodney Broom wrote:
Hi all,
I've got a set of new modules that do things like session handling, URI
rewriting, authentication, etc. I've got a set of tests to prevent some rewrite
problems that look like this:
if ($uri =~ m|^/cgi-bin/|) {
return
On Wed, 18 Oct 2000, Ernest Lergon wrote:
Dear list members, dear Doug,
it seems to me, that my initial mail of this thread was to long to read
and to be answered - especially because the questions are in the last
paragraph far down below and need scrolling of the message text ;-))
Ok,
On Thu, 19 Oct 2000, Chris Nokleberg wrote:
Following up on my post on this subject a couple of months ago, here is a
proof-of-concept drop-in replacement for Apache::Registry that eliminates
the "my() Scoped Variable in Nested Subroutine" problem.
nice hack!
It requires PERL5OPT = "-d"
On Thu, 26 Oct 2000, Bill Moseley wrote:
I've got Authen and Authz protecting an entire site:
location /
PerlAuthenHandler My::Authen
PerlAuthzHandler My::Authz
AuthType Basic
AuthName Test
require valid-user
/location
I'd like to have one
On Fri, 3 Nov 2000, Paul J. Lucas wrote:
So from within a function, I'm doing
my $r = Apache::Request-new( Apache-request() );
warn "request=", $r-as_string(), "\n";
and, when I to a POST request, I get:
Accept: image/gif, image/x-xbitmap,
On Sun, 5 Nov 2000, Hadmut Danisch wrote:
Hi,
sorry if this was discussed before or if it is
a dull question, but I couldn't find any other
help than subscribing to this list:
I have a Perl Handler Module (PerlAuthenHandler)
and want to lookup environment variables set by other
On Wed, 8 Nov 2000, Paul J. Lucas wrote:
On Wed, 8 Nov 2000, Geoffrey Young wrote:
... Apache::RequestNotes may be able to help - it basically does
cookie/get/post/upload parsing during request init and then stashes
references to the data in pnotes. The result is a consistent interface
On Fri, 10 Nov 2000, Peter J. Schoenster wrote:
Hi,
Anyone use cybersource?
yep, but not using their client. (plug time) i actually had the somewhat
recent pleasure of rewriting their client library from scratch.
that was mostly done because the original is tied to RSA Tipem, which RSA
no
On Mon, 13 Nov 2000, Bob Foster wrote:
Hello Folks,
I'm trying to compile mod_perl-1.24_01with apache_1.3.14 on Solaris 2.6. Everything
works OK until it hits src/modules/perl/perlio.c and then it fails with the following:
perlio.c:90: parse error before `Sfdisc_t'
perlio.c:90:
On Wed, 15 Nov 2000, Jere C. Julian, Jr. wrote:
I'm on a FreeBSD 3.4-RELEASE box and I've just built and tested apache
1.3.14 from source. Then I try to build mod_perl with the following
commands and get the errors below.
...
Symbol.xs:106: `na' undeclared (first use this function)
On Wed, 15 Nov 2000, Todd Finney wrote:
Is returning DONE a Bad Thing?
no. might not be what you want in certain cases, but difficult to guess
what you're doing.
On Thu, 16 Nov 2000, Antonio Pascual wrote:
Hi Everybody.
I'm making a module that modifies the uri at the translation phase,
but I have a doubt.
The way I do it is modifying the uri and returning DECLINED as I read in the
book "Writing Apache Modules with Perl And C".
But working like
On Mon, 27 Nov 2000, The BOFH wrote:
BEGIN {
use Apache ();
use lib Apache-server_root_relative('libperl'); ##
/usr/local/apache/libperl created
}
...
perl -cw modperl_startup.pl returns:
Can't locate object method "server_root_relative" via package "Apache" at
On Tue, 28 Nov 2000, Michael J Schout wrote:
About a month or 2 ago, I had posted a problem where I tried to upgrade from:
...
And reported that after doing this, my httpds would spin on startup. When I
turned on MOD_PERL_TRACE=all, it was showing that it was stuck in an infinite
loop
On Mon, 11 Dec 2000, Chris Allen wrote:
I have just done a complete install of RedHat v7.0 which includes
Perl 5.6.0. Image Magick was running fine on my old system, but now
when I attempt to install it, it gives the following error message
when attempting to do the PerlMagick install:
On Wed, 13 Dec 2000, Dr. Fredo Sartori wrote:
Apache produces segmentation faults when receiving arbirary
requests.
I am running apache-1.3.14 with php-4.0.3pl1, mod_ssl-2.7.1 and
mod_perl-1.24_02 (from the CVS tree) on solaris 2.7.
The perl version installed is 5.6.0.
According to
On Wed, 13 Dec 2000, Geoffrey Young wrote:
BTW, it's always good (at least I've found) to call
my $prev_uri = $r-prev ? $r-prev-uri : $r-uri;
or with one less method call :)
my $prev_uri = ($r-prev || $r)-uri;
On Thu, 21 Dec 2000, Vivek Khera wrote:
"SB" == Stas Bekman [EMAIL PROTECTED] writes:
startup.pl does not get repeated on a restart. However it will when
started with ./apachectl start. I have never encountered this with Apache
1.3.12 or 13.
SB I've just tested it -- it's not.
I
On Thu, 28 Sep 2000, Bill Moseley wrote:
Hi,
I'm seeing the opposite results from pre-loading modules in the parent
process than I would expect. It looks like pre-loading modules ends up
using more non-shared ("private") memory.
...
Here's the pre-loaded module list. When running as
On Sat, 2 Dec 2000, Ken Williams wrote:
Meta-question: should I be sending patches to modperl-cvs, or modperl?
here or to [EMAIL PROTECTED]
This patch does three things.
applied, thanks!
applied, nice find!
On Thu, 19 Oct 2000, Matt Sergeant wrote:
How about Harvey Floorbangers, from 7 till late. (erm, I think late might
still be 11pm for england *sigh*)...
"With a name like Harvey Floorbangers you'd expect this to be a cheesy
theme bar with singing bar staff and signed guitars on the
wall.
On Tue, 3 Oct 2000, Bruce W. Hoylman wrote:
Hello, Doug --
Thanks for the reply.
I have already applied this patch. The backtrace I provided was
producted by an httpd executable with the perl_util.c patch already
applied. The perl 5.6 patch from p5p was also in effect.
bruce, maybe
On Tue, 10 Oct 2000, Ken Williams wrote:
[EMAIL PROTECTED] (Doug MacEachern) wrote:
ken, i have a feature request too :) i would like to be able to test if
mod_include is linked static with httpd, otherwise Makefile.PL will
disable PERL_SSI. a hash of parsed `httpd -l`, something like
On Tue, 10 Oct 2000, Todd Chapman wrote:
Is there a mod_perl bugs database? I am having a problem and I want to
make sure it isn't a bug in mod_perl that's fixed in a recent release.
known bugs are listed in the ToDo file.
P.S. The bug is that $r-connection-user() is not set when I
On Sat, 30 Sep 2000, Yann Ramin wrote:
#0 0x80a2605 in ap_table_get ()
#1 0x808961e in XS_Apache__Table_FETCH ()
package Magrathea::WebAPI;
...
my $driver;
you cannot cache data that is tied to $r (e.g., notes table), because
the $r-pool is cleared after each request. string
On Mon, 9 Oct 2000, Dave Rolsky wrote:
I'm using mod_perl 1.24/Apache 1.3.12/Perl 5.00503 and find that I receive
no output after the \0. Is this a mod_perl or Apache bug? Or is it a
client bug (using Netscape 4.75) or is it the expected behavior.
looks ok to me:
% telnet localhost 8529
On Fri, 13 Oct 2000, Doug MacEachern wrote:
On Sat, 30 Sep 2000, Yann Ramin wrote:
#0 0x80a2605 in ap_table_get ()
#1 0x808961e in XS_Apache__Table_FETCH ()
package Magrathea::WebAPI;
...
my $driver;
you cannot cache data that is tied to $r (e.g., notes table), because
On Tue, 3 Oct 2000, Bruce W. Hoylman wrote:
Ciao!
With the latest modperl from CVS, all tests pass during build/test
phase. However it coredumps when used with my http.conf/startup.pl
files. An earlier CVS release of modperl (modperl_2911162240)
functions as expected. Both
On Mon, 2 Oct 2000, Ken Williams wrote:
In looking over the changes, I found that I've done a little more work
since the last patch I sent. I didn't send it on because I wasn't sure
whether the first patch would be accepted or not. Anyway, I beefed up
the fetch() method and documented it.
On Mon, 2 Oct 2000, B. Burke wrote:
Why would the lack of a $r-send_http_header call cause socket persistence
to go away? I was under the impression that $r-send_http_header only affected
what was sent to the client, but appearantly it affects Apache's socket handling
as well.
because
On Mon, 2 Oct 2000, Ken Williams wrote:
ken, i have a feature request too :) i would like to be able to test if
mod_include is linked static with httpd, otherwise Makefile.PL will
disable PERL_SSI. a hash of parsed `httpd -l`, something like:
my $static_modules =
On Mon, 2 Oct 2000, martin langhoff wrote:
Now shouldn't it be an 'if' instead of an 'unless'?
yes, it should be an `if'. your script works fine for me with that
change.
On Thu, 28 Sep 2000, Bill Moseley wrote:
Nope. I just downloaded a fresh 1.24, and 1.3.12 and built with
ah, it happens for non-Registry handlers. patch below fixes. you can
also change your handler to:
sub handler {
my $r = shift;
$r-exit(HTTP_NOT_MODIFIED);
}
BTW
On Fri, 29 Sep 2000, Ricardo Stella wrote:
*) Rebuild Perl with Configure -Uuselargefiles
if you do this and re-build Apache without the extra CFLAGS, that problem
will go away.
On Thu, 28 Sep 2000, Chris Lewis wrote:
It works to proxy the HTTP to the system fine, however, POST parameters
seem to get mangled and/or truncated.
they should get passed through by mod_proxy, provided nobody else has read
the POST data first.
When I try to reference $r-content the
On Fri, 29 Sep 2000, Stas Bekman wrote:
Hmm, I didn't take it out of my head, I cannot remember now when it was
added. Was it different before and I've missed the patch?
according to changes, it's been there 1.00_02.
Anyway, that means that I should fix the guide, to remove the note about
On Thu, 28 Sep 2000, Adi wrote:
As it turns out, the second call to My::ProxyAccessOnly is an internal
redirect
...
Is there a logical reason why PerlAccessHandler should be called twice, the
because internal_redirects are implemented with subrequests and
subrequests run all phases (except
On Fri, 29 Sep 2000, Vsevolod Ilyushchenko wrote:
I am not sure why, but the command line Perl script with
open (AAA, "|some_program");
accepts input via "print AAA" AND prints the output of the program on stdout.
because C-level stdout is not hooked up to the client under
On Thu, 28 Sep 2000, B. Burke wrote:
Once I changed how I was printing the header from the script, the socket
persistence
worked with PerlSendHeader Off. So I guess I solved my problem although I don't
really
know why.
because CGI.pm will trigger a call to $r-send_http_header, regardless
On Wed, 27 Sep 2000, Todd Chapman wrote:
Problems with your suggestion:
1. The realm will not be known until I get path_info so
Location/Location directives will not work.
you can use $r-auth_name($realm) to set it at request time.
2. How can I get Perl to do the password lookup in
On Wed, 27 Sep 2000, Carlos Ramirez wrote:
my $authheader = 'Basic realm="'.$realm.'"';
$r-header_out("WWW-Authenticate" ,$authheader);
there's a cleaner way for that:
$r-auth_name($realm);
$r-note_basic_auth_failure;
$r-status(AUTH_REQUIRED);
no need for that.
On Mon, 26 Jun 2000, Jim Winstead wrote:
We were seeing some servers spin out of control (allocating memory
slowly) in Apace::Constants::AUTOLOAD (which apparently has been
reported in the mailing list before).
The attached patch fixes the problems for us. Could someone who
understands
On Wed, 13 Sep 2000, brian d foy wrote:
let's suppose that i want to change the HTTP status to be something other
than i'm going to return from the handler(). is there a way to get the
logging phase to log the status that the user-agent got rather than the
return value of the handler()?
On Fri, 22 Sep 2000, Martin Wood wrote:
We have a collection of CGIs in a single directory handled by Apache::Registry,
however if we enter the name of a resource under that location that doesn't exist,
say www.noddy.com/registry_dir/dont_exist.cgi this is not recorded in the error_log,
just
On Wed, 27 Sep 2000, Magnus Erixzon wrote:
I am having some problems with Apache::Include.
When I include more than one file with it, the httpd seg faults.
The script can be as simple as this:
#!/usr/bin/perl
use Apache::Include ();
print "Content-type: text/html\n\n";
On Thu, 28 Sep 2000, Todd Chapman wrote:
Thanks for the help Doug. This is what I have now but all I get is a
segementation fault in the log.
$r-note_basic_auth_failure;
if AuthType is not set, this will core dump. i just expanded the change
that defaults AuthType to Basic for
On Thu, 14 Sep 2000, brian d foy wrote:
okay - i got that to work. i was getting confused because notes from the
handler() were showing up in the current request's notes for the
custom_response() handler *and* (as i've discovered) in the previous
notes. should that happen?
it shouldn't,
201 - 300 of 852 matches
Mail list logo