Bas A.Schulte wrote:
Hi,
I've been meaning to write an article about how I used Apache/mod_perl
to implement a mobile SMS application platform as it demonstrates use
of Apache/mod_perl outside the Web realm, something I hadn't seen so
far. Time constraints (as always) have prevented me
Garth Winter Webb wrote:
On Fri, 2002-03-22 at 12:57, Robert Landrum wrote:
That's is very weird, because this code doesn't seem to work:
perl -e 'system(perl, -e1) == 0 or die oops'
Actually, that's not all that weird. Most shells take care of
stripping out garbage before setting the
You must have taken this subroutine out of context. There are a
certain number of things which must appear for an Apache handler to work:
package Apache::Whatever;
You need to have that line to uniquely identify your module. If you
use the name Apache::Whatever, your handler must be
F.Xavier Noria wrote:
I would like to know whether in the server side one can figure out if a
user has completed the download of a known file. Would bytes_sent() give
the actual number of bytes sent if the download gets interrumpted by the
client? Would yo know a better approach if not?
-- fxn
I would say you should set up suexec to let the user that Apache runs as
execute those specific commands as a privaleged user. But use suexec
with EXTREME care.
Issac
bo wrote:
Hello gurus,
I am notivice on Apache configuration.
I wrote a CGI program, which will display
some system status
DeWitt Clinton wrote:
[snip]
I've actually meanty to ask this for a while: I'm curious as to the
auto_purge functionality of Cache::Cache - especially under mod_perl...
I tend to use it a lot, but from time to time, which is basically EVERY
time I look at /tmp, I notice bunches of stale
Did I *really* write Apache::expat? Stupid error - Apache::compat..
Sorry :)
Issac
[snip]
we could change the
script to do a stop then restart, but we've seen where this method (done
manually) was not 100% reliable and would sometimes require a couple of
stops before we could really restart apache (never understood why
this was
so.)
It's most likely that the stop is
Fran Fabrizio wrote:
The info is in too many places: posted many times here (read: search
archives),
on the front page of perl.apache.org, in the guide (search!) and
probably many other places.
Not to mention in the header of every single message to this list.
-Fran
Well, the point
I sometimes use pages with a text INPUT field and javascript to upate it
to display status. I'm also planning on releasing a more complex
version of that that uses a seperate thread under Apache 2, based on the
IPC methods I use for Apache::UploadMeter...
Issac
Rasoul Hajikhani wrote:
Jacob Elder wrote:
On Tue, Apr 09, 2002 at 11:13:09AM +0100, Martin Harriss wrote:
I am using Embperl on an intranet system to perform complex database
searches and display the results.
My problem is that, depending on the parameters given by the user, some
searches can take some time -
Murugan K wrote:
Hi
I am new to mod_perl and i am developing some samples using
mod_perl .
While developing sample , i do not want to restart the server
frequently with respect to my changes.
So i used the$r-header_out(Pragma, no-cache); statement not
to cache the results. i
Issac Goldstand wrote:
Murugan K wrote:
Hi I am new to mod_perl and i am developing some samples using
mod_perl . While developing sample , i do not want to restart the
server frequently with respect to my changes.
So i used the$r-header_out(Pragma, no-cache); statement
Bas A.Schulte wrote:
Hi all,
On Thursday, April 18, 2002, at 04:58 PM, Geoffrey Young wrote:
I'm a little confused (honestly). I want to handle parameter errors
in a content handler. When there's a parameter missing in the URL,
my handler returns HTTP_BAD_REQUEST.
Now Apache sees the
I've actually USED Ms Access for just this purpose on a few occasions...
It's a lot easier to do using the GUI...
Issac
Adi Fairbank wrote:
Does anyone know of a good customizable, user-friendly, online database
application, preferably mod_perl-based? I want to migrate a small Access
Quoting Mike Melillo [EMAIL PROTECTED]:
Hi,
One of the fields is an image file that will be uploaded so I need to
use POST requests. Is this a job for Apache::Request? The eagle book
doesn't cover it much because it was experimental at the time of
publishing.
There's a version 1.0
I'd like to try to disagree here. I have built several file-related
webapps where I have implemented virtual filesystems which require
special perl modules to access the files at all. mod_perl takes care of
serving the requests. If I need a restart, then I can still safely use
graceful.
Ken Miller wrote:
I the past, when I've setup a proxy/app server configuration, it's always
been to forward certain url's to the app server, with the rest being
processed by the proxy.
However, I need to turn this around. I want to pass everything to the app
server, except for some url's that
- Original Message -
From: John Siracusa [EMAIL PROTECTED]
To: Mod Perl Mailing List [EMAIL PROTECTED]
Sent: Wednesday, June 12, 2002 8:06 PM
Subject: Re: mod_perl/passing session information (MVC related, maybe...)
On 6/12/02 12:57 PM, Per Einar Ellefsen wrote:
But what if someone
umm... If you send them twice. Aside from happening by doing
$r-send_http_header twice (it's happened), it could be something else is
automatically sending header s for you...
Just an idea...
Issac
- Original Message -
From: Rafiq Ismail (ADMIN) [EMAIL PROTECTED]
To: [EMAIL
Not just you. I have the same problem under MSIE.
Issac
- Original Message -
From: Jim Helm [EMAIL PROTECTED]
To: 'Perrin Harkins' [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, July 17, 2002 8:23 AM
Subject: New mod_perl site and oddness with IE
Has anyone else had
I keep getting the following error when compiling mod_perl under MS-Dev-6.0
Constants.xs(158) : error C2065: 'errno' : undeclared identifier
It's the only compilation error I'm stuck on, but I've been stuck for 2
weeks now... Everything is natively built for Win32 from source (read: no
Worked. Thanks.
Issac
- Original Message -
From: Randy Kobes [EMAIL PROTECTED]
To: Issac Goldstand [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, September 23, 2002 1:37 AM
Subject: Re: Error compiling mod_perl/1.27/Apache-1.3.26/Perl-5.8.0 for
Native Win32
On Sun, 22 Sep
It's needed, for example, to enable the system-wide PATH to include
\Perl\bin in it, which is needed to load mod_perl.so into the server when
running as a system service. Note that you can still go to a command shell,
add perl\bin to the path and manually start apache from the command shell -
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 03, 2002 5:09 PM
Subject: Re: asynchronous downloads
How do I send a file asynchronously?
The classic example is download sites. You click on the file you want
and
it generates a
FYI: MS Windows .NET server (which is the XP server equivalent) is available
for beta. Find out at windowsbeta.microsoft.com
Issac
- Original Message -
From: Adam Nelson [EMAIL PROTECTED]
To: 'Ken Y. Clark' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, October 11, 2002 4:07 PM
I just hit reply now - note that it is AUTOMATICALLY to you, plus
[EMAIL PROTECTED]
Also note the original headers below:
Issac
- Original Message -
From: Innerlab [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 16, 2002 3:18 PM
Subject: posts headers and so on.
- Original Message -
From: Leif Snorre Schøyen Boasson [EMAIL PROTECTED]
To: Issac Goldstand [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, October 22, 2002 8:51 PM
Subject: Re: Problems writing binary uploaded data...
Well, the original reason I didn't use that was I didn't know what
Um... Why don't you simply use $upload-link on the handle?
From Apache::Request manpage
my $upload = $apr-upload('file');
$upload-link(/path/to/newfile) or
die sprintf link from '%s' failed: $!, $upload-tempname;
/From Apache::Request manpage
Issac
- Original Message -
From:
- Original Message -
From: Vivek Khera [EMAIL PROTECTED]
Newsgroups: ml.apache.modperl
To: [EMAIL PROTECTED]
Sent: Wednesday, November 06, 2002 6:52 PM
Subject: Re: sending ssl certificate according to virtual host
MJ == Mathieu Jondet [EMAIL PROTECTED] writes:
MJ Depending on the
So far, I've seen two suggestions; both are very good, and I wanted to try
to offer a combination, based on a real implementation.
The relevant parts of the source code for uploading the content (as related
to writing the actual file on the server):
my $r=shift;
my
Issac,
From: Issac Goldstand
Subject: [apache-modules] Persistant MySQL connections in Apache 2
Hi all,
I'm a rookie C API programmer (mod_perl was just so much *easier*
most of
the time :-)), and am working on coding a module to with in my
front-end
Apache 2/mod_proxy server
To force the save window is easy - make up your own content subtype (main
type application) and set it:
Content-Type: application/x-download-this-file-you-stupid-browser
Remember to start with an x- as your type is obviously not registered with
the IANA.
The tricky part is setting up the
never heard of.
Issac
- Original Message -
From: Tom Hukins [EMAIL PROTECTED]
To: Issac Goldstand [EMAIL PROTECTED]
Cc: Dennis Daupert [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, November 20, 2002 12:27 PM
Subject: Re: How do I force a 'Save Window?'
On Wed, Nov 20, 2002 at 11
local $|=1;
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 26, 2002 9:11 PM
Subject: partial page display
I would like to have some of the page display while the rest of the data
for
the page is still being retrieved (i.e. a Please wait,
: Issac Goldstand [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 26, 2002 2:13 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: partial page display
local $|=1;
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 26, 2002 9:11 PM
- Original Message -
From: Stas Bekman [EMAIL PROTECTED]
To: Philip Mak [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, November 27, 2002 2:24 AM
Subject: Re: Apache 2?
. Since if your mod_perl handler sends
the data to a thread which runs a filter that send the data to a
- Original Message -
From: Stas Bekman [EMAIL PROTECTED]
Cc: Ask Bjoern Hansen [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, November 28, 2002 11:07 AM
Subject: default Content-Length calculation has been removed in 2.0 (was Re:
mod_perl 2.x vs. mod_perl 1.x benchmarks)
Issac Goldstand wrote:
I think I got it... I was under the understanding that each fireman
could
only hande 1 bucket at a time, but there could be up to as many buckets
as
firemen on the stack at any given time... Do you know why it's like
that?
a limitation of the current mpms
I'm writing a filter in which two lines of data are to be appended to the
content going back. However, I'd like to test for a 404, and if found set
the response to 200. Can this be done from the output filters? Or am I
going to have to do something more complex with a handler?
The big problem
delve deeper into Apache 2, I'll find better solutions...
Issac
- Original Message -
From: Stas Bekman [EMAIL PROTECTED]
To: Issac Goldstand [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, December 03, 2002 3:43 PM
Subject: Re: [MP2] Handler feauters in a filter?
Issac Goldstand
From: Ged Haywood [EMAIL PROTECTED]
It seems a bit wasteful to have a mod_perl Apache process involved at
all in serving .jpg and other static files. Why not run a two-Apache
setup and let the non-mod_perl server serve them without even letting
a heavyweight process see the request? It's
- Original Message -
Subject: RE: [OT] Ideas for limiting form submissions
Can GIMP be programmatically set up to warp/woof/weird-out an image?
Yahoo's warped words works, I bet, since they use it.
I'm referring to get getting an anon email account from yahoo.com
They actually use
Title: OT - Santa uses PERL
This came yesterday on the httpd-users list, and I
haven't seen it on the mod_perl list yet (apologies if I just happened to not
notice it). I thought that people might enjoy it. I'm sure one or
two of you will want to flame me for it so I'd ask those people to do
Forwarding this from another list, because it's
more appropriate here :-)
- Original Message -
From: Ron Gidron
Sent: Monday, February 10, 2003 3:48 PM
Subject: [Perl] how to static link mod_perl 2 into apache
2.0
I am trying to
install a Mason based system.
This package
It does work - I use it on http://pics.beamartyr.net/ Remember that it's a
tricky sorta configuration - you must configure it within a location block
which will be the thumbnail directory, and specify the real source
directory:
Example: The below configuration maps /home/me/pictures to
That would be really amazing if it could still be implemented in mp1, too,
as it would allow for interoperability between libapreq-based applications
(like Apache::UploadMeter) and response handlers like CGI scripts which use
CGI.pm I suppose that this isn't such a big problem in mp2 whose
Forgive my use of the list if this is a tad OT - but I seem to not be able
to contact Steven directly all of the sudden (my ISP got but on a RBL, I
think, and it will take them another bit to get off - that's why it took so
long, Steven)
Issac
On Tue, 2003-03-25 at 00:12, Issac Goldstand
- Original Message -
From: Gabor Szabo [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 31, 2003 11:41 PM
Subject: [Perl] CPAN was hacked !
by Matt's Script Archive, Inc.
april fools!
Hey all,
Was just wondering if anyone here was planning on attending
YAPC::Israel::2003 (http://www.perl.org.il/YAPC/2003 )?
Issac
I want to assign a method handler from within the Apache::ReadConfig
namespace. Right now, what I have is some function which somewhat
resembles:
package My::Object;
sub method1 {
my $self=shift;
package Apache::ReadConfig;
no strict;
$Location{'/some/URL/'} = {
Options = '+ExecCGI',
- Original Message -
From: Perrin Harkins [EMAIL PROTECTED]
On Mon, 2003-06-02 at 11:36, Issac Goldstand wrote:
I want to assign a method handler from within the Apache::ReadConfig
namespace. Right now, what I have is some function which somewhat
resembles:
package My::Object
- Original Message -
From: Perrin Harkins [EMAIL PROTECTED]
On Mon, 2003-06-02 at 15:19, Issac Goldstand wrote:
No - this is at startup. It's also, to the best of my knowledge, the
*only*
way to push handlers onto a dynamic URL (eg, where the URL is a
variable) -
which is what I'm
After a few fruitless days of fiddling with this, I find myself getting
nowhere... Can anyone really explain how Apache::ReadConfig and/or direct
me to the source code (for handling the namespace, not the code for Perl
sections)
Issac
Sorry for the late reply.
http://epoch.beamartyr.net/umtest/form.html
That's a development version, but there shouldn't be any noticable
differences between that and the currect version. It's just configuration
issue. One thing I did note is that MSIE 6 is not refreshing the meter...
Issac
Spool file: /tmp/apreqHHY8vh
Other debug info: Apache::Table=HASH(0xa1223ec)
-Original Message-
From: Issac Goldstand [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 04, 2003 6:04 AM
To: [EMAIL PROTECTED]
Cc: modperl list
Subject: Re: UploadMeter
Sorry for the late reply.
http
Does anyone have success/failure stories using Push responses?
Please share. Thanks.
Issac
Sorry for the latte reply.
Absolutely:
[snip]
**use Apache::Request;
**my $q=Apache::Request-instance($r);
my $upload_id = 0;
**for my $upload ($q-upload) {
$upload_id++;
**my $name=$upload-name;
# do stuff
}
[snip]
All the best,
Issac
Forwarded from the Israeli Perl Mongers mailing list:
- Original Message -
From: Ron [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 09, 2003 1:48 PM
Subject: [Perl] HTML::Mason help anyone?
I have a simple form that looks like so:
form method=GET
Ryan,
Ust out of curiosity, at what stage in the request chain are you doing
this? If you are doing anything before mod_ssl populates its environment
variables (which I seem to rembmer being at Fixup, although I may be
confusing with something else), you wouldn't be able to access them. You
Right. Could you possibly clarify the difference between SetHandler
perl-script and SetHandler modperl? I'm still not sure I've got the
straight of it yet...
Issac
Stas Bekman wrote:
Sreeji K Das wrote:
[...]
You need to use 'SetHandler perl-script' for that, see:
- Original Message -
From: Stas Bekman [EMAIL PROTECTED]
To: Issac Goldstand [EMAIL PROTECTED]
Issac Goldstand wrote:
Looking at it now, I tend to agree... I just have a vague recollection
of
my first mod_perl 2 handler (Written only 2 weeks ago, though I dabbled
with
the C API
I seem to be having some trouble that I think may be associated with BEGIN
blocks. To make sure I'm not jumping at shadows, could someone tell me what
the expected behavior of BEGIN blocks in use()d modules is? How many times
are they called (during server startup and/or restarts of any type)
Sven wrote...
[snip]
-
use Apache ();
use Apache::Request ();
$apr = Apache::Request-new($r);
foreach $parm($apr-param){
print -.$parm. : .$apr-param($parm).\n;
}
print -\n;
-
First of all, use
Actually, it is. I found it by going to the ApacheCon 2003 page, click the
CFP link and then logging in. The page Stas sent doens't appear to work
directly...
Issac
- Original Message -
From: Bill Weinman [EMAIL PROTECTED]
To: mod_perl Mailing List [EMAIL PROTECTED]
Sent: Tuesday,
couldn't connect:
.DBI-errstr;}END {$dbh-disconnect();}...In this example, I get the
error message until Apache::Reload reloads the module, after which it works
fine.Any insight would be appreciated. Issac- Original Message -
From: Stas Bekman [EMAIL PROTECTED]
To: Issac Goldstand [EMAIL
It will work. Just be careful - if you distribute this module, the people
who use it may not include these modules in their startup.pl, and if you
discontinue usage of this module, you may end up with extra modules in
memory which aren't needed.
Issac
- Original Message -
From: Jamie
Right now Apache::Request is in the final proting stages... Until it's done,
jjust request Apache::Request with CGI
Issac
- Original Message -
From: Tofu Optimist [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, September 02, 2003 6:43 PM
Subject: post max and MP2
Hello --
btw, can you please explain what ICY is for me? the $r-assbackwards(1)
thing was specifically implemented in mod_perl 1.0 to support ICY, and I
used it in examples I give of this, but I always have to say that I have
no
idea what ICY is.
IceCast. The LINUX version of WinAmp's streaming MP3
Why not just make an include file that contains the
module directives, and then just add an Include myloginconffile.conf to
each virtualhost section?
Issac
- Original Message -
From:
Chris Faust
To: [EMAIL PROTECTED]
Sent: Thursday, September 18, 2003 10:04
PM
A casual user won't understand that documentation... Hell, I'm not even
sure I completely understand the implications of it and when to use/not
use escape_html based on it... I think an example is called for, but
not in the POD... Maybe in the Guide?
Issac
Eric Cholet wrote:
--On
101 - 171 of 171 matches
Mail list logo