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) works as a mod_perl handler, under
Apache
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
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
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
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
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 this be done
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 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 = $vals( id =
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 an
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:
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 password
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
will how-this-works somewhere...
will Limit GET POST
will Order allow,deny
this almost works. but i can't find the docs explaining why not:
#httpd.conf
Perl
use HTML::Mason::ApacheHandler ();
use Apache::Constants ();
require '/var/www/mtinker/mason.pl';
$VirtualHost{127.0.0.1} = [
{
DocumentRoot = '/var/www',
Alias = '/icons/
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::Registry
- 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 cookies via cgi or whatever
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
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 fuzzy
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 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 copying or
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.
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
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
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-uri()
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?
what does $cookie-bake do (add set-cookie header
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 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
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 =
Apache::Cookie-new( $r
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-vs-performance?
1) What do
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 conference.
looking forward to that! thanks.
--
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_perl
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.
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,
warning type=religious holy war level=pandora's box
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
On Mon, Jun 04, 2001 at 07:53:59PM +0400, Ruslan V. Sulakov wrote:
Strange numbers appeares, when I use HTTP 1.1 protocol to get response from my
mod_perl server.
The test.pl script:
use strict;
use Apache::Request();
my $r = shift;
my $apr = Apache::Request-new($r);
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 a
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. Directory, Location and File can all take
shell-like globs using ?, *, and []/[!...]/[^...] operators, looks
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
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
On Mon, May 07, 2001 at 09:32:23PM -0400, Philippe M . Chiasson wrote:
On Mon, May 07, 2001 at 05:35:57PM -0700, Jonathan Hilgeman wrote:
I've been trying to do this for some time but can't figure out how.
VirtualHost 111.111.111.111
UseCanonicalName Off
Perl
On Fri, May 04, 2001 at 12:29:30AM -0500, Ken Williams wrote:
[EMAIL PROTECTED] (will trillich) wrote:
sub search {
#
{
use CGI qw/:standard/;
my $form = join '',
map {
hidden
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 add a
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{CODE} method myself and
sure enough
] (will trillich) wrote:
okay, here was the problem.
package My::Debacle;
sub search {
#
{
use CGI qw/:standard/;
my $form = join '',
map {
hidden(
-name
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, right?)
So all cookies
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
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}
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 subroutine...
[snip]
ANY wild-ass
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 PerlAccessHandler, which should check for the existence
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 here, as
i'm
On Tue, May 01, 2001 at 02:49:05PM -0400, Chris Strom wrote:
headmeta http-equiv=Refresh content=2;
http://www.no-way-in-hell-bubba.com/login/;
should be:
meta http-equiv=Refresh content=2;
URL=http://www.no-way-in-hell-bubba.com/login/;
tolja my understanding was questionable.
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.
$r-err_headers_out-add('Location
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 apparently uses the
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,
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
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 too
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 hot, neither:
$r-header_out
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 PROTECTED]
Subject: forbidden vs. cookie
[snip
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
i've been tinkering with the modperl book examples
for Apache::Ticket*.pm (as described p305-322)...
it works for
linux/konqueror
linux/netscape
win/explorer
it doesn't work for
linux/lynx
mac/netscape
the ones that do work get to the login page with two
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 meta refresh
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 set-cookie: headers in the meantime
Stas Bekman replied:
Argh, I wish I could always test every addition I have in the guide, some
code goes untested as it was posted to the mod_perl or contributed by
someone else. Then people come and use it, if something is wrong they send
me a patch I fix it. I guess this is a similar
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
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-warn("")
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
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 exchanged as
a result of the script.
perlSendHeader On / Off -- what's the real difference?
i finally figured it out, after seeing many 'server errors'
on one hand, and http headers cluttering up the html output
to the browser on the other...
i have a perl script
test.npl
and a symbolic link to it
`ln -s test.npl
"Jeffrey W. Baker" wrote:
On Thu, 18 May 2000, brian moseley wrote:
On Thu, 18 May 2000, Autarch wrote:
pretty slow if you build a string using .= instead of using
smarter methods, like pushing strings onto an array and then
joining it.
You tried to sell me that when I was at CP,
"Bruce W. Hoylman" wrote:
"Gunther" == Gunther Birznieks [EMAIL PROTECTED] writes:
Gunther This first criteria seems a tad odd to me. What business
Gunther scenario is there for this?
The framework is to support an intranet time tracking application. The
business rules of the
Stas Bekman wrote:
On Sun, 14 May 2000, w trillich wrote:
i noticed this in the html source of the new guide
(this was on porting cgi to mod_perl):
LINK REL=STYLESHEET TYPE="text/css"
HREF="style.css" TITLE="refstyle"
Brett Lee wrote:
but with mod_perl, the info in the hash tables seems to be found "every
other refresh" (which has me stumped).
Would anyone be able to suggest a solution or reading material on this?
don't forget to check your stuff out with single-process mode,
via 'apachectl stop; apache
"Alexei V. Barantsev" wrote:
w trillich [EMAIL PROTECTED] writes:
speaking of autoindex issues-- i can't get apache to
display the HEADER or README files (above and
below the tabular file listing), and when i posted
my most recent question, someone else piped up and
sa
Bri Carey wrote:
When I display an .iphtml page in Netscape, everything seems to be fine.
When I display it in IE (4.72), I get a plain text output of the source
code, including html tags.
Why this discrepancy?
I've tried setting the default type to text/html in the
redefined subs with perlrun?
pertinent parts, from httpd.conf:
#for running perl scripts
PerlModule Apache::PerlRun
#for running perl internally from within apache
#PerlModule Apache::Registry
ErrorDocument 401 /cgi-bin/noAccess.pl
from his webtechniques article a while back--(source code
is available at www.webtechniques.com)... here's a slice from
r.schwartz's quickie DBIlogger--
$r-push_handlers (
PerlLogHandler =
sub {
my $orig = shift;
my $r = $orig-last;
my @data =
(
sorry i haven't been clearer about this:
with a few inserted debug statements (say, printing
the string to my tty directly) i can tell that the perl
code gets executed.
but no apache settings are affected. ZERO effect on apache.
doesn't act as if its done a damn thing. apache ignores it
even
while($domain = $sth-fetchrow_array)
{
$PerlConfig .= "CONFIG";
VirtualHost $ipAddr
ServerName www.$domain
ServerAdmin webmaster@$domain
ServerAlias $domain
DocumentRoot $baseDir/www.$domain/htdocs/
/VirtualHost
CONFIG
}
doesn't $sth-fetchrow_array() return a
In a running httpd you can see how you have configured the CPerl
sections through the URI
L/perl-status|debug/Apache_Status_Embedded_Inter, by choosing IPerl
Section Configuration from the menu. In order to make this item show
up in the menu you should set C$Apache::Server::SaveConfig to a
Stas Bekman wrote:
I still don't know your name, so I'll just use 'you' :)
or trillich (or even 'will' on my birthday).
First, please keep the replies posted to the list. We don't want to answer
something more than once, when it goes to the list, someone will answer
you and it'll
80 matches
Mail list logo