On Fri, 30 Jun 2000, Edwin Pratomo wrote:
Ask Bjoern Hansen wrote:
On Thu, 29 Jun 2000, Drew Taylor wrote:
I'm hoping it's been done already, because the user-agent strings are
terribly inconsistent...
I needed something like that once and ended up with this:
sub UA {
my
Drew wrote:
I am about to embark on a journey to find/create a brower sniffing
module.
You may want to have a look at:
http://search.cpan.org/search?dist=HTTP-BrowserDetect
http://www.jamespo.ukshells.co.uk/perl/
Leon "mustn'treinventwheel"
--
Leon Brocard | perl "programmer"
No wonder Nathan Wiger on Jun 29 said that,
NW] NW] In any case, I have several questions:
NW] NW]
NW] NW] 1. Does a module like this exist anywhere?
NW]
NW] You may want to take a look at AppConfig module. It does provide
NW] generic capability to parse various kinds of config
I've just installed mod_perl (of which I have no previous experience) on
my server and configured it apparently correctly for a single site
server. The site runs scripts quite happily, notably POST methods are
accepted.
Then I start setting up virtual hosts, post requests are no accepted on
Is there any way I can write RAW_ARGS config directives like:
AxMedia screen
...
/AxMedia
And have the bit between the tags passed through to apache for processing?
The eagle book only seems to detail processing all the directives between
the tags myself. But I want to be more modular than
-Original Message-
From: Edwin Pratomo [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 29, 2000 10:06 PM
To: [EMAIL PROTECTED]
Subject: Re: Browser Sniffing
Ask Bjoern Hansen wrote:
On Thu, 29 Jun 2000, Drew Taylor wrote:
I'm hoping it's been done already, because the
[EMAIL PROTECTED] wrote:
Simple first stage question:-
Your not using mod_rewrite at all (it took me 6 hours to work out that that was
causing the same problem for me).
I wasn't but I am now and it's made no difference.
Next ;-)
Jon.
Is there a way to compile Apache 1.3.3 with mod_perl 1.21 and perl 5.6.0 (Solaris 2.6)?
I get Apache compiled with perl 5.004_04 and all works fine. But with perl 5.6.0 the
compilation stopped and produced the following output:
mod_perl.c: In function `perl_startup':
mod_perl.c:663: warning:
Jon Wyatt wrote:
[EMAIL PROTECTED] wrote:
Simple first stage question:-
Your not using mod_rewrite at all (it took me 6 hours to work out that that was
causing the same problem for me).
I wasn't but I am now and it's made no difference.
I'm going to change my mind now. I'm
Sorry, only just got back onto this mailing list...
I've done some initial work on a module and registered the HTTP::Browscap
namespace on CPAN, although I've been a bit slack on it lately.
Have a look here
http://www.jamespo.ukshells.co.uk/perl/
James
Steven Wren ([EMAIL PROTECTED]) said something to this effect:
Hey
I am setting up shopping facilities for an online purchases and thought I
would try modperl. Problem is I am trying to set a cookie and then read
from it in the same handler, by setting the cookie then redirecting to the
-Original Message-
From: darren chamberlain [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 30, 2000 8:48 AM
To: Steven Wren
Cc: [EMAIL PROTECTED]
Subject: Re: Session Cookies:cant retrieve value
[snip]
Try setting the cookie in an early phase of the request
Geoffrey Young ([EMAIL PROTECTED]) said something to this effect:
-Original Message-
From: darren chamberlain [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 30, 2000 8:48 AM
To: Steven Wren
Cc: [EMAIL PROTECTED]
Subject: Re: Session Cookies:cant retrieve value
[snip]
Leon Brocard wrote:
Drew wrote:
I am about to embark on a journey to find/create a brower sniffing
module.
You may want to have a look at:
http://search.cpan.org/search?dist=HTTP-BrowserDetect
http://www.jamespo.ukshells.co.uk/perl/
Ahhh, guess I should have searched CPAN a
Jon Wyatt wrote:
[EMAIL PROTECTED] wrote:
Simple first stage question:-
Your not using mod_rewrite at all (it took me 6 hours to work out that that was
causing the same problem for me).
I wasn't but I am now and it's made no difference.
I'm going to change my mind
[EMAIL PROTECTED] wrote:
Is there a way to compile Apache 1.3.3 with mod_perl 1.21 and perl 5.6.0 (Solaris
2.6)?
I get Apache compiled with perl 5.004_04 and all works fine. But with perl 5.6.0 the
compilation stopped and produced the following output:
mod_perl.c: In function
Gunther Birznieks wrote:
Would you mind please submitting this as a standard NON-Apache CPAN module?
There are too many modules (even 1 is too many... ;)) under the Apache::*
moniker that actually can be used in generic CGI programs.
The fixuphandler sounds interesting, but I would
-Original Message-
From: darren chamberlain [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 30, 2000 9:29 AM
To: Geoffrey Young
Cc: [EMAIL PROTECTED]
Subject: Re: Session Cookies:cant retrieve value
Geoffrey Young ([EMAIL PROTECTED]) said something to this effect:
I've tried -Accflags=-DPERL_POLLUTE already, but it didn't work.
Our Apache has several "own" undocumented modules implemented.
In order to use Apache 1.3.12+ I have to rewrite the whole source.
Winni
-Urspr üngliche Nachricht-
Von: Jay J [SMTP:[EMAIL PROTECTED]]
Gesendet am:
Matt Sergeant [EMAIL PROTECTED] wrote:
Is there any way I can write RAW_ARGS config directives like:
AxMedia screen
...
/AxMedia
And have the bit between the tags passed through to apache for processing?
The eagle book only seems to detail processing all the directives between
the tags myself.
On Mon, 19 Jun 2000, Matt Sergeant wrote:
On Mon, 19 Jun 2000, Edwin Pratomo wrote:
how to get configuration values at run-time, such as DirectoryIndex?
I don't think you can - that configuration directive is specific to
mod_index, and only mod_index can access it, AFAIK.
Yes you
On Fri, 30 Jun 2000, Dan Rench wrote:
On Mon, 19 Jun 2000, Matt Sergeant wrote:
On Mon, 19 Jun 2000, Edwin Pratomo wrote:
how to get configuration values at run-time, such as DirectoryIndex?
I don't think you can - that configuration directive is specific to
mod_index, and
got problem with the DBD-Oracle-1.03 module under
Solaris 8 with
Oracle 8.1.5. Things work fine when I set the
environment variable
TWO_TASK=T:solaris:orcl but when I do this I have
problem running
Oracle Server Manager (svrmgrl), so I will have to
unset the TWO_TASK
variable again before
* at 30/06 10:18 +0800 Gunther Birznieks said:
At 09:06 AM 6/30/00 +0700, Edwin Pratomo wrote:
this doesn't seem to be aware of either WAP browsers or the emulators.
A typical usage of this is to return WML pages if the request comes from
a WAP browser, otherwise return html pages.
Hmm, I was just adapting a large application I wrote some years ago to work
with mod_perl. Much to my amazement, despite its complexity and the fact that
it was largely written before mod_perl, it worked without modification! Well,
almost. There is one problem:
When handling form uploads, it
OK thanks,
but how I create a global variable, which will be
global for all apache processes together ?
and I have nother problem what is a right usage of
using DBI in script ?
I have a Apache::DBI , DBI and connect_on_init in my
startup.pl and connection is established OK.
what should than i
hi,
sorry for the off-topic-ness, but I'm being bitten by a
variable-scope problem, and maybe if someone is kind enough can help me
out. Off-list, of course.
I'm writing a module that is called under from embperl and registry
scripts, and I'm finding that the following structure doesn't
hi,
sorry for the off-topic-ness, but I'm being bitten by a
variable-scope problem, and maybe if someone is kind enough can help me
out. Off-list, of course.
I'm writing a module that is called under from embperl and registry
scripts, and I'm finding that the following structure doesn't
On Fri, 30 Jun 2000, Matt Sergeant wrote:
Is there any way I can write RAW_ARGS config directives like:
AxMedia screen
...
/AxMedia
And have the bit between the tags passed through to apache for processing?
The eagle book only seems to detail processing all the directives between
the
On Fri, 30 Jun 2000, Doug MacEachern wrote:
On Fri, 30 Jun 2000, Matt Sergeant wrote:
Is there any way I can write RAW_ARGS config directives like:
AxMedia screen
...
/AxMedia
And have the bit between the tags passed through to apache for processing?
The eagle book only
Hi,
I am sorry, actually I know that this is not the right forum to post this
question, but my other tries did not succeed.
Can you please tell me, can I subscribe to comp.lang.perl.misc as a mailing
list. I am having problem through my newsreader reading it.
thanks
hi,
sorry for the off-topic-ness, but I'm being bitten by a
variable-scope problem, and maybe if someone is kind enough can help me
out. Off-list, of course.
I'm writing a module that is called under from embperl and registry
scripts, and I'm finding that the following structure
The patch I posted yesterday has a problem
dealing with client disconnects - your server will hang if
the upload is interrupted )!
This new patch should be ok.
I put a lot of comments in it explaining
what I think is happening with the memory allocation.
I think that under normal conditions
Hi,
I sent an earlier post with a script that was appending garbage along with
user email addresses that were submitted through a form. After seeing all
the suggestions about improvement, I went ahead and rewrote the script from
scratch (it's much shorter now!). My version actually prevents
Hi,
this doesn't concern modperl directly, but often enough disk I/O can be a
serious bottleneck. I found the following article from OReillyNet quite
interesting: http://oreilly.linux.com/pub/a/linux/2000/06/29/hdparm.html .
-- robin b.
Prediction is very difficult, especially of the future.
35 matches
Mail list logo