); # terminate the process
}
First problem, Apache::SubProcess doesn't seem to contain those methods
anymore.
Second problem is open.
Can anyone tell me the proper way to fork with v2?
Thanks,
Cameron
--
Richard F. Rebel
[EMAIL PROTECTED]
t. 212.239.
signature.asc
Description
I get this when I run locate krb5.h
/usr/kerberos/include/gssapi/gssapi_krb5.h
/usr/kerberos/include/krb5.h
So I would say it is there
Richard Kurth wrote:
Thanks for the suggestion but it did not work I still get the same error.
Also this is a rh9.0 Server
it's possible that you don't have
I am trying to compile mod_perl-1.28 with apache_1.3.27,openssl-0.9.7b and
mod_ssl-2.8.12-1.3.27. When I run configure with the following and then do
a make I get all these parse error can anybody tell me way I get this.
THIS IS WHAT I AM RUNNING TO CONFIGURE
perl Makefile.PL USE_APACI=1
, Richard Kurth wrote:
I am trying to compile mod_perl-1.28 with apache_1.3.27,openssl-0.9.7b and
mod_ssl-2.8.12-1.3.27. When I run configure with the following and then do
a make I get all these parse error can anybody tell me way I get this.
THIS IS WHAT I AM RUNNING TO CONFIGURE
perl
Title: [mp2.0] make test failure in mod_perl 1.99_08
1. Problem Description:
make test is failing badly. I get the following from the t/logs/error_log
[Wed Apr 02 16:58:51 2003] [error] [client 127.0.0.1] Can't locate TestHooks/ini
t/first.pm in @INC (@INC contains:
.
Here are the diffs to httpd.conf that I used:
51,52c51,52
User nobody
Group root
---
User build
Group build
554c554,555
PerlModule TestHooks::init
---
PerlModule TestHooks::trans
PerlModule TestHooks::init
Richard
-Original Message-
From: Hensley, Richard [mailto:[EMAIL
]]
Sent: Thursday, April 03, 2003 3:43 PM
To: Hensley, Richard
Cc: '[EMAIL PROTECTED]'
Subject: Re: [mp2.0] make test failure in mod_perl 1.99_08
Can you give it a try with the latest cvs, without the changes you have
applied? Thanks.
http://perl.apache.org/download/source.html
make a massive oversight when reading the documentation on this?
Richard.
, causing a VirtualHost overlap warning.
Is it supposed to work like this?
Richard.
--
Best regards,
Richard Kurth
DirectPHP Inc
mailto:[EMAIL PROTECTED]
360-686-8448 Home
360-686-0374 Office
to be related to Error.pm? Could something else be causing
this? Any advice at all?
This is on,
mod_perl 1.27, apache 1.3.27, fbsd 4.7-release.
Richard.
Nick,
if ($r-lookup_uri($r-uri)-content_type =~ /image/) {
return Apache::DECLINED;
}
Do you have this, or something similar, in your code?
I greped my entire directory tree for any of the subrequest mechanisms
and the only place I am using them are in some handlers
The only thing which it does which is affected by anything outside of its
immediate environment is call, $r-prev. This shouldn't call the
accesshandler though... should it?
Erm, doh, not sure why I said this. This only happens when a 403 happens and
the user is sent to the /login location. So
package AC::Centry::Access;
$AC::Centry::Access::VERSION = qw$Revision: 1.2 $[1];
use strict;
use Apache::Constants qw(:common);
use AC::Centry::Tool();
# handler()
# Process requests to protected URI's
sub handler {
my $r = shift;
my $uri = $r-the_request;
return OK unless
subrequests.
Ideally I would like to find someway to trace the who/what/where/why of
handler execution. Running with PERL_TRACE left me none the wiser so I was
hoping a user might know a better way?
Richard.
My client is partial to perl so I installed mod_perl
on Apache HTTPD on his windows servers.
Now, however, he wants to price a linux cluster with
raid to replace his windows servers.
He needs declarative role based authorization and
authentication for his web site -- and maybe fault
tolerance
Are you using Apache::Cookie?
If so,
#same as $cookie-bake
$r-err_headers_out-add(Set-Cookie = $cookie-as_string);
Are you doing this?
Richard.
- Original Message -
From: Andrew Fritz [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 13, 2003 8:24 PM
Since I had such a tough time installing mod_perl on
Win2000, I thought I would solicit for experiences
getting Hello, World running with EmbPerl on Apache
HTTPD on Windows2000.
What URL did you download embperl from?
Did you get any errors during installation?
What is the URL you used for
I downloaded
http://theoryx5.uwinnipeg.ca/pub/other/Perl-5.8-win32-bin.exe
and ran the perl config.pl program. Since I received
so many errors (see end of this email message) I
decided to use my existing perl at c:\Perl\bin which
is a version of 5.8 that is already in my path.
When I start
I just downloaded the all-in-one and, as per Randy's
instructions, abandoned my current installations of
Apache2 and perl5.8 by uninstalling them.
I just typed in the perl configure.pl command and I
receive:
SetConsoleMode failed, LastError=|6| at
C:/Perl/site/lib/Term/ReadKey.pm line 26
8,
.
What should I do next? Maybe I should build mod_perl
myself. Which compiler do you recommend for building
mod_perl on NT4 or Windows 2000?
Siegfried
--- Randy Kobes [EMAIL PROTECTED] wrote:
On Sun, 2 Mar 2003, Richard Heintze wrote:
I have followed the instructions at
http
As soon as I activate the line identified as 'trouble line', my apache
server dies.
Can you elaborate on this.. how does it die?, what is the error msg? etc..
(That is assuming it's still a problem after upgrading to latest
DBI/Apache::DBI as Stas suggested).
Ric.
Hi,
Is there a way, like PHP has ?php phpinfo(); ? , to figure out with
what options a standard linux distribution mod_perl is built ?
I would like to know if it was built with EVERYTHING=1 or if
PERL_CHILD_INIT=1
I have followed the instructions at
http://perl.apache.org/docs/1.0/os/win32/install.html
I've put the following in my httpd.conf file:
LoadFile c:/Perl/bin/perl58.dll
LoadModule mod_perl modules/mod_perl.so
PerlRequire C:/Apache2/conf/extra.pl
I have expanded mod_perl-2.tar and extracted
Randy,
I can boot apache and I can view the index.html.en and
navigate to the documentation. No errors. It seems to
be working fine.
Sieg
--- Randy Kobes [EMAIL PROTECTED] wrote:
On Sun, 2 Mar 2003, Richard Heintze wrote:
I have followed the instructions at
http://perl.apache.org
2003, Richard Heintze wrote:
I've searched the archives for connect and could
find no hints.
As per the mod_perl installation instructions, I
type
the following command:
C:\Program Files\Apache
Group\APACHE2\mod_perl-1.99_08ppm install
http://theoryx5.uwinnipeg.ca/cgi-bin
PerlModule Apache::DBI;-- trouble line
This line belongs in your httpd.conf file.
PerlModule is an apache configuration directive, not a perl 'command'.
http://perl.apache.org/docs/1.0/guide/config.html#PerlModule_and_PerlRequire
_Directives
Ric.
I've searched the archives for connect and could
find no hints.
As per the mod_perl installation instructions, I type
the following command:
C:\Program Files\Apache
Group\APACHE2\mod_perl-1.99_08ppm install
http://theory
x5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer58
And I get these errors
I've never had any reason to do this so there might be a shortcut but I
think something along the lines of the following should work (As long as
your access/auth handler doesnt make use of $r-is_intial_req())
use Apache::Constants (:common);
my $subr = $r-lookup_uri('/new/request/?foo=bar');
my
suggestions whilst I go try libapreq 1.0
Richard.
not in the transhandler.
Richard.
Ok, I just installed apache::asp which forced the
install of mod_perl.
How do I test to see if mod_perl is running ok on
any given server?
Thanks!
PS. I'm currently reading the manpage mod_perl that
is on my server, thus far
I don't see anything regarding testing that it
works.
Thank you VERY much!!!
I've bookmarked that site!
Have a good day!
- Original Message -
From: Stas Bekman [EMAIL PROTECTED]
To: Richard [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, January 27, 2003 5:30 PM
Subject: Re: How to test for mod_perl
Richard wrote:
Ok, I just
some foresight on this.
Thanks,
Richard.
,
then the ones that want to use mod_perl can use
it.
Is that ok to do?
Thanks,
Richard.
if a content handler is performing an
internal_redirect which might invoke that handler.
Can somone shed some light on this for me please.
Richard.
p.s. I didnt yet try converting Util::Tour::Banner into an object handler.
Is it neccessary for all handlers in a chain to be either object
dependancies and force install, what do you
recommend?
What do I need to do to install it? Should I use
the RPM installer?
Do I need to disable SuExec?
If not, how will the user and group settings in
httpd.conf work with mod_perl installed?
Thank you for any advice you may
have
Richard.
Is this the correct list for help with
Apache::Session::MySQL?
Thanks,
Richard.
Ah. ok. I don't use Mod_Perl, I hear it is a big security risk, since it
runs as root. Is this true? I love how much faster it is, it's not that much
faster, but enough to make me upgrade all my boxes if it is not a security
risk.
What do you think?
Thanks,
Richard.
(I'll go see your reply
regular Perl scripts, without using Mod_Perl, or do I have
to use one or the other, only.
Thank you,
Richard.
PS I just replied to the PerlMonks reply you did. Thank you.
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Saturday, December 28, 2002
Great, thank you guys!
I am trying to first fix my Apache::Session problem before I open
a whole new bag of candy :o)
Thank you very much for your input, I am grateful!
Richard.
- Original Message -
From: Perrin Harkins [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED
And sent messages about using Windows to a Linux list, and CGI questions
to
mod_perl list and seems to ignore the many requests to read some basic CGI
tutorials. I'd guess troll if he wasn't so clueless. ;)
Since when did mod_perl becomes Linux only?
Richard.
the changes appear to all children.
Is there a way of avoiding this - maybe with an apache directive - so that
all modules are re-read by all children without a restart ?
Thanks
Richard
advice? Has anyone else ever experienced a code path which causes a
similar segv in dprof?
Richard.
(gdb) c
Continuing.
Program received signal SIGSEGV, Segmentation fault.
0x4477145b in prof_mark () from
/usr/lib/perl5/5.6.1/i686-linux/auto/Devel/DProf/DProf.so
(gdb) bt
#0 0x4477145b
Hi.
I have resolved my problems, but I am not sure if this highlights a
possible error in the make scripts.
I realised I was root, but installing from the directory /home/richard
If I did the following as root (in /home/richard):
tar -xzf mod_perl.tar.gz
cd mod_perl...
perl ./Makefile.PL
OK, after following the instructions requested by Stas Bekman, it still
doesnt work...
Below is a list of everything I have type. I dont claim to be a major
expert or anything, so I have included all the commands in full to help
catch if I missed something :)
in /home/richard/modperl-2.0
on the newsgroups and google for answers but I am now lost.
Can anybody help to shed some more light on this ?
More info can be made available if people need it.
Thanks
Richard
[Thu Dec 05 21:18:22 2002] [info] Init: Initializing OpenSSL library
[Thu Dec 05 21:18:22 2002] [info] Init: Seeding PRNG with 0
in
Perl 5.8?
Thanks very much.
Richard Kandarian
http://www.lanl.gov/cgi-bin/fonelink.pl/085598
Any opinions stated in this message are mine and not expressed on behalf of any other
individual or entity unless explicitly noted otherwise. As for the links linked at the
very end, my opinion
List,
Does anyone know why apache ab might segfault when accessing one
particular mod_perl handler on my site? Is this something I could be doing
wrong in my handler (I can't think what.. the page works find in all
browsers).
Richard.
List,
Can anyone tell me if a module exists that combines these two modules so
that, for example, when using Apache::Dispatch one can create an instance of
Apache::Request in the handler without clobbering the overridden methods
sent as part of the Apache::Filter object. Before I try and do
invoked if they come from a supeclass?
All help appreciated as usual,
Richard.
I should add that this segv only happens when using push_handlers like
below. If I put Control::Super::Sub-handler inside a Location tag in
httpd.conf then it is fine.
Ric
- Original Message -
From: Richard Clarke [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, November 06, 2002
Now I feel stupid. $sub-handler was supposed to be $sub-handler.
That's what you get for being impatient.
Ric
- Original Message -
From: Richard Clarke [EMAIL PROTECTED]
To: Richard Clarke [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, November 06, 2002 4:08 PM
Subject: Re: OO
/html/metref.htm
http://www.netmechanic.com/news/vol4/promo_no15.htm
etc..
Any one of these should help you solve your problem I think
Thanks in advance ..
Sumitro Chowdhury.
Hope this helps,
Richard Clarke.
List,
You are probably not the best people to ask for an answer which
might advocate PHP,
but.
Can someone who is more proficient in PHP than I (I have used it
for 5 minutes) explain to me why it is quicker to prototype things in PHP?
I can't understand this statement.
that the organizational logic of a websites code
base fits well into the CVS paradigm. Am I being to short sighted in
this assumption?
Does anyone have any recommended method? I don't use version numbers at
all? Does anyone?
Richard.
John,
[EMAIL PROTECTED] wrote:
We felt the same way but once we went to CVS we never looked back and
can not imagine going with out source control. It may seem like the
web doesnt fit that paradigm but if you break your modules up properly
it works like a champ.
We broke out into
Hsiao, Chang-Ping wrote:
CVS is easy to use but confusing at first.
This could be the root of my reservations.
Once you get used to it, you should not complain.
I don't quite get your saying I don't however feel that the organizational
logic of a websites code base fits well into the CVS
Jim Martinez wrote:
On Oct 30 Richard Clarke wrote:
Does anyone in the list use any kind of version control (e.g. CVS) for
the perl/template codebase of their website?
Using cvs, I'm not sure of an elegant way to update. I'm worried about
CVS subdirectories sitting under htdocs
care of pooling connections.
Use,
my $dbh = DBI-connect(CONNECT);
and get rid of the global $dbh above.
Richard
discussions especially
different?
Just please point me to online references if this has been discussed to
death.
Richard.
My IP is from the netherlands apparently :(
Can't even get quality british IP's these days... sheesh
Ric(England).
If you're doing it because hacking perl is fun and you're in no rush, then
go ahead and have a good time.
And if so, would you like to swap jobs?
please?
Rich
List,
http://www.newsfactor.com/perl/story/19716.html
...sigh?
Ric
This is a repost of an earlier help request. I'm attaching a core stack
trace, and I forgot to mention my httpd.conf, which is bog stock, no changes
at all from what you get installed from apache.
Constants: static linked mod_perl 1.27, and Perl 5.6, solaris 2.8/sparc. I
don't have root, so
, and, well, you know what happens.
This has happened with various configurations. The weird thing is
that it happens at the doc root directory, which has the default
per-dir config from httpd.conf. Anyone with any ideas?
Richard Homolka
Technical Architecture
Citadel Investment Group L.L.C
one of you has?
Richard
Perrin Harkins wrote:
Richard Clarke wrote:
I came across http://www.firstworks.com/sqlrelay.html the other
day. Have any of you come across this product before.
It's been discussed here before (see the archives) but no one has
talked about any real experience with it yet. Try
requests then this memory is
gonna be consumed by apache forever (at least until httpd is killed).
Richard
Dave Rolsky wrote:
It looks like there may be a memory leak with Apache::Request. I'm using
version 1.0 with Perl 5.6.1, mod_perl 1.26, and Apache 1.3.26. mod_perl
is statically compiled
http://thingy.kcilink.com/modperlguide/snippets/Reusing_Data_from_POST_reque
st.html
- Original Message -
From: Tim Sebastian Böckers [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 01, 2002 2:24 PM
Subject: Fwd: Re: param trouble
Thanks to everyone giving their hints and
to the control object
so that it could display errors in the current page/view?
Richard
Title: FW: mod_perl_make error
Hello
Any help appreciated with this attempt to make mod_perl 1.27 on hp-ux 11.11, 64 bit OS, apache 1.3.26 and perl 5.6.1.
Rdgs
Richard
To: [EMAIL PROTECTED]
Subject: mod_perl_make error
Script started on Fri Jun 28 15:35:13 2002
# pwd
/.cpan/build
appreciated. I realise that the same situation might occur
using vanilla cgi, but mod_perl provides unique ways of solving the problem,
hence I post to this list.
Richard.
I am an idiot. Please ignore the previous post.
Richard :(
- Original Message -
From: Richard Clarke [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 24, 2002 2:00 AM
Subject: (browser bug) Internet Explorer AuthCookie and others
List,
I just wanted to post to see
On Wed Jun 19 17:54:02 2002 +0400 Igor Sysoev wrote:
On 19 Jun 2002, Ilya Martynov wrote:
If you still do not know about it:
http://httpd.apache.org/info/security_bulletin_20020617.txt
Now mod_perl question. mod_perl servers often are used as backend
servers. I.e. they are not
(possibles SOAP
or LWP::Daemon or even apache server in single user mode) server
specifically designed for performing IMAP requests?
Finally, does anyone with experience in having to write webmail interfaces
see any problems with using the functionality provided by IMAP.
Richard
p.s. Yes quite obviously
List,
Before I present a detailed description of the problem I thought I'd
just bounce of an intro to see if its a common fault.
I have found, using apache 1.x latest and mod_perl 1.x latest that if I use
internal redirection to a mod_perl handler for ErrorDocument 500
(server_error) then
You could migrate to a database based mail authentication solution.
Postfix+cyrus springs to mind.
Ric
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, May 19, 2002 9:56 AM
Subject: Re: Scripts and passwd
Hello
Thanks for the reply. Yes this server
Why don't you just set your maximum child requests to a reasonable number
and have them restart themselves after they have executed what you would
call enough requests to need flushing.
Ric.
- Original Message -
From: Jim Morrison [Mailinglists] [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Are you also processing the posted data at some earlier request stage? It
doesn't sound like you would be but I thought I would ask.
Richard
- Original Message -
From: Mike Melillo
To: [EMAIL PROTECTED]
Sent: Tuesday, May 14, 2002 5:22 PM
Subject: $r-args vs $r-content
Ok, I've
that too :)
- Original Message -
From: Bart Frackiewicz [EMAIL PROTECTED]
To: Richard Clarke [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, May 03, 2002 4:15 PM
Subject: Re: SOAP and web services
Hi Ric,
I use mod_perl/apache/soap::lite to create an internal
application server
Are you sure soap is what you want?. Just because SOAP uses XML to encode
the parameters and data which it transmits doesnt necessarily mean you want
that same format sent to the user. Why would you not have a normal mod perl
content handler execute whatever procedures are necessary to get the
Can someone tell me why theApache::UTIL
escape_uri() functiondoesnt escape the '+' character.
I need to pass a base64 string as a query string
but I can't do this unless + is changed to %2B.
Should I just translate it manually...are there any
other chars I should be translating manually?
Stas Bekman wrote:
Richard Titmuss wrote:
Hi,
I am trying to setup Apache::VMonitor on a mod-perl enabled server.
The page is returned OK but some of the information seem corrupt. The
following is an example of the output which I get:
##PID M Elapsed LastReq Srvd Size Share
is not being read correctly. Can
anyone help?
I'm using
apache_1.3.22
Apache-Scoreboard-0.10
Apache-VMonitor-0.6
Thanks,
Richard
Hi Guys,
Can someone suggest a good method for debugging the server portion of
soaplite applications when used in a mod perl context.
Debugging in the sense that I want to print out strings to apache log or
similar.
Ric
really not so bad. Be willing
to learn. That's the best advice I can give.
Cheers,
Richard
--
Richard Dice * Personal 416 841 7365 * Fax 416 841 7364
ShadNet Creator * http://shadnet.shad.ca/ * [EMAIL PROTECTED
a RPM-based system... check out http://rpmfind.net/ in order
to track down which package contains the file you need.
Cheers,
Richard
--
Richard Dice * Personal 416 841 7365 * Fax 416 841 7364
ShadNet Creator * http
Hi,
I have noticed that Yahoo uses Location: header only for redirect responses and
thought it may be good to save half of the bandwidth and do the same, as my particular
script/server is serving redirects mostly.
So my question is how to unset Date:, Server: and Content-Type: response
exactly you have your module coded, but just out
of curiosity, is the user seeing a 401 response code - or a 200 res-
ponse code? Or something else? If the user isn't seeing the 401
response code, there's not going to be any opportunity for him or
her to authenticate.
--
Richard Goerwitz
be-
cause the presentation of the form doesn't have much to do with
its content (content meaning the textual information on which
it's based).
Anyway, I'm just curious about forms and pipelining templating
systems generally. Does this really work? Work well?
--
Richard Goerwitz
with
namespaces, which are implemented via attributes in a horribly
kludgy way - and now we're finding new schema mechanisms entering
in, plus complex and unintuitive beasts like XSL. So I wonder just
how slick AxKit can possibly be, given its foundation in these
technologies.)
--
Richard Goerwitz
is there before I try to help.
--
Richard Goerwitz [EMAIL PROTECTED]
tel: 401 438 8978
the HTTP_USER_AGENT field deliniate between
PC's?
I've been out of town and am coming at this thread late. In case
nobody else has mentioned it, HTTP_USER_AGENT values are 1) non-
unique, and 2) often shared by applications on a single host (true
especially for Microsoft environments).
--
Richard Goerwitz
IIS to Apache and Apache::ASP, but not to port ASP/VBScript
pages. And it's not likely that the ASP code that anyone is about to give
you is ASP/PScript or ASP/PerlScript code.
Sorry.
Cheers,
Richard
--
Richard Dice
',
PerlHandler = 'HTML::Embperl',
Options = '+ExecCGI'
},
etc...
},
Directory = {
directory stuff goes here
}
}
--
Richard Goerwitz [EMAIL PROTECTED]
tel: 401 438 8978
, Why was I taken so young? I was only
forty-two! Saint Peter fumbles with his books a moment and
responds, That's funny, but according to your billing records
you're seventy three.
--
Richard Goerwitz [EMAIL PROTECTED]
tel: 401 438 8978
God put on earth to
drive a BMW and eat out every night, then you'll find you can get
along quite well charging reasonable rates. Your clients will love
you. You'll be a happy guy. And you'll help spread open-source
technology all around.
--
Richard Goerwitz
(main=0x8196ce8 main, argc=4,
ubp_av=0xb9e4, init=0x807d58c _init, fini=0x8233a40 _fini,
rtld_fini=0x4000d634 _dl_fini, stack_end=0xb9dc)
at ../sysdeps/generic/libc-start.c:129
--
Richard Goerwitz [EMAIL PROTECTED]
tel: 401 438 8978
).
--
Richard Goerwitz [EMAIL PROTECTED]
tel: 401 438 8978
1 - 100 of 185 matches
Mail list logo