erl -V' and the path to Cwd.pm is
there:
@INC:
C:/Perl/lib
C:/Perl/site/lib
.
but it only seems to actually be looking at the current directory. Not sure
what to do next, or where to change these paths. I'm wondering if I need \s
instead of /s?
thanks for any help?
will
On Thu, Feb 28, 2002 at 03:59:05PM -0800, Wim Kerkhoff wrote:
> will trillich wrote:
> >
> > is there a sane implementation of webmail-style mod_perl
> > modules for apache?
>
> Are you needing any specific functionality?
>
> sparkle (a rewrite of acmemail) w
is there a sane implementation of webmail-style mod_perl
modules for apache?
we're looking to offer email access online through
apache/mod_perl similar to what folks get at yahoo/egroups --
and we're hoping to find some mod_perl code that'll hook into
pop/imap email servers. (and we're hoping to
common Apache configurations such as
Apache+SSL+mod_perl+PHP...etc... It went a long way towards alleviating my
confusion when I first started working with Apache.
Will
- Original Message -
From: "Paul Lindner" <[EMAIL PROTECTED]>
To: "Ged Haywood" <[EMAIL
On Tue, Jan 08, 2002 at 11:01:43AM -0500, Robert Landrum wrote:
> --
> When I used a Mac, they laughed because I had no command prompt. When
> I used Linux, they laughed because I had no GUI.
aha. the mac now has a cli (osX) and linux has had a gui for
quite some time (x)... :)
--
The only v
y'all seem to have some clever brains out here, so i'm wondering
if some of you can offer suggestions--
what's a good clean way to keep images private per customer?
i'm using mod_perl and HTML::Mason with session cookies, but
coming up with a paradigm for storing and revealing images
privately h
On Mon, Sep 10, 2001 at 04:02:04PM -0400, Perrin Harkins wrote:
> > i've seen discussion at perl.apache.org/guide about having a
> > hefty mod_perl server with a lightweight server proxying
> > the heavy-lifting requests to the mod_perl server (same machine,
> > different machine).
> >
> > can thi
i've seen discussion at perl.apache.org/guide about having a
hefty mod_perl server with a lightweight server proxying
the heavy-lifting requests to the mod_perl server (same machine,
different machine).
can this be done with mod_ssl and mod_perl?
internet firewall mod_ssl backend mod_perl
---
th IndigoPerl: it comes as a bundle with
apache and mod_perl and installs everything for you at once.
http://www.indigostar.com/indigoperl.htm
i've never used it, though...
will
i didn't run into this until munging code via mod_perl and
postgresql, so i figured this was a good place to ask a
perl-generic question--if not, please point the way:
print scalar localtime -123456789;
"Tue Feb 1 20:26:51 1966"
print scalar localtime -1234567890
On Wed, Aug 01, 2001 at 12:15:53AM -0700, Perrin Harkins wrote:
> http://perl.apache.org/features/tmpl-cmp.html
>
> The article "Choosing a Templating System" is now available at the above
> URL. This is the same material I presented at the O'Reilly conference,
> but a bit less rushed. It gives
On Tue, Jul 31, 2001 at 07:52:13PM +0300, raptor wrote:
> script.pl
> ===
> use Helper;
> my $callbackFunc = \&Helper::func;
> my $obj = new BigOne ( vals => $callbackFunc);
>
> BigOne.pm
> ==
> my $vals = shift;
>
> if (ref $vals eq 'CODE') {
>...
> my $kv =
On Sat, Aug 04, 2001 at 09:32:43PM +0530, Mithun Bhattacharya wrote:
> Shakes his head and hopes you will someday get enlightened as to the
> purpose of CPAN.
>
>
> > CPAN is great for red hat users (for example) who don't mind breaking things
let's not co
On Fri, Jul 27, 2001 at 04:04:54PM -0700, Jeffrey W. Baker wrote:
>
>
> On Fri, 27 Jul 2001, Greg Lontok wrote:
>
> > hello,
> >
> > I recently changed a username/password check script to mod_perl, however
> > when under mod_perl, I noticed that failed logins with the correct username
> > and p
On Thu, Jul 26, 2001 at 07:48:14AM -0600, Castellon, Francisco wrote:
> Does anyone know if Apache::DBI is included with mod_perl? if not
> could someone tell me where i could get it from?
if you're using DEBIAN, you find it like this:
$ dpkg -S Apache::DBI
libapache-dbi-perl: /usr
"Randal L. Schwartz" wrote:
>
> >>>>> "will" == will trillich <[EMAIL PROTECTED]> writes:
>
> will> http://perl.apache.org/guide/config.html mentions this type of
> will> thing in passing, but surely there's an in-depth
>
On Tue, Jul 17, 2001 at 09:42:00PM +0200, Gerald Richter wrote:
> > mod_perl as a DSO; can someone point me in the right direction to get the
> > other modules loaded or what I didn't do that I needed to do to make the
> > active?
> >
>
> Put a
>
> PerlModule Apache::Cookie
> PerlModule Apache:
this almost works. but i can't find the docs explaining why not:
#httpd.conf
use HTML::Mason::ApacheHandler ();
use Apache::Constants ();
require '/var/www/mtinker/mason.pl';
$VirtualHost{"127.0.0.1"} = [
{
DocumentRoot => '/var/www',
Alias => '/icons/ /usr/share/apache/i
On Wed, Jun 27, 2001 at 10:59:16AM -0700, Rob Bloodgood wrote:
> > me, on the other hand, i don't see the problem with
> >
> > on incoming request
> > if has-cookie 'session'
> > {
> > update serverside 'accesstime' for session[this] to NOW
>
- Forwarded message from will trillich <[EMAIL PROTECTED]> -
From: will trillich <[EMAIL PROTECTED]>
Date: Tue, 1 May 2001 21:58:41 -0500
To: [EMAIL PROTECTED]
Subject: OT -- setting httpd cookies
Pointers welcome, of course, to which FM i should R:
In setting cookie
On Mon, Jun 25, 2001 at 04:54:59PM -0700, Rob Bloodgood wrote:
> > > maybe storing 'last-access-time' on the server, instead of in
> > > the client-side, via cookie, would solve this snafu?
> >
> > But if you want to give out a new cookie on every request ?
> > How would you prevent them from copy
On Tue, Jun 26, 2001 at 01:06:06AM -0400, Brooklyn Linux Solutions CEO wrote:
>
> I've given Filter and SSI a shot according to the perldocs.
>
> It didn't work. I stated to hhack on some of the problems, which first involved
> in the make install depositing them in the wrong diretory, and then
On Wed, Jun 27, 2001 at 08:52:10AM -0500, Adekunle Olonoh wrote:
>
> > I found it, quite be accident in the Eagle Book
> >
> > Lost the page number, but it was in Chapter 4.
>
> There's some discussion in the last paragraph of page 86.
>
>
> > anybody got a more specific pointer to help us
On Tue, Jun 26, 2001 at 01:00:00AM -0400, Brooklyn Linux Solutions CEO wrote:
> I found it, quite be accident in the Eagle Book
>
> Lost the page number, but it was in Chapter 4.
i know i ran across something like that at once time myself, but
scanning chapter 4 for twenty minutes didn't find it
On Fri, Jun 22, 2001 at 12:32:28PM -0700, Doug MacEachern wrote:
> quoting his email:
> "The cookie records, in part, the time of the last access to
> the site. Therefore for each access the cookie is updated."
>
> that to me sounds like a header "which may have changed independently of
> the
Brooklyn Linux Solutions CEO wrote:
>
> One thing that is not clear in my mind is the type of
> page which is sent back with a directory index.
>
> A directory index is of what mime type?
i'm sure it's documented somewhere -- but mime
types are main/secondary (text/html, image/gif)
and the dire
On Sat, Jun 23, 2001 at 11:10:07PM -0400, Brooklyn Linux Solutions CEO wrote:
>
> I've been working on a mod_perl implimentation which
> does the following.
...
> I have something like this running on the top directory:
>
>
> sub handler{
> my $r = shift;
> return DECLINED if ($r
On Tue, Jun 19, 2001 at 10:38:01AM -0700, Alan E. Derhaag wrote:
> "Christian Heiss" <[EMAIL PROTECTED]> writes:
>
> > Hi,
> >
> > I'm using Apache::AuthDBI to verifying the users on my web site.
> > then I put it in the database with:
> >
>-
On Mon, Jun 18, 2001 at 07:18:56AM +0200, Per Einar wrote:
>
> - Original Message -
> From: "will trillich" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, June 18, 2001 7:09 AM
> Subject: Re: CGI::Cookie vs Apache::Cookie -- help?
On Sun, Jun 17, 2001 at 11:14:23PM -0400, Chris Winters wrote:
> * will trillich ([EMAIL PROTECTED]) [010617 23:04]:
> > $r->log_error( qq(...id=$ID, sending cookie) );
--this outputs the string i'm hoping for, into the log file.
> > my $cookie =
> >
On Wed, Jun 13, 2001 at 06:57:45AM +0800, Gunther Birznieks wrote:
> My experience is that architecturally Perl cannot handle this. You should
> switch to Java and use an Enterprise Java Bean to do all this for you.
you must have an interesting sense of humor.
--
I figure: if a man's gonna gam
On Sat, Jun 16, 2001 at 12:58:14AM +0200, Nenad wrote:
> package Apache::PermanentTicketRenewer
> my Counter;
> sub handler {
> my $r = shift;
>
> $Counter += 1;
> my $cookie = CGI::Cookie->new(-name => 'Ticket',
> -path => '/',
>
On Sun, Jun 10, 2001 at 10:36:17PM +0800, Gunther Birznieks wrote:
> At 08:59 AM 6/8/2001 -0500, will trillich wrote:
> >which of the existing paradigms will the widget farm most
> >closely resemble? and what are your expectations for tradeoff in
> >functionality/modularity-v
e is usually a date field. But
> in a form, it might be a combination of 3 form fields (dropdown for month,
> year and day separately).
which of the existing paradigms will the widget farm most
closely resemble? and what are your expectations for tradeoff in
functionality/modularity-vs-perf
On Thu, Jun 07, 2001 at 06:48:38AM +0200, Gerald Richter wrote:
> > regarding the tools that dovetail into the mod_perl paradigm,
> > who's got a comparison over relative performance (and other
> > strengths/weaknesses) of various templating methods?
>
> There are various discussions on the mod_p
On Fri, Jun 08, 2001 at 10:49:39AM +0800, Stas Bekman wrote:
> This is your "ultimate" answer :) :
>
> Choosing a Templating System.
> http://conferences.oreillynet.com/cs/os2001/view/e_sess/1263
>
> Hopefully Perrin will release his paper close to the conferen
okay -- there's code (mod_perl modules) and there's html, and we
should keep them separate -- which gives rise to templates...
i've heard of
Apache::PageKit
Apache::Template
AxKit
eXtropia?
HTML::Mason
HTML::Embperl
HTML::Template
On Tue, Jun 05, 2001 at 01:50:47PM -0400, Brian Reichert wrote:
> I hope I'm not barking up the wrong tree, but I could not find this
> in the archive.
>
> I could have _sworn_ that within the last several weeks, someone
> had posted here a URL to a document that described, in a handy way,
> info
On Tue, Jun 05, 2001 at 04:30:47PM -0700, Randy J. Ray wrote:
> Are there any CPAN modules for Apache that are examples of writing a method
> handler? The docs in the manpage, the book, and the mod_perl guide are
> pretty much all the same (brief) text. A good example would help a great
> deal. Th
e "1234567"? And what does mean 0 after all?
> Is there a way to cut off the line with number "1" and cut off the line with number
>"0"?
> I need only line "1234567" in response! It is vital for me!
>
>
> Now look what will
Hi Emma,
I've gotten this error every time I've run the test for this version of
AuthCookie -- but upon installation it works fine.
Will
- Original Message -
From: "Emma Wermström (EMW)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May
On Wed, May 16, 2001 at 01:39:45PM -0400, barries wrote:
> On Wed, May 16, 2001 at 12:07:28PM -0400, Vivek Khera wrote:
> >
> > I don't think location takes a glob pattern.
>
> A nit: it can. , and can all take
> shell-like globs using ?, *, and []/[!...]/[^...] operators, looks like.
> No equ
On Wed, May 16, 2001 at 07:13:22AM +0200, Bjoern wrote:
> i want to define a global variable which is also present in subroutines
> coded in
> extra perl modules.
> I tried this "our $test;" but amod_perl tells me following "Global
> symbol "$test" requires explicit package name" I know, this is
On Thu, May 10, 2001 at 11:50:31PM -0600, Mark Holt wrote:
> parsing the .htaccess files is what I'm trying to avoid. I want the standard apache
> module to do that. I just want to control *when*.
have you considered breaking up the apache instances, maybe?
might be a bad idea, but i thot i'd s
On Wed, May 09, 2001 at 10:10:19AM -0500, John Saylor wrote:
> Perhaps this is obvious, or said somewhere that I haven't looked; but
> I'm having trouble figuring it out.
it feels like "everything is obvious to everyone but me" doesn't
it? :)
> What I want is for a certain directory tree to be b
tRoot = '/www/httpd/html/%-3';
> > }
> > 1;
> >
> >
> Your problem is that this code is evaluated at startup-time, not request-time.
> So this means it will be run once globally, the regexp won't match and you just
> config
On Fri, May 04, 2001 at 12:29:30AM -0500, Ken Williams wrote:
> [EMAIL PROTECTED] (will trillich) wrote:
> > >sub search {
> > >#
> > >{
> > >use CGI qw/:standard/;
> > >
days. For that, I recommend "Zen and the Art of
> Motorcycle Maintenance".
a very good read, that.
> [EMAIL PROTECTED] (will trillich) wrote:
> >okay, here was the problem.
> >
> >package My::Debacle;
> >
> >sub search {
> &g
On Thu, May 03, 2001 at 01:19:45AM -0500, will trillich wrote:
> On Thu, May 03, 2001 at 12:29:53AM -0500, will trillich wrote:
> > long version--
> >
> > I have a subroutine that IS DEFINED, but it's not showing up as
> > defined. I used the *Symbol::Table::name{
On Thu, May 03, 2001 at 12:54:46PM +0200, Jonas Nordstr?m wrote:
> How can I copy cookies from an incoming request to a LWP-request and also
> add a custom cookie? Can I use HTTP::Cookies?
>
> I use:
> $request->header('Cookie' => $r->header_in("Cookie"));
> and it works fine, but now I want to
On Thu, May 03, 2001 at 12:29:53AM -0500, will trillich wrote:
> long version--
>
> I have a subroutine that IS DEFINED, but it's not showing up as
> defined. I used the *Symbol::Table::name{CODE} method myself and
> sure enough, there's no CODE for the defined subrouti
long version--
okay, i'm confused, and this time it's not related to cookies.
it happens to be the same bloinkin' project, but this time it's
perl in general, that's got me baffled...
if have a subroutine that's defined, but it's not showing up as
defined. i used the *Symbol::Table::name{CODE} m
thanks one and all for the pointers on cookies. i probably grok
738% more than i did, but i have a feeling it's still only 13% of
the pie. or in this case, cookie...
so how's this PerlAccessHandler, for twisted logic? hole-punching
and pitfall-warning equally welcome:
#httpd.conf
PerlAcc
On Wed, May 02, 2001 at 07:28:05AM -0400, darren chamberlain wrote:
> will trillich ([EMAIL PROTECTED]) said something to this effect on 05/02/2001:
> > Cookies are restricted to certain domains, for security reasons.
> > (Why have a microsoft.com cookie sent to debian.org, rig
Aha. I found a chink. I still only have one brick in the wall,
but now it seems like i may have a clue as to why the other
bricks have been sitting there, giggling.
to wit:
Cookies are restricted to certain domains, for security reasons.
(Why have a microsoft.com cookie sent to debian.org, right
On Tue, May 01, 2001 at 12:10:34PM -0700, Randal L. Schwartz wrote:
> > "newsreader" == newsreader <[EMAIL PROTECTED]> writes:
>
> newsreader> randal s. posted a way to do that
> newsreader> sometime back. search for it in
> newsreader> the archive. his stonehenge
> newsreader> website app
On Tue, May 01, 2001 at 01:39:13PM -0500, will trillich wrote:
> On Tue, May 01, 2001 at 01:58:56PM -0400, Chris Strom wrote:
> > Even during a redirect. The following works for me (in a PerlInitHandler
> > NOT a PerlAccessHandler) with lynx (2.7) just fine.
> >
> >
On Tue, May 01, 2001 at 02:49:05PM -0400, Chris Strom wrote:
> > http://www.no-way-in-hell-bubba.com/login/";>
>
> should be:
>
> http://www.no-way-in-hell-bubba.com/login/";>
tolja my understanding was questionable. that helped that part,
at least... much thanks!
so now i feel like i've g
On Tue, May 01, 2001 at 01:58:56PM -0400, Chris Strom wrote:
> > > I can't say as I've had any problems using
> > > err_headers_out->add("Set-Cookie") with any browsers. I'm
> > > surprised to hear that you've had problems with it.
> >
> > even DURING a redirect? i seem to have hit a chord her
Chris Strom wrote:
>
> > -Original Message-
> > From: will trillich [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, April 30, 2001 9:44 PM
> > To: [EMAIL PROTECTED]
> > Subject: PerlAccessHandler -- struggling and drowning
> > this is a PerlAc
Eeyore here, again, less happy than ever. S.O.S.
okay. i try to use the Ticket*.pm modules from the book
(chapter 6) verbatim and they work well for well-behaved
browsers.
to widen the workability (i.e. to make it functional for
badly-mannered browsers*) i'm trying some workarounds.
this is a P
On Mon, Apr 30, 2001 at 07:54:24PM -0400, Robert Landrum wrote:
> >On Mon, Apr 30, 2001 at 03:46:03PM -0400, Geoffrey Young wrote:
> >> > From: will trillich [mailto:[EMAIL PROTECTED]]
> >> > Sent: Monday, April 30, 2001 3:31 PM
> >> > To: [EMAIL PROTE
On Mon, Apr 30, 2001 at 03:46:03PM -0400, Geoffrey Young wrote:
> > From: will trillich [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, April 30, 2001 3:31 PM
> > To: [EMAIL PROTECTED]
> > Subject: forbidden vs. cookie
> [snip]
> > # this don't work so ho
On Mon, Apr 30, 2001 at 03:46:17PM -0400, Ken Y. Clark wrote:
> Here is some code I've used in the past in a mod_perl app to
> set a cookie and do a redirect at the same time. I believe it
> works for most browsers -- or at least this code has been
> working for over a year and I haven't heard to
i could really use some dumbed-down tips on setting cookies
during a redirect. boy, this is really getting to me.
using apache 1.3.9 on debian 2.2/potato
in trying to implement the concept of the Apache::Ticket*.pm
modules from the Apache Modules (eagle) book in chapter 6
(on pages 304+) i'm run
On Sun, Apr 29, 2001 at 12:21:33AM +0200, Robin Berjon wrote:
> At 17:17 28/04/2001 -0500, will trillich wrote:
> >so i guess what you're saying is, some browsers look for
> >a "redirect:" header and then charge off to the new location
> >without handling any &
On Sat, Apr 28, 2001 at 12:54:17PM -0700, Jim Winstead wrote:
> in general, your problem with some browsers that otherwise support
> cookies may be with issuing redirects and cookies on the same request,
> which has been known to trip up some browsers. the easy workaround is
> to use a refresh to
Name Password http://sample-from-modperl-book.com/try?";>Note: You must set your browser
to accept cookies in order for login to succeed.You will be asked
to log in again after some period of time has elapsed.
0
Connection closed by foreign host.
?
qualities is not going very well since the documentation is written
>with the administrator/developer in mind.
>
>Thank in advance for your comments.
>
>Michael
>[EMAIL PROTECTED]
>
-
Will Wiley Sr. W
m.html"
>
>
>Another curious thing is that the 404 error is not being logged in my
>error log.
>
>Is there a way to allow directory indexes with Apache::Sandwich?
>
>Thanks
>--
>Clint Gilders
>Servermaster Onlinehobbyist Inc.
>[EMAIL PROTECTED]
>
allow" to trigger authentication
seems that i also needed the companion
deny from all
as well (he probably thought i knew enough to presume that,
but alas, i only now begin to see...).
===
SO -- Stas, here's a coupla extra tweaks i think you should
make so that cut/paste
thanks for your posts, guys!
Eric Cholet replied:
> > i copied the sample code from 'illustrated security scenarios'
> > at http://perl.apache.org/guide/security.html nearly verbatim,
> > (cut & paste + munge) changed '(*PASSED*)' to a simple test
> > (moot, at this point) and inserted a few $r->
i canna get the PerlAuthenHandler to do ANYTHING. first
line of code after $r = shift is $r->warn() but nothing
shows up in the log. aaugh!
i copied the sample code from 'illustrated security scenarios'
at http://perl.apache.org/guide/security.html nearly verbatim,
(cut & paste + munge) changed
this is bound to be simple, so of course i'm at a loss to find it...
% perl -MApache::Constants -e 'print NOT_FOUND'
Undefined subroutine &Apache::Constants::NOT_FOUND called at -e line 1.
i also try it via
#!/usr/bin/perl
use Apache::Constants qw(:standard);
print NOT_F
Pierre-Yves BONNETAIN wrote:
>
>Hello,
>
>For my server, I need to write some script that will be 'regularly'
> triggered (GET or POST), but that will NOT send the user to another page. The
> user must stay on the same page he is, without ANY html being ex
`ln -s test.npl test.pl`
so that the same code will be called whether it's
*.pl or *.npl...
and in httpd.conf,
Options +ExecCGI
SetHandler perl-script
PerlSendHeader On
PerlHandler Apache::PerlRun
Options +ExecCGI
Se
u are leaking sessions somehwere.
>
>There are a large number of happy, silent Apache::Session users.
>
>-jwb
>
-----
Will Wiley Sr. Automation Engineer
Wind River Systems, Platform Engineering
Tel : +1(
quot;, but there was no following
discussion of that issue.
Any suggestions would be appreciated.
Thanks
-
Will Wiley Sr. Automation Engineer
Wind River Systems, Platform Engineering
Tel : +1(510)749-2476 Fa
78 matches
Mail list logo