Hello Alastair Stuart,
Sunday, September 29, 2002, 6:46:49 PM, you wrote:
AS Hi,
AS Somewhere read about converting urls to jpegs on the fly using modperl ??
AS Preferrably, to png
AS TIA
AS
AS Alastair Stuart
AS Perl Person
Look at Apache::ImageMagic. It uses Image::Magic
Wouldn't be the first time I've been wrong. I do know that I was
seeing inconsistent behavior with cookies not being saved in a
redirect page (mostly IE PC, but not 100% of the time), but I didn't
spend any time worrying about it because of the previous messages I
remembered. A quick
All four cases result in the Perl code being displayed instead of the
script being executed? If a location is defined as a ScriptAlias, then
is the default-handler == perl-script? and would returning DECLINED
result in mod_cgi handling the request? What am I doing wrong?
perl-script is
Is there something in the configuration not jiving?
Windows 2000, Apache 2.0.42, mod_perl-2(1.99_08-dev via ppm)
In http.conf I have:Include conf/test.confAddHandler cgi-script .cgiIn test.conf I have:PerlRequire "C:/Apache2/conf/startup.pl"Location /test/ Options +ExecCGI SetHandler perl-script
[EMAIL PROTECTED] wrote:
I've got a bit of a better grasp on the problem nowI think it's an
interaction with POST data...
I have a form in foo.html
form action=/rms/admin method=post
input type=hidden name=task value=process_config
...other form fields...
/form
I submit
On Wed, 2 Oct 2002, Wes Cravens wrote:
On 02 Oct 2002 15:23 GMT I wrote:
Hi!
We're developing a perl module for apache/mod_perl, but have encountered a
really strange problem.
After 'a while' we seem to lose the data sent to the apache-server, at
least it never reaches our
Hi,
I've been using mod_gzip for the last 18 months and it has worked
really well for dynamic pages and static content.
However, recently I've needed to use SSL, but I've heard the
combination of mod_gzip and SSL is buggy on some browsers.
I've checked out
Hi Hakan,
CGI::Minimal has a truncate function that picks up invalid CGI
data ... this may help.
Nigel
On Wed, 2 Oct 2002, Wes Cravens wrote:
On 02 Oct 2002 15:23 GMT I wrote:
Hi!
We're developing a perl module for apache/mod_perl, but have encountered a
really
How do I send a file asynchronously?
The classic example is download sites. You click on the file you want and
it generates a thankyou page for your browser and also sends the file.
So what's the correct way to do this?
How do I send a file asynchronously?
The classic example is download sites. You click on the file you want and
it generates a thankyou page for your browser and also sends the file.
So what's the correct way to do this?
Use a refresh META tag on the thank-you page, that points to
I think many sites use the meta refresh html tag. i.e.
htmlhead
...
META HTTP-EQUIV=Refresh CONTENT=2;URL=file_i_want_to_download.gz
...
Netscape has a complete reference on this at
http://developer.netscape.com/docs/manuals/htmlguid/tags3.htm#1697602
You could probably also set a refresh
hi all,
i am running standard setup with one plain apache with mod_proxy and a
mod_perl apache to which all mod_perl requests are directed by the proxy
module.
i want to be able to detect when the client connection breaks but all
standard recipes like the one mentioned in p.147 of the cookbook
After further review, the problem was CGI.pm. CGI.pm doesn't appear to get
'reset' on an internal_redirect (I'm not familiar with CGI's support for
mod_perl, so maybe this should have been obvious!) so it was still holding
the old parameter values. A quick install of Apache::Request and a
Hi,
I'm writing my first mod_perl handler. I'd like to make the handler some
kind of dispatcher that dynamically loads certain modules depending on
the URI called:
/foo/index = require foo; $result = foo::index();
/foo/other = require foo; $result = foo::other();
/bar/index = require bar;
Jochen Lillich wrote:
Hi,
I'm writing my first mod_perl handler. I'd like to make the handler some
kind of dispatcher that dynamically loads certain modules depending on
the URI called:
/foo/index = require foo; $result = foo::index();
/foo/other = require foo; $result = foo::other();
Hi Jochen,
I'd recommend having a read of this
http://perl.apache.org/docs/1.0/guide/performance.html#Sharing_Memory
Not sure how much it applies to your situation, but basically, unless the
different modules are very large and rarely used you really want to load them
all at server startup.
On Thu, 3 Oct 2002, Paul Simon wrote:
Is there something in the configuration not jiving?
Windows 2000, Apache 2.0.42, mod_perl-2(1.99_08-dev via ppm)
In http.conf I have:
Include conf/test.conf
AddHandler cgi-script .cgi
In test.conf I have:
PerlRequire C:/Apache2/conf/startup.pl
You say eventually perl 5.8 will be recommended. Why is it not the
recommended version now?
I am developing a windows application currently and started out with
activestate perl 5.6.1, apache 2, and mod_perl 1.99. I ran into a lot
of problems and blamed them on mod_perl because it is still
On Thu, 3 Oct 2002, Ben Mathews wrote:
You say eventually perl 5.8 will be recommended. Why is it not the
recommended version now?
That's really Doug's call, but perhaps one consideration holding
back a recommendation of 5.8 on Win32 is that ActiveState won't
be making a perl-5.8 binary in
On Wed, 2 Oct 2002, Justin Luster wrote:
I'm new to mod_perl and I'm really enjoying it. It has really improved
performance. Right now I'm just using Modperl::Registry to speed up
things. I have a question about showing graphics using a Perl Script
and running it through mod_perl.
[ ...
- 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
I've managed to get a couple of backtraces on a segfault problem we've
been having for months now. The segfaults occur pretty rarely on the
whole, but once a client triggers one on a particular page, they do not
stop. The length and content of the request are key in making the
segfaults
I'm having trouble with the AuthDBI module. If works fine if use require
valid-user or require user. But when I try to require group I get this
error: couldn't check access. No groups file?: /test/
What am I doing wrong? This is my .htaccess file.
AuthName DBI
AuthType Basic
PerlAuthenHandler
Randy Kobes <[EMAIL PROTECTED]>wrote:
On Thu, 3 Oct 2002, Paul Simon wrote: Is there something in the configuration not jiving? Windows 2000, Apache 2.0.42, mod_perl-2(1.99_08-dev via ppm) In http.conf I have: Include conf/test.conf AddHandler cgi-script .cgi In test.conf I have: PerlRequire
On Fri, 6 Sep 2002 08:23:33 +0200 Toma'? Procha'zka [EMAIL PROTECTED] wrote:
For comparsion of password user entered and password stored in database is
crypt function used.
Here is the code:
my $real_pass = $d-[0][0]; # crypted password from database
my $salt = substr $real_pass,0,2; #
How do HTTP headers work under Registery::ModPerl?set up: windows2000 apache2.0.42 mod_perl/1.99_08-dev Perl/v5.8.0
I had to comment out the following in the CGI script:
#print "Expires: " . time2str( time() + 432000 ) . "\n";#print "Content-type: text/html\n\n";
because it would print out as
On Thu, 3 Oct 2002, Paul Simon wrote:
How do HTTP headers work under Registery::ModPerl?
set up: windows2000 apache2.0.42 mod_perl/1.99_08-dev Perl/v5.8.0
I had to comment out the following in the CGI script:
#print Expires: . time2str( time() + 432000 ) . \n;
#print Content-type:
Hi Nigel,
- Original Message -
From: Nigel Hamilton
To: [EMAIL PROTECTED]
Sent: Thursday, October 03, 2002 6:29 PM
...
However, recently I've needed to use SSL, but I've heard the
combination of mod_gzip and SSL is buggy on some browsers.
You are right, there are some known issues
Hello everyone,
I am trying to use a IPC::Shareable tied hash to cache some data at the
start of apache from my startup.pl script.
this is my startup.pl
-
$ENV{GATEWAY_INTERFACE} =~ /^CGI-Perl/ or
die GATEWAY_INTERFACE not Perl!;
use Apache::Registry;
use Apache::DBI;
use
Juan Natera wrote:
The worst of all is that Apache simply doesnt start, and I get no error
message at all.
The error might be on the console, or you could try capturing it and
writing it to a file. However, I suggest you ditch IPC::Shareable since
it's dog slow. Use MLDBM::Sync,
It seems that as I work on my script, Apache doesn't reload it when
the script changes on disk.
It seems like it's something that I did because it used to. Is there
some common well known thing or set of things one can screw up to make
this happen?
(if so, it should be documented in the
Yup that fixed it, setting the handler via $r-handler('cgi-script') in a FixupHandler
works. The table in the mod_perl cookbook (pg452) says is all. I must have overlooked
that bit of information while I was banging my head on the my desk trying to get this
to work.
Thanks for the help and the
32 matches
Mail list logo