Hi Alan,
Hi Kee,
I would say Kee is wrong.
In our application, the development of which I am involved in, for a
special case we need to write a cookie and redirect to another page.
So we use Apache::Cookie to write the cookie and http redirect. Cookie is
always set. I changed the http redirec
Hi
on win32
perl 561 with last modperl
when a location is reset to default-handler and no real
file is called but just a directory, modperl
does not pass on to default (and to mod_dir for
indexing of the directory).
url /stylesheets/style.css triggers the default handler
properly, but not /sty
At 09:02 02.10.2002, Alan wrote:
>On Tue, Oct 01, 2002 at 07:23:39PM -0400, Kee Hinckley wrote:
> > At 11:30 AM -0700 10/1/02, Alan wrote:
> > >Hi folks... I'm having a bit of a weird problem with Apache::Cookie and
> > >IE.
> > >
> > >I'm setting a cookie and then doing a redirect as follows:
> >
> Alan wrote [ 01 October 2002 at 03:09 pm ]
>
> On Tue, Oct 01, 2002 at 11:30:59AM -0700, Alan wrote:
>
> Turns out the issue was the 'expires' tag... IE wouldn't set the cookie
> until it was set to '+1d'
If setting the expires tag to +1d fixed the problem you may want to look
at the time on
Hi Randy -
Just wanted to send along some info that might be useful to add as a
Windows installation note in the mod_perl guide. The short story is:
You may need to shut down and restart your machine after installing to
get things to start working!
I've been trying to install on Windows
On Wed, Oct 02, 2002 at 08:15:23AM -0500, Nicholas Studt wrote:
> > Alan wrote [ 01 October 2002 at 03:09 pm ]
> >
> > On Tue, Oct 01, 2002 at 11:30:59AM -0700, Alan wrote:
> >
> > Turns out the issue was the 'expires' tag... IE wouldn't set the cookie
> > until it was set to '+1d'
>
> If setti
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 module.
We have absolutely no idea what might be causing this, and we realize it
isn't an eas
On 02 Oct 2002 15:23 GMT you 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 module.
> Recently we switched from us
I call a page, /my/script1?task=foo which does some things and then needs to
redirect to /my/script2?task=bar. However, putting
$r->internal_redirect('/my/script2?task=bar');
doesn't seem to work as script2 is seeing task=foo rather than task=bar.
Looks like the internal_redirect is also pass
[EMAIL PROTECTED] wrote:
> I call a page, /my/script1?task=foo which does some things and then needs to
> redirect to /my/script2?task=bar. However, putting
>
> $r->internal_redirect('/my/script2?task=bar');
>
> doesn't seem to work as script2 is seeing task=foo rather than task=bar.
> Looks
> But when it's set to "3d" the cookie is set as:
> Set-Cookie=name=value; path=/path; expires=3d
>
> Which makes sense, but it's a very subtle thing IMHO, and to me "1d"
> means "expire in one day", the same as "+1d".
>
> Anything think that this deserves a bug report, or chalk it up to stupi
On Wed, Oct 02, 2002 at 01:21:49PM -0400, Geoffrey Young wrote:
> so, it's not really a bug if you dig down into the docs and examples.
> looks like a feature, though :)
Agreed... more of a 'gotcha' though, ready to bite people in the butt.
Personally I think it might make more sense to do a ch
The problem was solved when I set the Apache Servername parameter to the IP
address of the Proxy Server.
But I don't understand why the ProxyRewrite module doen't change the URL to
what we want. It changes it only to "/".
Thanks,
-
At 20:12 02.10.2002, Alan wrote:
>On Wed, Oct 02, 2002 at 01:21:49PM -0400, Geoffrey Young wrote:
> > so, it's not really a bug if you dig down into the docs and examples.
> > looks like a feature, though :)
>
>Agreed... more of a 'gotcha' though, ready to bite people in the butt.
>Personally I t
Gerald Richter wrote:
> > OLD STUFF: redhat 5.2, 2.0.36 kernel, 1.3.6 apache, 1.21 mod_perl,
> > perl 5.005_02, apache session 1.04 and a storable of 0.63, embperl
> 1.2.b10,
> > file system sessions and locking data.
> >
> > NEW STUFF: redhat 5.2, 2.0.36 kernel, 1.3.26 apache, 1.27 mod_perl,
hello,
I've been off-list for a while, so please forgive (and direct) me if
this is a tired subject.
In short, i'd like to pass through another object on method invocation,
in addition to the apache request. Ideally the (method)handler would
look something like:
sub handler ($$$) {
m
On Wed, Oct 02, 2002 at 08:30:54PM +0200, Per Einar Ellefsen wrote:
> At 20:12 02.10.2002, Alan wrote:
> >On Wed, Oct 02, 2002 at 01:21:49PM -0400, Geoffrey Young wrote:
> >> so, it's not really a bug if you dig down into the docs and examples.
> >> looks like a feature, though :)
> >
> >Agreed..
At 20:47 02.10.2002, william ross wrote:
>hello,
>
>I've been off-list for a while, so please forgive (and direct) me if this
>is a tired subject.
>
>In short, i'd like to pass through another object on method invocation, in
>addition to the apache request. Ideally the (method)handler would look
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
...other form fields...
I submit this form, and in /rms/admin, it gets handled like this
# suck in form values, stick them in objects, blah blah, then get
On Wednesday, October 2, 2002, at 08:18 PM, Per Einar Ellefsen wrote:
> At 20:47 02.10.2002, william ross wrote:
>> but I can't find anything to tell me how to do it. I feel sure I'm
>> missing something really obvious here?
>
> You can configure objects instead of using static class names. See
At 21:30 02.10.2002, william ross wrote:
>On Wednesday, October 2, 2002, at 08:18 PM, Per Einar Ellefsen wrote:
>
>>At 20:47 02.10.2002, william ross wrote:
>>>but I can't find anything to tell me how to do it. I feel sure I'm
>>>missing something really obvious here?
>>
>>You can configure obje
On Wed, 2 Oct 2002, william ross wrote:
> sorry: i wasn't very clear, was I? I am using a method handler, but I
> want to pass an object of another class to it each time it is called.
> The object needs to be created outside of an individual request, and
> therefore presumably in a startup file,
On Wednesday, October 2, 2002, at 08:37 PM, Per Einar Ellefsen wrote:
> At 21:30 02.10.2002, william ross wrote:
>
>> On Wednesday, October 2, 2002, at 08:18 PM, Per Einar Ellefsen wrote:
>>
>>> At 20:47 02.10.2002, william ross wrote:
but I can't find anything to tell me how to do it. I fe
On Wed, 2 Oct 2002, Larry Leszczynski wrote:
> Just wanted to send along some info that might be useful to add as a
> Windows installation note in the mod_perl guide. The short story is:
>
>You may need to shut down and restart your machine after installing to
>get things to start worki
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 -
tha
On Wednesday, October 2, 2002, at 09:11 PM, Dave Rolsky wrote:
> On Wed, 2 Oct 2002, william ross wrote:
>
>> sorry: i wasn't very clear, was I? I am using a method handler, but I
>> want to pass an object of another class to it each time it is called.
>> The object needs to be created outside o
On Wed, 2 Oct 2002, william ross wrote:
> I did have it set up that way at one point. it worked quite nicely as
> long as I made the singleton in a subclass of the main Factory (which
> might be shared by several applications with different configurations).
> i gave up on it in the end because it
On Wednesday, October 2, 2002, at 09:48 PM, Dave Rolsky wrote:
> On Wed, 2 Oct 2002, william ross wrote:
>
>> I did have it set up that way at one point. it worked quite nicely as
>> long as I made the singleton in a subclass of the main Factory (which
>> might be shared by several applications
Greetings again.
I'm trying to figure out the best/fastest/most elegant way of setting
virtualhost based variables. Basically I have three sites, and the only
difference between them is the DocumentRoot ($htdocroot) and the database
their data is being accessed from ($dbh).
When it was a single
Alan <[EMAIL PROTECTED]> wrote:
>Greetings again.
>
>I'm trying to figure out the best/fastest/most elegant way of setting
>virtualhost based variables. Basically I have three sites, and the only
>difference between them is the DocumentRoot ($htdocroot) and the database
>their data is being acces
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.
Using Perl under regular CGI to create
On Wed, Oct 02, 2002 at 06:04:03PM -0500, James G Smith wrote:
> Alan <[EMAIL PROTECTED]> wrote:
> >Greetings again.
> >
> >I'm trying to figure out the best/fastest/most elegant way of setting
> >virtualhost based variables. Basically I have three sites, and the only
> >difference between them i
At 9:29 AM +0200 10/2/02, Sven Geisler wrote:
>Hi Alan,
>Hi Kee,
>
>I would say Kee is wrong.
>In our application, the development of which I am involved in, for a
>special case we need to write a cookie and redirect to another page.
Wouldn't be the first time I've been wrong. I do know that I w
Hi,
Somewhere read about converting urls to jpegs on the fly using modperl ??
Preferrably, to png
TIA
Alastair Stuart
Perl Person
i have been trying to write a handler that will provide me with session
data using the URL (eg, http://www.domain.com/$sessionid . $r->url) like
the eagle books has on p246.
in addition i am serving a cookie with that same $sessionid and then
comparing to two $sessionid's in order to prevent
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::Ma
Hi People,
I'm trying to figure out why something is happening and after a failed
very silly idea of forking, backticks, greps and strace, I seek your help!
Background
--
Using:
moya# /usr/local/sbin/httpd -v
Server version: Apache/1.3.26 (Unix)
Server built: Jul 2 2002 13:08:13
On
Hi People,
I'm trying to figure out why something is happening and after a failed
very silly idea of forking, backticks, greps and strace, I seek your help!
Background
--
Using:
moya# /usr/local/sbin/httpd -v
Server version: Apache/1.3.26 (Unix)
Server built: Jul 2 2002 13:08:13
On
Hi People,
I'm trying to figure out why something is happening and after a failed
very silly idea of forking, backticks, greps and strace, I seek your help!
Background
--
Using:
moya# /usr/local/sbin/httpd -v
Server version: Apache/1.3.26 (Unix)
Server built: Jul 2 2002 13:08:13
On
At 01:41 03.10.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.
What is the proper way to revert back to the default-handler from a
custom PerlHandler? My handler is only defined in ScriptAlias'd
locations. In the cases when I want the default-handler to process the
cgi request, that is have mod_cgi (i.e. perl-script) run the script I tried:
$r->handler(
Doug, All,
I am trying to install puresecure, which compiles apache and mod_perl, but
im getting the error:
htpasswd.c:145: conflicting types for `getline'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/include/stdio.h:445: previous
declaration of `getline'
which matches your discussion i found h
> 1) the sessions keys for the new sessions are twice as long as the old
> ones. generally, this is a good thing, but i am concerned that the old
> session data will not get read when the cookie is submitted. will the
> old sessions get read and reused, read and new ones created, totally
> ignor
hi perrin,
yes, i did read the discussion with interest a few months
back regarding what should be stored in a session and
what in the back end database. customer and order data
is properly stored in a secured back end system. the cart
contains data that i want to keep for 30 days, such
as cart
44 matches
Mail list logo