Re: apache::ASP

2002-11-05 Thread Josh Chamas
[EMAIL PROTECTED] wrote: Does this include an AddRotator? On Win32 platforms, whatever COM objects exist there can be accessed via the $Server-CreateObject API, but on Unix platforms $Server-CreateObject does not work. Please post future questions on Apache::ASP to [EMAIL PROTECTED] Regards,

win32 mod_perl 1 and perl 5.8

2002-11-05 Thread Jason Nicholls
G'day, ATM we're working on a win32 platform with apache 1.3.27, Perl 5.6, and mod_perl 1.27_01. I was reading the OS specific documentation at: http://perl.apache.org/docs/1.0/os/win32/multithread.html and discovered that with this particular setup mod_perl is effectively single threaded.

Re: win32 mod_perl 1 and perl 5.8

2002-11-05 Thread Randy Kobes
On Mon, 4 Nov 2002, Jason Nicholls wrote: G'day, ATM we're working on a win32 platform with apache 1.3.27, Perl 5.6, and mod_perl 1.27_01. I was reading the OS specific documentation at: http://perl.apache.org/docs/1.0/os/win32/multithread.html and discovered that with this

When using Apache::DBI...

2002-11-05 Thread Clinton Gormley
Am I correct in this: Apache::DBI can only really do its stuff when you perform a DBI-connect, so by calling $dbh = DBI-connect(..) during PerlChildInit and then never trying to reconnect, you are defeating the purpose of using Apache::DBI. To expand on this, when Apache::DBI intercepts a

Apache::ChildExit released

2002-11-05 Thread Jim Schueler
A couple of months ago I posted my realization that I was experiencing many problems with Apache::Registry due to its treatment of module END blocks. No one responded with a workaround, so I have released my own. The module Apache::ChildExit is now available on CPAN:

Re: Apache::ChildExit released

2002-11-05 Thread Geoffrey Young
Jim Schueler wrote: A couple of months ago I posted my realization that I was experiencing many problems with Apache::Registry due to its treatment of module END blocks. No one responded with a workaround, so I have released my own. The module Apache::ChildExit is now available on CPAN:

use http-equiv to refresh the page

2002-11-05 Thread Wei Gao
Hi, this is not a mod_perl question, but rather a question to see if I have to use mod_perl to achive this. In my perl program executing in Apache web server, I have the following code: use CGI ; $query = new CGI ; $url = "http://www.mycite.com ; #The url

Re: When using Apache::DBI...

2002-11-05 Thread Perrin Harkins
Clinton Gormley wrote: Am I correct in this: Apache::DBI can only really do its stuff when you perform a DBI-connect, so by calling $dbh = DBI-connect(..) during PerlChildInit and then never trying to reconnect, you are defeating the purpose of using Apache::DBI. That's right. To expand on

Re: use http-equiv to refresh the page

2002-11-05 Thread Perrin Harkins
Wei Gao wrote: In my perl program executing in Apache web server, I have the following code: use CGI ; $query = new CGI ; $url = http://www.mycite.com ; #The url to refresh. print $query-header(-status='200 Ok', -type='text/html'); print htmlheadmeta http-equiv=\Refresh\

mp2/httpd2 perlio test fail register_cleanup CGI.pm error

2002-11-05 Thread Philip Burrow
Hi all. Read some nice things about mod_perl so I thought I'd try it. I tried mp1 with the latest 1.x of Apache but Apache just seg faulted if I tried to run it. So, I went on to httpd 2.x. Couple of problems though. Firstly, it fails 11/11 of the apr/perlio.t tests during make test. All other

Re: use http-equiv to refresh the page

2002-11-05 Thread Wei Gao
Thanks. I have tried "print $query-redirect('http://somewhere.else/in/movie/land') ;" before, which works fine as to redirect the user to the web page. However, if the user then tries to refresh this page, the CGI script is called again without any params, which result in "Internal Server

Re: use http-equiv to refresh the page

2002-11-05 Thread wsheldah
Any time you see an Internal Server Error, you should be looking in your apache server's error_log file to see what exactly the error was. That will help you (and the list) figure out what's going wrong. Wes Wei Gao [EMAIL PROTECTED] on 11/05/2002 06:10:34 PM To:Perrin Harkins [EMAIL

Re: use http-equiv to refresh the page

2002-11-05 Thread Perrin Harkins
Wei Gao wrote: I have tried print $query-redirect('http://somewhere.else/in/movie/land') ; before, which works fine as to redirect the user to the web page. However, if the user then tries to refresh this page, the CGI script is called again without any params, which result in Internal

Re: use http-equiv to refresh the page

2002-11-05 Thread Wei Gao
Thanks for the reminder. I think the reason that "print $query-redirect(-uri='http://www.mysite.com', -nph=1);" is not working, is because my program doesn't seem to know how to handle "nph". I am using Apach1.3.26 and Perl 5.6.1. I have "use CGI qw(:standard -nph) ;" at the beginning of

Re: ORACLE_HOME environment variable not set!

2002-11-05 Thread Gabriel C Millerd
On 31-Oct-02, Smejkal Petr wrote: I don't have any idea where the error message comes from. Do you know how to fix it? if you $ENV{ORACLE_HOME}='/your/path/here'; in startup.pl everything will be ok. there doesnt seem to be any problem resulting from the error. i put up with it for a

Re: use http-equiv to refresh the page

2002-11-05 Thread Chris Shiflett
Is using meta tag a \bad\ approach? Yes. It\'s something that Netscape added to their browser, which others may or may not add to their browsers. It\'s not part of any HTTP spec and isn\'t guaranteed to work, even on totally correct web browsers. A meta tag is not something

Apache::DB failing

2002-11-05 Thread Michael Maibaum
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I'm trying to get Apache::DB working, but currently, I am failing. I have used it previously with perl 5.6.1, but I have upgraded to 5.8 and I can't get it to work. Other mod_perl stuff works fine (I recompiled mod_perl and apache after

Re: use http-equiv to refresh the page

2002-11-05 Thread Perrin Harkins
Chris Shiflett wrote: A meta tag is not something unique to Netscape I said it was added by Netscape, and I'm pretty sure it was, back in 1.1 or 2.0. As with any other HTML tag, the meta tag does not need to be part of an HTTP specification in order to be valid. Also, it is guaranteed to

Re: use http-equiv to refresh the page

2002-11-05 Thread Chris Shiflett
Perrin Harkins wrote: Chris Shiflett wrote: http://www.w3.org/TR/html4/struct/global.html#h-7.4.4.2 Look a little further down that page: /*Note.* Some user agents support the use of META http://www.w3.org/TR/html4/struct/global.html#edef-META to refresh the current page after a specified

Re: use http-equiv to refresh the page

2002-11-05 Thread Perrin Harkins
Wei Gao wrote: Thanks for the reminder. I think the reason that print $query-redirect(-uri='http://www.mysite.com', -nph=1); is not working, is because my program doesn't seem to know how to handle nph. I am using Apach1.3.26 and Perl 5.6.1. I have use CGI qw(:standard -nph) ; at the

Re: use http-equiv to refresh the page

2002-11-05 Thread Perrin Harkins
Chris Shiflett wrote: I just wanted to mention that the meta tag as well as its http-equiv attribute are both official parts of the HTML standard and have been for quite some time. Netscape also introduced things like cookies and SSL, but that should in no way discredit the technology. I'm