You're exposing your username/password you're using to connect to your
DBMS to public.
Those messages are there because $Apache::DBI::DEBUG is set.
Rgds,
Edwin.
Sam Park wrote:
>
> Anybody knows why I'm getting this messages...???
> 5744 Pinging 'prodcrank.excite.com~crank~crank~RaiseError=1'
Anybody knows why I'm getting this messages...???
5744 Pinging 'prodcrank.excite.com~crank~crank~RaiseError=1'
5744 Apache::DBI already connected to
'prodcrank.excite.com~crank~crank~RaiseErr
or=1'
5744 Pinging 'prodcrank.excite.com~crank~crank~RaiseError=1'
5744 Apache::DBI already connected to
'
Hi
( 00.09.28 17:29 -0500 ) Philip Molter:
> Recently, one of my co-employees has been messing around with Zope
> (http://www.zope.org) and I was wondering if there's a package that
> provides similar functionality using mod_perl and Apache rather
> than its own web server.
That would be mason
h
I'm writing a perl trans handler to invoke mod_proxy for non-proxy
requests.
Stronghold 3 on Solaris 2.6, server announces:
Stronghold/3.0 Apache/1.3.12 C2NetEU/3011 (Unix) PHP/3.0.16
mod_ssl/2.6.4 OpenSSL/0.9.5a mod_perl/1.22
I'm essentially using the code from page 371 of the Eagle book witho
On Thu, 28 Sep 2000, Doug MacEachern wrote:
> On Tue, 26 Sep 2000, Keith G. Murphy wrote:
>
> > I'm running Apache 1.3.9 with mod_perl embedded, on Debian GNU/Linux.
> >
> > I have the following lines towards the end of my httpd.conf:
> >
> > PerlSetEnv PERL5LIB /usr/local/MyPerl/lib
> > PerlR
Okay...I have not used that before but I will definitely take a look at it.
Thanks...Allen..
Reply Separator
Subject:RE: Remote Hosting
Author: [EMAIL PROTECTED]
Date: 9/26/00 5:06 PM
Take a look at Apache::ProxyStuff. It may do exactly what you
On Thu, 28 Sep 2000, Philip Molter wrote:
> Recently, one of my co-employees has been messing around with Zope
> (http://www.zope.org) and I was wondering if there's a package that
> provides similar functionality using mod_perl and Apache rather than
> its own web server. Specically, what I want
At 01:43 PM 09/28/00 -0700, Doug MacEachern wrote:
>On Thu, 28 Sep 2000, Bill Moseley wrote:
>
>> Is there a way to make that message go away?
>
>maybe if you can give me a small example that reproduces the message. it
>works fine for me:
package My::Hello;
use strict;
use Apache::Constants qw(
Recently, one of my co-employees has been messing around with Zope
(http://www.zope.org) and I was wondering if there's a package that
provides similar functionality using mod_perl and Apache rather
than its own web server. Specically, what I want to do is define
template web objects that can be
"Lang, Cliff" <[EMAIL PROTECTED]> writes:
[...]
> request : www.mysite.com/userdir/index.html When this request comes in and
> based on some settings in the authen-db, we need to generate not only the
> data from index.html, but also send the file www.mysite.com/core/info.html
> which would be
We are looking for experienced mod_perl programmers for a large web
application project. Startup environment, lots of autonomy, good $$.
Other desired skills: Perl/XS, C, C++, database experience.
The job is on-site, and we're in Dearborn, Michigan.
If anyone's interested, please contact me at
Slightly off topic but I think interesting. If this have been covered
sometime before about 4 months ago please point me there.
I've taken on the support of a website that was designed as a student
project. To make them feel warm and fuzzy the site was done using Windows
NT, MS IIS, SQL Server
I am using mod_proxy_add_forward to get the correct IP address from the proxy
server, as described in the guide. On my back-end mod_perl server, I want to
limit access only to requests coming from the proxy server. I can't use simple
IP-based access control via mod_access because PerlPostReadReq
Todd Chapman <[EMAIL PROTECTED]> writes:
> Duh! Thanks.
>
> Now, is there any way to determine the realm the browser thinks it's
> authentication to? Is the realm stored in the Authorization header or any
> other headers?
>
I wouldn't try to use realms in any serious way- various browsers
do v
> what is your test client?
I wrote a command line client that just sends/receives basic messages for testing.
I have been opening a socket and sending this:
GET /perl/myscript HTTP/1.1
Connection: Keep-Alive
Host: myhost.mydomain.com\n\n
It worked as expected - I was able to keep the socket op
No... that opens a handle to ehir INPUT
output is
open(OUT, "magic_open |");
Or you could just slurp in a string with
$_ = `normal_open`;
>-Original Message-
>From: Vsevolod Ilyushchenko [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, September 28, 2000 5:17 PM
>To: Doug MacEachern
>Cc: [E
> > Why does this script give no output under mod_perl, but works fine from the
>command line:
> >
> > #!/usr/bin/perl -w
> >
> > use CGI;
> >
> > print CGI->header();
> >
> > open (AAA, ">-");
>
> because the C level stdout is not hooked up to the client. you can do
> this as an alternative:
>
On Mon, 17 Jul 2000, Ken Williams wrote:
> Hi all,
>
> Here's a resend of the Apache::test patch that I sent yesterday, this time
> sent as type text/plain from a Unix mailer. Rick Myers noted that the
> version I sent before was encoded with Macintosh BinHex, which is probably
> not the most a
try DIR => []
On Wed, 27 Sep 2000, B. Burke wrote:
> When I set PerlSendHeader to Off in my perl.conf it doesn't send headers,
> which
> is good. The bad part is that it seems to break socket persistence for some
> reason.
> When I have PerlSendHeader set to On, I can open a socket with my test client,
>
> a
On Thu, 28 Sep 2000, Vsevolod Ilyushchenko wrote:
> Hi,
>
> Why does this script give no output under mod_perl, but works fine from the command
>line:
>
> #!/usr/bin/perl -w
>
> use CGI;
>
> print CGI->header();
>
> open (AAA, ">-");
because the C level stdout is not hooked up to the clien
On Thu, 28 Sep 2000, Bill Moseley wrote:
> Is there a way to make that message go away?
maybe if you can give me a small example that reproduces the message. it
works fine for me:
shift->send_http_header;
print "hi\n";
exit;
print "bye\n";
nothing in the error_log.
actually, the patch be
Duh! Thanks.
Now, is there any way to determine the realm the browser thinks it's
authentication to? Is the realm stored in the Authorization header or any
other headers?
-Todd
On Thu, 28 Sep 2000, Doug MacEachern wrote:
> On Thu, 28 Sep 2000, Todd Chapman wrote:
>
> >
> > Thanks Doug but I
Hello
I am trying to develop for the first time a perl module. It should work on a
server with mod_perl. The objects are not using mod_perl ($r) and are just
solving some of my work in a nicer way. Since I'm new in OOP on perl (I only
know C++) I would hear from some experts that the following
how about using mod_so's LoadFile directive?
On Thu, 28 Sep 2000, Rajit Singh wrote:
> To Whom It May Concern,
>
> I have a question with regards using LD_PRELOAD (or something more appropriate) to
>load libiconv_plug.so and override any other iconv implementation. (Would be
>grateful is som
On Thu, 24 Aug 2000, Ken Williams wrote:
> Hi all,
>
> It looks like setting Apache->request($r) doesn't work as documented. I
> can't get it to install a subclass of Apache as the request object.
>
> Here's some code in a handler:
> _
>
With Apache 1.3, mod_perl 1.21
How can I gererate multiple pages returned from one request? I don't see
how to create the multi-part return, when the data comes from multiple
static files:
eg.
request : www.mysite.com/userdir/index.html When this request comes in and
based on some settings
On Fri, 25 Aug 2000, Ken Williams wrote:
ken, you're right, has-a relationship is the right way to go. your patch
is perfect, applied, thanks!! i guess this will break some things, like
Apache::RegistryLexInfo, but changes should be minimal and
RegistryNG/PerlRun is still considered experimenta
To Whom It May Concern,
I have a question with regards using LD_PRELOAD (or something more appropriate) to
load libiconv_plug.so and override any other iconv implementation. (Would be grateful
is someone can help).
I'm running Apache with mod_perl 1.24 on Solaris 2.6. I'm using XML::Sablotro
At 01:25 PM 04/20/00 -0700, Doug MacEachern wrote:
>On Wed, 12 Apr 2000 [EMAIL PROTECTED] wrote:
>
>> Hi All,
...
>> [Mon Apr 10 22:27:01 2000] [error] at
>> /usr/lib/perl5/site_perl/5.005/i386-linux/Apache/SIG.pm line 31.
>>
>> Line 31 is Apache::exit($s);
>
>Apache::exit() calls die() undernea
On 28 Sep 2000, Bjørn Ola Smievoll wrote:
> [Sorry for being so verbose, hope somebody still have the time and
> patience to read it all].
>
> I have a setup where a PerlTransHandler registers a PerlContentHandler
> based simply on whether $r->uri ends with '.html' or not. The
> TransHandler do
On Tue, 26 Sep 2000, Shane Adams wrote:
> Well I did a little more investigation - it seems that we are dieing in
> Expat.pm line 451. The offending Function is:
...
is this something you can reproduce at will? if you can give me a tiny
test case that i can drop and i run, i'll take a look.
>
On Thu, 28 Sep 2000, Todd Chapman wrote:
>
> Thanks Doug but I (and my customer) don't want to live on the CVS bleeding
> edge right now. Can you suggest something else?
yeah, add this to httpd.conf:
AuthType Basic
On Tue, 29 Aug 2000, Lyle D. Brooks wrote:
> This is my first time posting to this list, so forgive me
> if this question has been asked before (I did not see it in
> the archives or in the mod_perl guide).
>
> Apache::Status seems like a nice module, but I don't understand
> what the Memory usa
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.
This is on SunOS (SunOS Release 5.6 Version Generic_105181-17 [UNIX(R)
System V Release 4.0]), and I know v
On Thu, 28 Sep 2000, Michael J Schout wrote:
> On Wed, 16 Aug 2000, Matt Sergeant wrote:
>
> > On Tue, 15 Aug 2000, Mark D. Anderson wrote:
> >
> > > The problem was the symbol conflict between XML::Parser and apache when
> > > built with expat. This has been apparently known for over a year, b
On Wed, 27 Sep 2000, Keith G. Murphy wrote:
> Upon further investigation, what I am seeing is that PERL5LIB gets
> passed into %ENV just fine. It's just not being used to locate modules;
> it is not in @INC. Could the part of Perl that pushes the PERL5LIB
> setting to @INC have already execute
On Tue, 26 Sep 2000, Keith G. Murphy wrote:
> I'm running Apache 1.3.9 with mod_perl embedded, on Debian GNU/Linux.
>
> I have the following lines towards the end of my httpd.conf:
>
> PerlSetEnv PERL5LIB /usr/local/MyPerl/lib
> PerlRequire startup.pl
> Include perllocs.conf
>
> However, upon
On Tue, 26 Sep 2000, Dhananjay Naniwadekar wrote:
>
> I am trying to install perl-5.6.0 on hpux.
> It is choosing cc as the c compiler. I don't know why. If I install an
> earlier version
> of perl, it chooses gcc.
> I have an env-variable named CC which is set to gcc .
try Configure -Dcc=gcc
On Tue, 26 Sep 2000, Ricardo Stella wrote:
> Solaris 2.8
> Apache 1.3.12
> GCC 2.95.2
> Perl 5.6.0
> Enterprise 250 (64bitish)
> Modperl 1.24
>
> I can't get modperl compiled as a DSO neither via the 'flexible-method'
> nor the APXS method.
>
> The first method, seg faults.
>
> The second meth
On Tue, 26 Sep 2000, Herrington, Jack wrote:
> I'm using Mason in process with mod_perl. I have also tried using mod_perl
> handlers direct with Apache::Request with no success.
what do you see if you configure Apache::Status and open the url:
/perl-status?Apache::Request
?
also, any differen
On Thu, 21 Sep 2000, Chris Downes-Ward wrote:
> Dear all,
>
> We have a server which has a virtual server on it, this virtual server has a
> number of locations, one of which has a
> perl access handler defined, this server is a development server and is not
> heavily loaded. Every now and then
On Wed, 20 Sep 2000 [EMAIL PROTECTED] wrote:
> PerlFreshRestartOn
try turning that Off. does DBI/DBD::mysql work for you without
Tie::DBI?
On Fri, 15 Sep 2000, [iso-8859-1] François Chenais wrote:
> Hello
>
> Using perl 5.6.0
> apache_1.3.9
>
> I 'm trying to build DSO mod_perl.1.24
>
> => perl Makefile.PL USE_DSO=1 EVERYTHING=1 PERL_DEBUG=1
>
> All is ok but "make test" says :
>
> -
Thanks Doug but I (and my customer) don't want to live on the CVS bleeding
edge right now. Can you suggest something else?
Original problem:
I need to set the realm for virtual documents based on path_info and use
Basic authentication. Otherwise I may have to move to some cooie based
authentica
On Thu, 28 Sep 2000, Carlos Ramirez wrote:
> $r->auth_name($realm), $r->auth_type($basic) did not work for me, which
> is why I used the $r->header_out method. Also, after I set the outgoing
> header and returned AUTH_REQUIRED, I got prompted but the $realm did not
> show. Instead it displayed 'u
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
On Thu, 28 Sep 2000, John Reid wrote:
> The problem I am facing is with our database definition files. These are
> custom files which are required at run time. The file consists of a long
> series of subroutine calls with arguments that refer to the definitions
> of fields, tables, etc. They are u
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 ge
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";
> Apache:
> > The subroutine is there (it executes in the first time). If I keep
> > trying to reload the page, sometimes it works, sometimes it doesn't.
> > The same error happens to other scripts, with different subroutines
> > being called, but never happens if I run them from the command line
> > (wit
On Wed, 16 Aug 2000, Matt Sergeant wrote:
> On Tue, 15 Aug 2000, Mark D. Anderson wrote:
>
> > The problem was the symbol conflict between XML::Parser and apache when
> > built with expat. This has been apparently known for over a year, but has
> > still not been fixed last i checked, presumably
> -Original Message-
> From: Paulo Narciso Filho [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 28, 2000 12:23 PM
> To: [EMAIL PROTECTED]
> Subject: Undefined subroutine error (only now and then)
>
>
> I'm using Apache and mod_perl to develop a dynamic web site. When I
> execu
$r->auth_name($realm), $r->auth_type($basic) did not work for me, which
is why I used the $r->header_out method. Also, after I set the outgoing
header and returned AUTH_REQUIRED, I got prompted but the $realm did not
show. Instead it displayed 'unknown' as the realm name. But when I set
the $r->s
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,
>j
I'm using Apache and mod_perl to develop a dynamic web site. When I
execute a specific script for the first time (after restarting
Apache, for instance), it always works. If I reload the page, I
(sometimes) get the following message in my apache error log:
[error] Undefined subroutine &Apache::
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(
Hi,
Why does this script give no output under mod_perl, but works fine from the command
line:
#!/usr/bin/perl -w
use CGI;
print CGI->header();
open (AAA, ">-");
print AAA "Test string";
close AAA;
The directory where the script lives is configured as:
AllowOverride None
Order all
It has promise but needs someone to polish it up.
(I didn't write it and have barely looked at the code.)
Tim.
On Tue, Sep 19, 2000 at 12:50:57PM -0700, Tom Lancaster wrote:
> I know, seems promising, doesn't it, especially after the overview in
> the DBI book. On the other hand, you can do most
Sorry I don't have much in the way of details, but we had this problem several months
ago (probably in a previous version of mod_perl), but it silently went away.
(I'm reminded of it because recently I was reviewing the handler() of our recently
open-sourced embedded parser, Apache::XPP, and fou
Thanks for the help Doug. This is what I have now but all I get is a
segementation fault in the log.
Any ideas?
-Todd
package Apache::SetRealm;
## Usage: PerlHeaderParserHandler Apache::SetRealm
use strict;
use Apache::Constants qw(:common);
sub handler {
my $r = shift;
# find the n
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
> understan
Thanks...
as It turns out I had to use both a BEGIN{} to set the variables and an
eval{} around the use (don't ask, it's some rather ugly stuff...).
autouse wasn't quite whta I needed (the module I'm using contains no
functions, just a big hash)
>-Original Message-
>From: David Mitchell
> From: Jerrad Pierce <[EMAIL PROTECTED]>
> Is there anyway to fool perl into letting you do a:
>
> use Foo ($bar, 'baz', 'quux');
'use' lines are executed very early on during script loading:
use Foo x y z
is roughly equivalent to
BEGIN { require Foo; import Foo x y z
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 Thu, 28 Sep 2000, Jerrad Pierce wrote:
> Is there anyway to fool perl into letting you do a:
> use Foo ($bar, 'baz', 'quux');
> ??
> Foo is only getting 'baz' and 'quux', the value of $bar is lost in the
> ether.
> I have tried many ways of trying to sneak it past but none seems to work...
use
Hello,
I have started a free auction system project at http://www.apartia.org
which is closely tied to mod_perl/Mason and PostgreSQL.
The Apartia project already supports all main types of auctions:
classic, dutch, decreasing price, fixed, bids.
Latest features added are:
- seller, bidder, wa
Is there anyway to fool perl into letting you do a:
use Foo ($bar, 'baz', 'quux');
??
Foo is only getting 'baz' and 'quux', the value of $bar is lost in the
ether.
I have tried many ways of trying to sneak it past but none seems to work...
Thanks
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
> 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 the dynamical
Bjørn Ola Smievoll ([EMAIL PROTECTED]) said something to this effect:
> [Sorry for being so verbose, hope somebody still have the time and
> patience to read it all].
>
> I have a setup where a PerlTransHandler registers a PerlContentHandler
> based simply on whether $r->uri ends with '.html' or
John Reid ([EMAIL PROTECTED]) said something to this effect:
> Hi Guys
*snip*
> server start. I experimented with IPC::Shareable, but when I attempted
> to do anything with it in my startup.pl file it segfaulted the server
> and httpd would not start.
Hi John,
If IPC::Sharable is failing for y
[Sorry for being so verbose, hope somebody still have the time and
patience to read it all].
I have a setup where a PerlTransHandler registers a PerlContentHandler
based simply on whether $r->uri ends with '.html' or not. The
TransHandler does no verifying of the existence of the file, that
does
72 matches
Mail list logo