Edward,
Instead of just ./configure, you'll need to do
./configure --with-apache-includes=/usr/include/httpd
(assuming that's where your apache headers are).
That'll get you farther, anyway.
Joe, maybe this could be added as a default for Darwin or something?
-Ken
On Tuesday, November 26,
Hi Joe APReq,
I'm glad this is receiving attention, Apache::Request has had
some trouble on OS X as I'm sure you're aware. I just tested
the RC, using:
perl 5.6.1
Apache/1.3.26 (as shipped with the OS, uses dso)
OS X 10.1.5
and I get this error in 'make test':
dyld: t/httpd multiple
On Tuesday, November 26, 2002, at 12:22 PM, Joe Schaefer wrote:
Ken Williams [EMAIL PROTECTED] writes:
[...]
I've attached the full output.
Thanks, Ken. I looked over the result, but didn't see any
indication that you used the ./configure - make - make install
instructions from the web
On Tuesday, November 26, 2002, at 05:24 PM, Joe Schaefer wrote:
Ken Williams [EMAIL PROTECTED] writes:
[...]
I got through ./configure - make - make install
successfully, installing to /usr/local/lib/ and
/usr/local/include/. However, there doesn't seem to be a
ldconfig on my system
Great, the CVS version passes all tests for me now when built
under 'perl Makefile.PL EVERYTHING=1' using apache 1.3.24.
On Tuesday, May 21, 2002, at 07:19 AM, Doug MacEachern wrote:
On Sun, 28 Apr 2002, Ken Williams wrote:
Insecure dependency in eval while running with -T
Hi,
I was thinking of writing yet-another-photo-album-server, and I
had the idea that I'd write a handler to serve resized versions
of JPEGs (very original, I know ;-). The idea is that I'd put a
bunch of JPEGs on the server at locations like foo/123.jpg , and
then if a request came for
On Wednesday, May 1, 2002, at 06:46 AM, OCNS Consulting wrote:
Of course srand seeds rand. And yes, it is a good way to generate
random numbers for a one time application RUN.
The original poster is not looking for random, he's looking
for unique. These are in many ways *opposite*
On Wednesday, May 1, 2002, at 05:04 AM, Fran Fabrizio wrote:
I spoke too soon.
I need:
Perl
push Alias, [ qw(/cgi-bin/chimpkit/ $ENV{SERVER_ROOT}/cgi-
bin/chimpkit/) ];
/Perl
This does not appear to be possible because there's no way to
pass in SERVER_ROOT to the apache startup.
On Sunday, April 28, 2002, at 04:48 PM, Stas Bekman wrote:
it does solve the problem on linux. Ken, can you test the
bleadperl? This fix was applied as a solution. If `pwd` doesn't
work for you, that sucks! Meaning that the problem wasn't fixed
in bleadperl :( Can you check the recent Cwd
On Sunday, April 28, 2002, at 04:48 PM, Stas Bekman wrote:
Ken Williams wrote:
On Sunday, April 28, 2002, at 01:47 PM, Stas Bekman wrote:
Ken, CWD.pm, has always suffered from taint problems. This problem
has been fixed in the bleadperl, try this patch:
--- /tmp/Cwd.pmSun Apr 28 11:44
Hi,
I used to be able to compile mod_perl pretty easily on Mac OS X, but now
for some reason (upgrades of modules? OS upgrades?) I'm having a lot of
trouble getting past 'make test'. Here's what happens (no matter
whether I compile statically with just EVERYTHING=1, or as a DSO as per
On Sunday, April 28, 2002, at 12:41 PM, Ken Williams wrote:
I used to be able to compile mod_perl pretty easily on Mac OS
X, but now for some reason (upgrades of modules? OS upgrades?)
I'm having a lot of trouble getting past 'make test'. Here's
what happens (no matter whether I compile
On Sunday, April 28, 2002, at 01:47 PM, Stas Bekman wrote:
Ken, CWD.pm, has always suffered from taint problems. This problem has
been fixed in the bleadperl, try this patch:
--- /tmp/Cwd.pm Sun Apr 28 11:44:38 2002
+++ /home/stas/perl.org/perl-5.6.1/lib/Cwd.pm Fri Sep 14 17:09:10
On Friday, February 22, 2002, at 09:58 AM, Joe Schaefer wrote:
In the interim I'll try and maintain the experimental versions.
Stas has been kind enough to work on adding a test suite to libapreq,
which will very likely be included in the next release.
That'll be MUCH appreciated. That's
On Friday, January 4, 2002, at 02:22 AM, Ken Williams wrote:
For the sake of thread completion, here's a script which demonstrates
the bug. It turns out to be a Perl bug (5.6.1, at least), not an
Apache::Session bug. I'll post to p5p after I post here.
I was surprised to find the it's
On Friday, January 18, 2002, at 12:44 AM, Perrin Harkins wrote:
In a Mason context, which is where I'm using it, I do this in my
top-level autohandler (ignore the main:: subroutines, they're just for
pedagogy):
%init
# 'local' so it's available to lower-level components
local
Hi,
The uploaded file
Apache-SSI-2.17.tar.gz
has entered CPAN as
file: $CPAN/authors/id/K/KW/KWILLIAMS/Apache-SSI-2.17.tar.gz
size: 25819 bytes
md5: b229a3a25a82935cad2da1af637714be
Changes since 2.16:
2.17 Mon Jan 14 13:58:21 CST 2002
Added the Apache::FakeSSI class,
Hey,
For the sake of thread completion, here's a script which demonstrates
the bug. It turns out to be a Perl bug (5.6.1, at least), not an
Apache::Session bug. I'll post to p5p after I post here.
Note that $foo and %bar are cleaned up by refcount, but %foo isn't
cleaned up until global
On Friday, January 4, 2002, at 02:48 AM, Gerald Richter wrote:
# Won't get cleaned up properly
local %foo;
tie %foo, 'Dummy', name = '%foo';
local only make a copy of the original value and restores it at the end
of
the scope, so %foo will not destroyed, but restored at the end
Hi Aaron,
I don't have a test case involving Apache::Session yet (I've been out of
town for a couple days), but here's a simple one in Perl that
demonstrates the DESTROY order problem:
--
#!/usr/bin/perl
{
package Outer;
sub
On Thursday, January 3, 2002, at 11:57 AM, Perrin Harkins wrote:
I don't have a test case involving Apache::Session yet (I've been out
of
town for a couple days), but here's a simple one in Perl that
demonstrates the DESTROY order problem:
That's sort of a weird example, since it has a
On Thursday, January 3, 2002, at 02:02 PM, Jeffrey W. Baker wrote:
This seems like a really weird problem. The Store module is destroyed
while another module still has a reference to it. Unfortunately for you
and I, the only conclusion I have been able to draw is that Perl's
DESTROY
Hey,
I'm having problems with Apache::Session, the symptom is that none of my
data is getting written to the database. It's not the nested-data
problem, since I'm not using any nested data structures.
After some investigation, I've discovered that the
Apache::Session::Store::MySQL::DESTROY
Does anyone know why messages sent to the modperl-site list have
modperl-cvs in their headers, like the following?
List-Help: mailto:[EMAIL PROTECTED]
List-Unsubscribe: mailto:[EMAIL PROTECTED]
List-Post: mailto:[EMAIL PROTECTED]
-Ken
Nathan Torkington [EMAIL PROTECTED] wrote:
There are some web design To Do items:
* ensure colors are part of the standard palette (right now they're
just easy to type in hex :-)
Holy shit Nat, those colors are strong. =) You've really taken
attention-getting into the twenty-first
Michael,
Yeah, you can put it in the Apache namespace if it's mod_perl-dependent.
That's what it's there for. =) The name Apache::Gallery seems decent.
Michael Legart [EMAIL PROTECTED] wrote:
Hi,
Apache::Gallery is a picture gallery implemented as a mod_perl handler,
using libgd2 for
Joe,
The problem is that Apple has made some strange changes to the way shared
libraries are linked. I'm not very conversant in the details, but there
are some people on the [EMAIL PROTECTED] list that have discussed it.
Unfortunately, Apache::Request and Apache::Cookie don't define any
Hi all,
It doesn't much matter whether you're using stacked handlers or not, or
pushing vs. replacing, because the $r-child_terminate method seems to
simply call the C exit(0) function under certain conditions (Win32, old
version of apache, anything else?). Not much chance of any further
Gerald Richter [EMAIL PROTECTED] wrote:
Wouldn't it be better to subclass Apache::SSI instead of
HTML::Embperl::Syntax::SSI ? That part of it would be really easy - the
hard part would be actually implementing the OAS directive actions.
If you really only want to do SSI, then
Wim Steven,
Wouldn't it be better to subclass Apache::SSI instead of
HTML::Embperl::Syntax::SSI ? That part of it would be really easy - the
hard part would be actually implementing the OAS directive actions.
Wim Kerkhoff [EMAIL PROTECTED] wrote:
Steven Boger wrote:
I've been
Ted Sariyski [EMAIL PROTECTED] wrote:
/home/web/roaming/.htaccess: Invalid command 'tsariysk:ZJbPFKHxDasnx',
perhaps mis-spelled or defined by a module not included in the server
configuration
It looks like you've confused the .htaccess and .htpasswd files.
PerlModule Apache::Roaming
Hi,
It sounds like you want to read the source code. =) Download mod_perl
(or perhaps you already have) and read the source to Apache.pm,
mod_perl.pm, and so on, until you understand everything you want to. Be
warned, it's not easy reading.
There aren't many documents describing the
___cliff rayman___ [EMAIL PROTECTED] wrote:
Alex Krohn wrote:
Hi,
With this simple test script:
print Content-type: text/html\n\n;
my $var = 'x' x 50;
our $var = 'x' x 50;
my $sub = sub { my $sub2 = sub { $var; }; };
print Done\n;
$var does not get freed, and the process
.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
On Sat, Sep 01, 2001 at 02:38:05PM -0500, Mike808 wrote:
ryc wrote:
... I am having a problem with DBI (or the db) escaping '\n'
characters so when they are inserted into the database they become '\\n'
(ie a '\' followed by 'n').
Does anyone have advice on how this could be done while
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
up tons of RAM.
Right, that sounds like the culprit. Miroslav, see the 'mysql_use_result'
parameter in 'perldoc DBD::mysql', which will let you store the result
in a mysql server table rather than in client memory.
------
Ken
.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
of it
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
as-catch-can throughout the week. See you soon!
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
@localhost DB_File]#
--
Anyone have any ideas as to why perl can't seem to find the file
eventhough the system, clearly, can?
James
------
Ken
please post the URLs for your talks?
Not only mod_perl, but any...
You asked for it ... ;-)
http://mathforum.com/~ken/categorize/001.html
(These are the slides from YAPC, I need to revise them a little for TPC.)
------
Ken Williams
!)
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
be happier, and the code will run faster, if you use an Apache
subrequest instead of a full-blown LWP request. If you're not
familiar with subrequests, look up $r-lookup_uri() and
$r-lookup_file() in the mod_perl docs and/or the Eagle book.
-Ken Williams
The Math Forum
[EMAIL PROTECTED]
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
-Ken Williams
The Math Forum
[EMAIL PROTECTED]
Yo,
I just noticed that there's no mod_perl BOF listed at
http://conferences.oreillynet.com/cs/os2001/pub/10/bofs.html .
Is one scheduled? If not, let's get one together.
------
Ken Williams Last
...)
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
');
\$r-send_http_header();
\$r-print('Hello ');
\$r-print('World');
200;
}
1;
/Perl
SetHandler perl-script
PerlHandler Apache::bench
/Files
------
Ken Williams
?
Tying is probably the way to go. You can check out Apache::Filter for
an example of how to tie STDOUT.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math
, etc. varies from one
scheme to another, but that additional stuff is the reason Registry
scripts are usually slower than handlers.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED
why you need to redirect just to authenticate. Can't
you just deny access if authentication fails, and allow it if it
succeeds?
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED
of the issues
involved.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
general-purpose, not Apache or mod_perl specific.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
uses method handlers. Several subclasses of it also
exist, like Apache::AuthTicket, Apache::AuthCookieDBI, and whatever DIY
module you build to use AuthCookie itself.
------
Ken Williams Last Bastion
the memory allocation/deallocation. If memory is tight
though, then I suppose you'll do what you have to do.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED
.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
[EMAIL PROTECTED] (allan) wrote:
im aware of the head/HEAD problem that comes with LWP on mac osX and
have therefore copied a binary head that ken williams sent me into
/usr/bin and moved the lwp head into /usr/local/bin.
Looks like that problem still isn't fixed, as shown by the following
error
.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
server but could
run an Apache process as a backend using a proxy, then you could do
fine. If you're forbidden from running Apache at all, you're out of
luck.
------
Ken Williams Last Bastion of Euclidity
string there)
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
you're just running the wrong script, or the script has gotten
cached under Apache::Registry and it's not noticing the latest version
on disk.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED
into the problem.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
been a lot of messages on your topic already.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
to recompile at will. Hope you have luck
figuring out the problem.
I suppose if nobody has a known fix, this is a topic for the modperl-dev
list. I'll move it over there.
------
Ken Williams Last Bastion
/darwin
/Library/Perl
/Library/Perl
/Network/Library/Perl/darwin
/Network/Library/Perl
/Network/Library/Perl
.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED
of the historic DSO
problems with mod_perl.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
and guard against variables leaking out
of the scope you thought they were supposed to be in.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
distributions.
[Sorry, I'm teaching a probability class right now.]
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
!
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
cease.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
wondering why isn't an
exception raised on the third request about not declaring '$test'? Did
the first request put '$test' in the symbol table?
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED
, @fields;
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
in
the test suite.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
the following in the no-op handlers:
$r = $r-filter_register();
my $fh = $r-filter_input;
$r-send_fd($fh);
(though I'm not quite sure why these exist as content handlers if
they're no-ops.)
------
Ken Williams
it by taking out the check to see if its the last module in a
chain..
For me, that is always a safe assumption..
Let me know if theres ever a real fix..
- Original Message -
From: "Ken Williams" [EMAIL PROTECTED]
To: "JR Mayberry" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Se
send_fd() would complain about a 'Bad
filehandle'. Occurred most often with Apache::Compress.
Added a couple of tests to properly exercise the send_fd() method.
------
Ken Williams Last Bastion
)
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
m - you haven't pre-loaded all necessary modules
in your startup files (httpd.conf and startup.pl). The code is
disappearing when the children die and are re-spawned.
--- ---
Ken Williams Last Bastion o
.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
whether notes for ApacheCon will be generally
available or not, but these are some of the possible reasons for not
doing so.
The benefits for putting them up are obvious. =)
------
Ken Williams Last Bastion
[EMAIL PROTECTED] (Philippe de Rochambeau) wrote:
has anyone ever installed/compiled mod_perl for MacOSX? If so, how
exactly did you do it?
See this thread:
http://forum.swarthmore.edu/epigone/modperl/philsmangyi
------
Ken
.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
n your handler, do:
use Apache::Storage;
sub handler {
my $r = shift;
my $o = get_storage('o');
...
And so on.
I wonder why I've never heard of this module before. It looks like it's
never been discussed on the list, and it's not in the module list.
---
?
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
?
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
?
It sounds like you want this (or similar):
Files index.html
Set-Handler perl-script
PerlHandler app::main
/Files
Using Location / sets things for the entire server, because it means
"everything below /".
----------
Ke
PROTECTED] (Vasily Petrushin) wrote:
my ($var) = ('');
That's not the problem. See
http://perl.apache.org/guide/perl.html#my_Scoped_Variable_in_Nested_S .
It's a bit long, but thorough. Especially see "The Remedy" section.
------
but I cannot get the server to parse *.pl files using mod_perl.
Any ideas?
Thanks.
----------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
to start taking care
of it. Volunteer bit shovelers are appreciated.
(Sorry, couldn't resist. =)
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
|everchanging.org
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
);
# send headers here
print $self-name;
return OK;
}
--- ---
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
[EMAIL PROTECTED] (Vasily Petrushin) wrote:
On Tue, 30 Jan 2001, Ken Williams wrote:
sub handler ($$) {
my ($self, $q);
- $self = $self-new(); ??? 8-[ ] who is $self-new() ???
$self = PackageName-new();
This is a Perl question and not a mod_perl question, so I don't want
.
------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED]The Math Forum
'__private', '_protected', and 'public' data
members. I'm not sure whether it supports explicit declarations of key
names, but I bet it could be added easily if not.
I haven't used the module, but wanted to pass along the info.
------
1 - 100 of 274 matches
Mail list logo