Last night I removed my standard rpm of apache, and installed the latest
binary and mod perl binary. For both apache and mod perl, all standard
modules (everything) were added in. I have also installed dbi, dbd and
such.
however, when I try to run any script, even a hello world script, my
brow
Good evening all,
I've got this happy little access handler that works just fine. Now I need for
it to accept parameters through import(). The catch is that MyClass::import()
isn't being called. I've done all of the obvious stuff, like including lots of
debugging messages, reading the docs, readi
"David E. Wheeler" wrote:
>
> Hi All,
>
> Does anyone know if there is a way to get Apache::Util::ht_time() to
> correctly format times based on the time zone in $ENV{TZ}...
It does. Duh! Please ignore my spam.
David
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.
It requires PERL5OPT = "-d" and PERL5DB = "sub DB::DB {}" environment
variables set when sta
I'm sure this is not the right way , but I had this problem a while
ago, and ended up manually setting the domain of the cookie to null/undef.
I use cgi.pm to set the cookie, as follows. Note that where $q is a CGI.pm object
reference.
This is code extracted from an app framework running under
I'm sure this is not the right way , but I had this problem a while
ago, and ended up manually setting the domain of the cookie to null/undef.
I use cgi.pm to set the cookie, as follows. Note that where $q is a CGI.pm object
reference.
This is code extracted from an app framework running under
Hi All,
Does anyone know if there is a way to get Apache::Util::ht_time() to
correctly format times based on the time zone in $ENV{TZ} the way that
POSIX::strftime() does? How 'bout getting it to use the correct language
the way POSIX::setlocale() makes POSIX::strftime() format in the correct
lan
martin langhoff <[EMAIL PROTECTED]> writes:
> hi,
>
> this HTTP protocol (definition and actual implementation) question is
> making me mad. Will (and should) a cookie be valid withing the same
> host/domain/subdirectory when changing PORT numbers?
>
> All my cookies have stopped wo
According to martin langhoff:
>
> this HTTP protocol (definition and actual implementation) question is
> making me mad. Will (and should) a cookie be valid withing the same
> host/domain/subdirectory when changing PORT numbers?
I think this depends on the browser (and its version number)
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
> w
hi,
this HTTP protocol (definition and actual implementation) question is
making me mad. Will (and should) a cookie be valid withing the same
host/domain/subdirectory when changing PORT numbers?
All my cookies have stopped working as soon as I've set my mod_perl
apache on a high
> From: [EMAIL PROTECTED] (David McCabe)
> Subject: Re: Exiting a module
>
> > From: Bill Moseley <[EMAIL PROTECTED]>
> > Subject: Re: Exiting a module
> >
> > At 02:19 PM 10/19/00 -0400, David McCabe wrote:
> > >However, if I try to put an Apache::exit() at the end of my_error_prnt, I
> > get a
> -Original Message-
> From: Kralidis, Tom [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 19, 2000 3:03 PM
> To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED]
> Subject: RE: Make error...
>
>
> There's a bug in src/include/httpd.h
just to be straight, it's not a bug in Apache or mod_pe
Further search in the excellent modperl guide by Stas Bekman at
http://perl.apache.org/guide/install.html#Undefined_reference_to_PL_perl_
suggested a clue for this problem:
> This happens when you have Perl built statically linked, with no shared
libperl.a. Build a dynamically linked Perl (wit
FAQ of the week
o Using mod_perl with Apache 1.3.14 requires an upgrade to 1.24-01
(or some hacking around). Get the latest version from the mod_perl
distribution page
HTH
--Geoff
> -Original Message-
> From: Todd McGuinness [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, Octobe
There's a bug in src/include/httpd.h
Quick patch:
[root@jedi mod_perl-1.24] # cp
/usr/local/src/apache_1.3.14/src/include/httpd.h
/usr/local/src/apache_1.3.14/src/include/httpd.h.BAK
[root@jedi mod_perl-1.24] # vi +433 !$:r
#define SERVER_BASEVENDOR "Apache Group"
#define SERVER_BASEPRODUCT
Just downloaded the latest apache_1.3.14 and mod_perl-1.24 and receive an error when
trying to process the following:
perl Makefile.PL \
APACHE_PREFIX=/usr/local/apache \
APACHE_SRC=/temp/apache_1.3.14/src \
DO_HTTPD=1 \
USE_APACI=1 \
EVERYTHING=1 \
The error states that I must be using apache
On Thu, Oct 19, 2000 at 01:55:50PM -0400, Philippe M. Chiasson wrote:
> Hi, I recently upgraded our servers to mod_perl 1.24.1 so I decided to
> give DSO mod_perl a try. And it now works perfectly, even with our perl
> modules implementing core httpd configuration directives (Wich was broken
> un
> From: Bill Moseley <[EMAIL PROTECTED]>
> Date: Thu, 19 Oct 2000 11:24:23 -0700
> Subject: Re: Exiting a module
> To: [EMAIL PROTECTED] (David McCabe), [EMAIL PROTECTED]
>
> At 02:19 PM 10/19/00 -0400, David McCabe wrote:
> >However, if I try to put an Apache::exit() at the end of my_error_prnt,
At 02:19 PM 10/19/00 -0400, David McCabe wrote:
>However, if I try to put an Apache::exit() at the end of my_error_prnt, I
get a
>server error, and the error log only says "error at line 202" line 202 has
the
>Apache::exit call.
This was fixed in 1.24_01, I believe.
Bill Moseley
mailto:[EMAIL
OK, I can't find the answer to this in the docs, so I will try here.
Relevant info:
Solaris 8
(the following were all built with gcc 2.95.2 from sunfreeware.com)
perl 5.6.0
mod_perl 1.24
Apache 1.3.12
In my Module, I have an error-displaying sub, as I trap all the errors myself. My
current code
Hi, I recently upgraded our servers to mod_perl 1.24.1 so I decided to
give DSO mod_perl a try. And it now works perfectly, even with our perl
modules implementing core httpd configuration directives (Wich was broken
under DSO until 24.1)
So, I decided to start playing with restart/graceful too,
The best form based login uses Auth::Cookie. Since you're running MySQL,
you'll want to grab AuthCookieDBI.pm too. It depends how much account
information the user has. I have a page that a user can access that
displays his access levels and explains the different access levels. The
page grabs
Thanks for the tip, true $ENV{REMOTE_USER} is not set unless authenticated
:>
As for the Apache authentication, is there an alternative method of making
this happen other than the pop-up window? ie can I authenticate w/ Apache
through a form?
I thought of the form login so the script would logi
Hi,
I installed mod_perl 1.24 successfully ( the web server used is apache 1.3.9
and perl 5.004-4 ). No errors during configure, make , make test or make
install. I added the "loadmodule" and "addmodule" lines to httpd.conf. But
when I started the apache I get the following error message:
"Sta
Hi!
I have been trying to install the combination for a couple of hours
with no luck. After looking up Ken's archive, I decided to turn to the list
for the help.
I have gone exactly through the steps suggested in the apache readme file:
$ gunzip
1. Apache Authentication, using MySQL to authenticate, and use form based
webpage with perl backend to query MySQL.
2. Once the directory is secured, you know who they are at all times by
calling $ENV{REMOTE_USER}
Charles Day
IT
Symix Systems, Inc.
-Original Message-
From: Kralidi
Recent changes:
0.09 Wed Oct 18 23:36:00 2000
- Fixed a bug that added an additional tag when adding tags
- ProxyStuff now adds a tag when the document does not contain one
which should result in all pages receiving a header even if they are not
syntacticly correct
-FW: <[EM
Chris Brooks ([EMAIL PROTECTED]) said something to this effect:
> You're absolutely right, the mistake is mine.
>
> I have tried writing the config files a couple of ways:
>
>
> SetHandler cgi-script
>
>
> and
>
>
> SetHandler cgi-script
>
>
> I have not had luck in either
Hi,
I'm new to the group, and wonder if anyone would have a mod_perl (or even
CGI) suggestion:
I am writing an online application enabling users to create accounts, store
information, and having the ability to edit/update information, provided it
is under their username.
All information (users,
You're absolutely right, the mistake is mine.
I have tried writing the config files a couple of ways:
SetHandler cgi-script
and
SetHandler cgi-script
I have not had luck in either case turning off the Wrapper handler.
I did not encounter any errors in restarting the serve
* martin langhoff ([EMAIL PROTECTED]) [001019 11:51]:
> hi,
>
> after a lot of struggling, I finally set my multilayered apaches up,
> and now I find that the proxy is eating my cookies along the way...
> HEELP!
>
> I am proxying through mod_rewrite co
Hi All
I have a rather elementary setup
[apache(1.3.12)/mod_perl(1.24)/perl(5.6.0)/rhat(6.1)] which allows user to
request reports. My mod_perl handler retrieves the data from db2 and
generates either a text or a pdf-based report which is written out to a
file. The object that generates the repor
On Thu, 19 Oct 2000, Tim Sweetman wrote:
> Matt Sergeant wrote:
> >
> > On Thu, 19 Oct 2000, Tim Sweetman wrote:
> >
> > > It's even worse than that! 10:30pm on a Sunday...
> >
> > OK, then we have to head back to the Hilton (hotel bars are still allowed
> > to be open late, right?)
>
> Hmm,
Matt Sergeant wrote:
>
> On Thu, 19 Oct 2000, Tim Sweetman wrote:
>
> > It's even worse than that! 10:30pm on a Sunday...
>
> OK, then we have to head back to the Hilton (hotel bars are still allowed
> to be open late, right?)
Hmm, not 100% on this one, but believe that hotel bars are only all
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. Thankfully, this is actually a traditional English
hi,
after a lot of struggling, I finally set my multilayered apaches up,
and now I find that the proxy is eating my cookies along the way...
HEELP!
I am proxying through mod_rewrite commands, if that actually makes a
difference ...
martin
On Thu, 19 Oct 2000, Tim Sweetman wrote:
> It's even worse than that! 10:30pm on a Sunday...
OK, then we have to head back to the Hilton (hotel bars are still allowed
to be open late, right?)
Of course my talk is on the Monday, maybe 10:30 would be a good
thing. (what am I thinking!)...
>
>
It's even worse than that! 10:30pm on a Sunday...
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 st
The URL
http://morpheus.laserlink.net/~gyoung/modules/Apache-DebugInfo-0.05.tar.gz
has entered CPAN as
file: $CPAN/authors/id/G/GE/GEOFF/Apache-DebugInfo-0.05.tar.gz
size: 9882 bytes
md5: c02c9f2cd84a9e0629812ab717a36463
Apache::DebugInfo provides a per-server, per-directory, or OO in
Chris Brooks ([EMAIL PROTECTED]) said something to this effect:
> I tried setting the PerlHandler back to cgi-script (in the lower-level directory),
> but that did not turn the Wrapper handler off:
>
That should probably be Directory. As written, it will do this for
http://www.yourdo
Good morning all,
I have a couple of perl handlers (AccessHandler and Wrapper) running at the document
root of my mod_perl server. I need to turn one of those handlers off in a lower
level directory, but keep the other one running.
Here's the relevant text from Apache's config file:
PerlF
Hi,
Earlier I posted a message on finding the value of 'keepalive' (defined
in httpd.conf), for an individual request. Since I did not get a
response I'm trying from a different angle. I am lead developer for a
web application running on Stronghold/2.4.2 Apache/1.3.6 C2NetEU/2412
(Unix) mod_per
> -Original Message-
> From: cbell [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 18, 2000 3:00 PM
> To: [EMAIL PROTECTED]
> Subject: Mod_perl, DBI, and Postgres install procedures...
>
>
> Does anyone have a set of procedures to install Mod_perl, Apache,
> Postgres, DBI, DBI.pm
> -Original Message-
> From: Michael J Schout [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 18, 2000 2:54 PM
> To: [EMAIL PROTECTED]
> Subject: Re: possible bug in mod_perl 1.24_01
>
>
> I should also have mentioned:
>
> I am using perl 5.6.0, Linux 2.2.x
I have the same conf
Matt Sergeant wrote:
> Its only insecure if you don't use sysopen($fh, $newname, O_RDWR | O_EXCL
> | O_CREAT) (and then get a new filename if that failed 'cos the file
> existed).
Well, then at least the subroutines mkstempt and mkstemp are insecure,
since they call (funny, the comment below is b
On Thu, 19 Oct 2000, Alexander Farber (EED) wrote:
> Matt Sergeant wrote:
> > Not multiple times, but let them upload and store in a temp file, which
> > you can store the filename as a hidden field. Use File::MkTemp to create
> > the filenames.
>
> Thanks for the advice, but doesn't File::MkTem
Matt Sergeant wrote:
> Not multiple times, but let them upload and store in a temp file, which
> you can store the filename as a hidden field. Use File::MkTemp to create
> the filenames.
Thanks for the advice, but doesn't File::MkTemp have a race condition?
The subroutine File::MkTemp::mktemp do
Matt Sergeant wrote:
>
> On Thu, 19 Oct 2000, Alexander Farber (EED) wrote:
>
> > How do you handle uploading files when using multi-paged
> > forms (for example entered text and a picture are previewed
> > before storing into the database and special directory)?
> >
> > Uploaded files can't be
Hi
I know that one is supposed to use a plain httpd or possibly thttpd
for delivering static content like images.
That is however a problem if the images itself are subject to protection.
One option is basic atuhentication, but than the user/password goes to the
server for every image to G
On Thu, 19 Oct 2000, Alexander Farber (EED) wrote:
> How do you handle uploading files when using multi-paged
> forms (for example entered text and a picture are previewed
> before storing into the database and special directory)?
>
> Uploaded files can't be passed as hidden fields, right?
> So
How do you handle uploading files when using multi-paged
forms (for example entered text and a picture are previewed
before storing into the database and special directory)?
Uploaded files can't be passed as hidden fields, right?
So do you let your users to upload the same file several
times and
On Wed, 18 Oct 2000, Perrin Harkins wrote:
> Gunther Birznieks wrote:
> >
> > Just wondering who all from mod_perl is going to ApacheCon/Europe next week
> > and are there any plans to get together like there was at PerlCon.
>
> I'm going to be there. Some kind of get together would be cool.
53 matches
Mail list logo