Re: Browser Sniffing

2000-06-30 Thread Matt Sergeant
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

RE: Browser Sniffing

2000-06-30 Thread Leon Brocard
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"

Re: Apache::Config module

2000-06-30 Thread Hasanuddin Tamir
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

Virtual Hosts and POST

2000-06-30 Thread Jon Wyatt
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

Config directives question

2000-06-30 Thread Matt Sergeant
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

RE: Browser Sniffing

2000-06-30 Thread Geoffrey Young
-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

Re: Virtual Hosts and POST

2000-06-30 Thread Jon Wyatt
[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.

mod_perl and perl 5.6.0

2000-06-30 Thread Winfried . Soltys
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:

Re: Virtual Hosts and POST

2000-06-30 Thread Jon Wyatt
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

Browser Sniffing

2000-06-30 Thread James Powell
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

Re: Session Cookies:cant retrieve value

2000-06-30 Thread darren chamberlain
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

RE: Session Cookies:cant retrieve value

2000-06-30 Thread Geoffrey Young
-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

Re: Session Cookies:cant retrieve value

2000-06-30 Thread darren chamberlain
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]

Re: Browser Sniffing

2000-06-30 Thread Drew Taylor
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

Re: Virtual Hosts and POST

2000-06-30 Thread Jay J
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

Re: mod_perl and perl 5.6.0

2000-06-30 Thread Jay J
[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

Re: Browser Sniffing

2000-06-30 Thread Drew Taylor
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

RE: Session Cookies:cant retrieve value

2000-06-30 Thread Geoffrey Young
-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:

AW: mod_perl and perl 5.6.0

2000-06-30 Thread Winfried . Soltys
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:

Re: Config directives question

2000-06-30 Thread James G Smith
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.

Re: Reading config

2000-06-30 Thread Dan Rench
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

Re: Reading config

2000-06-30 Thread Matt Sergeant
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

DBD-Oracle-1.03

2000-06-30 Thread sridhar balaram
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

Re: Browser Sniffing

2000-06-30 Thread struan
* 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.

Cryptic Apache::Registry read() behavior

2000-06-30 Thread Cyrus Rahman
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

Global variables II [and DBI]

2000-06-30 Thread Tomas Zeman
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

[OT] Var Scope question (under mod_perl, of course!)

2000-06-30 Thread Martin Langhoff
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

[OT] Var Scope question (under mod_perl, of course!)

2000-06-30 Thread Martin Langhoff
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

Re: Config directives question

2000-06-30 Thread Doug MacEachern
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

Re: Config directives question

2000-06-30 Thread Matt Sergeant
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

mailing list

2000-06-30 Thread sethipra
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

RE: [OT] Var Scope question (under mod_perl, of course!)

2000-06-30 Thread Gerald Richter
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

new multipart_buffer patch for libapreq

2000-06-30 Thread joe
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

RE: can't properly append to file from mod_perl script

2000-06-30 Thread Rob Egan
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

[OT] improving IO performance

2000-06-30 Thread Robin Berjon
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.