We are running 5.6 on 2 production servers with mod_perl 1.23 and 1.24,
Apache 1.3.12, Apache::DBI, DBD::Sybase (to MSSQL), and DBD::mysql. One box
is Linux. The other is Solaris 2.7. So far no issues other than
"depreciated" notices on some modules, and our own programming errors.
Serving ~6M
Hi all,
How can one redirect HTML docs to
different frames from WITHIN a single PERL script
Example I have a perl script which generates 3 HTML code output for
three frames. Now how can I specify that this HTML is for this frame
Please suggest me.
Thanks
sadha
Hello,
print "Content-type: text/html\n\n";
print "HTMLHEAD";
print "META HTTP-EQUIV=\"Set-Cookie\" CONTENT=\"visirotid=$visitorid;
path=/
; domain=www.trichurgateway.com;\"";
print "/HEADBODY/BODY/HTML\n";
Immediately after this, Iam trying the recirect.
print
thanx, i will try with it.
al ;-)
REPLY-
at 25.05.00 12:24 Doug MacEachern wrote:
On Thu, 25 May 2000, Alexander Lazic wrote:
hi,
i search for the Apache::Safe Module which isnĀ“t in mod_perl-1.24
included.
it doesn't exist. i had
On Thu, 25 May 2000, Jason Bodnar wrote:
Definitely read the perltoot (Tom's OO Tutorial). I've heard alot of good
things about Damian Conway's OO Perl book but I haven't read it myself.
Damian's book is the book to end all perl books in my opinion - I wouldn't
dream of hiring anyone who
On Fri, May 26, 2000 at 01:36:33AM -0400, Jeff Stuart wrote:
Ok, follow up question if I may. :) Are any of you using it with DBI and
DBD::mysql? I see on the Mason list that people are using it with
HTML::Mason so that module is safe. :) Looks like I'm gonna have to pull
out that old
Hi,
I'm trying to use Eagle book-like URL rewriting to track sessions and
I'd like to log session id in the 'user' field (so Analog can do all
kind of usefull stats about sessions). I hoped I could just set 'user'
throught Apache::Connection's user method, but it seems to be read-only.
Is
Jason Bodnar [EMAIL PROTECTED] writes:
Definitely read the perltoot (Tom's OO Tutorial). I've heard alot of good
things about Damian Conway's OO Perl book but I haven't read it myself. The
advanced perl programming book has a nice section on OO. But, learning OO
in a Java or C++ context
On Fri, May 26, 2000 at 09:55:12AM +0200, Robert wrote:
I'm trying to use Eagle book-like URL rewriting to track sessions and
I'd like to log session id in the 'user' field (so Analog can do all
kind of usefull stats about sessions). I hoped I could just set 'user'
throught
The guys I've been working with for the last couple of weeks need a
contractor to start moving their more heavily hit scripts to
mod_perl. It's likely to be at least a three month gig, but they're
looking for someone with real world mod_perl battlefield
experience. Then some general code
On Fri, 26 May 2000, Robert wrote:
Hi,
I'm trying to use Eagle book-like URL rewriting to track sessions and
I'd like to log session id in the 'user' field (so Analog can do all
kind of usefull stats about sessions). I hoped I could just set 'user'
throught Apache::Connection's user
On Fri, 26 May 2000, Robert wrote:
Hi,
I'm trying to use Eagle book-like URL rewriting to track sessions and
I'd like to log session id in the 'user' field (so Analog can do all
kind of usefull stats about sessions). I hoped I could just set 'user'
throught Apache::Connection's user
I have written a handler for delivering select images for a particular
class of URIs based upon a database item that the user sets in advance.
This allows us to "skin" some HTML allowing the user to select their look
of choice.
The problem I have is that IE5 (and perhaps other browsers and
I have a number of apache servers on various hosts, not all of them are to
be mod_perl enabled. So, I tried to build apache with mod_perl as a DSO in
order to enable mod_perl via the httpd.conf file if needed.
I tried building mod_perl-1.24 as a DSO for apache-1.3.14 on my Irix
platform.
Hi there,
On Thu, 25 May 2000, Ime Smits wrote:
| [error] Undefined subroutine Apache::ASP::handler called.
| what does it mean?
| How to fix it?
I think something went wrong during the Apache::ASP installation.
Consider installing Apache::ASP once again with the cpan installer
X-Authentication-Warning: mojo.covalent.net: dougm owned process doing -bs
Date: Thu, 25 May 2000 13:21:04 -0700 (PDT)
From: Doug MacEachern [EMAIL PROTECTED]
To: Mark Murphy [EMAIL PROTECTED]
cc: [EMAIL PROTECTED]
Subject: Re: mod_perl 1.24 testing keeps failing
MIME-Version: 1.0
On Thu, 25
The problem I have is that IE5 (and perhaps other browsers
and versions)
but NOT Netscape 4.x have absolutely no respect for cache-control.
IE5 can be set up to ignore any cache directives and keep a document
for either the duration of the session or forever. (Or reload it every
single time
Jason Bodnar wrote:
Probably the best way to learn good OO Perl is to learn Java or C++. As
Gunther said, other languages are much more strict so they force you to
write good OO stuff. I had been programming with Perl 4 before Java came
out and had never done any OO stuff. I actually argued
Tom Mornini wrote:
I have written a handler for delivering select images for a particular
class of URIs based upon a database item that the user sets in advance.
This allows us to "skin" some HTML allowing the user to select their look
of choice.
The problem I have is that IE5 (and
In our experience the only thing that guarantees no cacheing is returning
302. Also appending a query string (even an empty one) to the redirect URI
seems to make it even more solid.
So in your script you would build up your destination URI, append
'?foo=bar' to the end of it, and return it as
I've noticed something peculiar with Apache::ASP. It does not seem to be
initializing variables to 0. That is, if I load one ASP webpage that sets
a variable to X, then in the next ASP webpage the variable is initialized
to X instead of 0. Is this intended behavior, or is it a bug?
Also, I was
"Jason" == Jason Bodnar [EMAIL PROTECTED] writes:
Jason Definitely read the perltoot (Tom's OO Tutorial).
And don't forget "perlboot" in the 5.6 distribution, aimed more at the
"I know some Perl but nothing about OO crowd". The approach I took in
perlboot is the one that Damian would have
"Jason" == Jason Bodnar [EMAIL PROTECTED] writes:
Jason Probably the best way to learn good OO Perl is to learn Java or C++.
No. Gawd no. Java and C++ are "hybrid" OO languages, with some
"real" objects and some "primitive" non-objects. You learn evil
habits that way. (Of course, Perl is
At 09:50 AM 5/26/00 -0400, Drew Taylor wrote:
Jason Bodnar wrote:
Probably the best way to learn good OO Perl is to learn Java or C++. As
Gunther said, other languages are much more strict so they force you to
write good OO stuff. I had been programming with Perl 4 before Java came
out
I'm trying to set multiple cookies with $r-header_out('Set-Cookie' =
$custCookie); I tried having 2 header_out calls with the Set-Cookie key,
but then only the second one got set. Do I need to use Apache::Cookie?
Is there a way to set multiple cookies ala CGI.pm? ( ie
$self-{CGI}-header(-cookie =
From the man pages of Apache
$r-headers_out-add('Set-Cookie',$cookie);
:)
Thank you both for the quick response. I was just reading pg 443 which
was telling me about the $r-headers_out reference to Apache::Table.
[EMAIL PROTECTED] wrote:
From the man pages of Apache
$r-headers_out-add('Set-Cookie',$cookie);
:)
--
Drew Taylor
Vialogix Communications, Inc.
Hello,
Thanks for the suggestion. However, I have a problem still left out.
The redirection is loading the redirected page properly. But, it still shows
the URL as the same from where it is redirected.
As below:
My form calls the script
"/scripts/visitorinfo.cgi?pageid=delmaillang=ENadno=1".
-Original Message-
From: Drew Taylor [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 26, 2000 10:44 AM
To: modperl
Subject: Sending multiple cookies per request
I'm trying to set multiple cookies with $r-header_out('Set-Cookie' =
$custCookie); I tried having 2 header_out calls
I tried out Apache::GzipChain for dynamic mod_perl pages (using Apache::Registry), and
it was great for reducing the download time (especially over modem). I am seriously
thinking about using it for our production environment. However, some people are
concerned about it using up too much
I tried out Apache::GzipChain for dynamic mod_perl pages (using
Apache::Registry), and it was great for reducing the download ime
(especially over modem). I am seriously thinking about using it for our
production environment. However, some people are concerned about it using
up too much
| Hi all,
|
| How can one redirect HTML docs to
|different frames from WITHIN a single PERL script
|
| Example I have a perl script which generates 3 HTML code output for
| three frames. Now how can I specify that this HTML is for this frame
You can't. What I do is let my
Hi all,
Sorry if it is an incorrect list to ask...
I have a strange problem with mod_perl. I've tested mod_perl using a very
simple scripts (one of them is attached). The network load is emulated via LAN
using a special proggy. The problem is: under load above 20 requests per second
after
James G Smith wrote:
Sergey Ivanyuk [EMAIL PROTECTED] wrote:
Hi All.
I'm trying to implement a real simple authentication scheme, where the
login page sets a cookie to the users's browser, and unless the cookie
is set, any request beyond the login page gets redirected to login.
I've
"MOORHOUSE," == MOORHOUSE, John NW Group Risk
[EMAIL PROTECTED] writes:
MOORHOUSE, Can anyone advice me of a good general perl mail list,
The newsgroup comp.lang.perl.moderated works pretty well - subscribe
via www.deja.com if you prefer not to fire up a Usenet newsreader.
[this answer could
Greetings,
I am pleased to announce that Apache::Session version 1.50 has been
released. This is a major update from the previous version.
Notable updates include:
*Support for Postgres as a backing store
*Support for Berkeley DB as a backing store
*Support for serialization into ASCII
Well forcing you to write objects does not mean you know how to write good
objects. With that said here is my very small cookbook:
1: know your tools, what they can and cannot do AND what they should and
should not do.
2: when you get the problem try to understand it before you start the design
On Fri, 26 May 2000, Jeff Stuart wrote:
Ok, follow up question if I may. :) Are any of you using it with DBI and
DBD::mysql? I see on the Mason list that people are using it with
HTML::Mason so that module is safe. :) Looks like I'm gonna have to pull
Except that if you use the html
Randal L. Schwartz writes:
[snip]
Or, I hesitate to say this here, but it's accurate: try Python.
Decent object model... just an overly verbose syntax and that horrific
"you must indent your code the way Guido wanted or Guido will make a
visit to your house" indenting style.
What about
Neil Conway writes:
I'm probably a novice programmer, at least by the standards of
most of the people on this list. I'm 16, and since I haven't taken
Computer Science at university yet, I'm a bit lacking in 'formal
programming education'. I'd rather not form bad habits - is there
any advice
Reposting.
- Original Message -
From: "Vijay" [EMAIL PROTECTED]
To: "Gerald Richter" [EMAIL PROTECTED]; "Modperl Mailing List"
[EMAIL PROTECTED]
Sent: Friday, May 26, 2000 10:58 AM
Subject: Re: Wierd problem with redirect
Hello,
Thanks for the suggestion. However, I have a problem
-Original Message-
From: amy [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 26, 2000 1:51 PM
To: [EMAIL PROTECTED]
Subject: ques on error msg
every now and then I got some error messages in
the file /logs/error_log, but everything works fine.
## first error
Use of
I get the following on startup:
Script started on Fri May 26 12:02:56 2000
doctor.nl2k.ab.ca//var/www/conf$ apachectl top stop
/usr/contrib/bin/apachectl stop: httpd stopped
doctor.nl2k.ab.ca//var/www/conf$ apachectl stop
/usr/contrib/bin/apachectl stop: httpd (no pid file) not
Does this new release mean I connot use Oracle as the backing store?
-Bill
I am pleased to announce that Apache::Session version 1.50 has been
released. This is a major update from the previous version.
Notable updates include:
*Support for Postgres as a backing store
*Support for
Hello all...
Having a wacky problem that I can't seem to figure out...
(Apache-1.3.12, mod_perl-1.24, ApacheDBI-0.87)
I have two NameVirtualHosts, we'll call them host1.foo.com and
host2.foo.com, both running on the same IP on the same server. Both
are similar sites, so I've moved a lot of
Bruce Lo wrote:
I tried out Apache::GzipChain for dynamic mod_perl pages (using Apache::Registry),
and it was great for reducing the download time (especially over modem). I am
seriously thinking about using it for our production environment. However, some
people are concerned about it
On Fri, May 26, 2000 at 11:48:41AM -0700, Jeffrey W. Baker wrote:
Doesn't 1.03 fail with truncated longs? If not, can you send me a
description of your table?
-jwb
I was using Oracle for the DBIstore with the following table:
SQL desc sessions
NameNull?
My Apache::ASP module doesn't seem to work. I
have built Apache 1.3.12 with mod_perl enabled in static mode. All the necessary
modules like Apache-Filter, Apache-SSI,Devel-Symdump have been installed.
Copied the ./site/eg/ directory from the Apache::ASP installation to the
Apache document
Devin Ben-Hur wrote:
Bruce Lo wrote:
I tried out Apache::GzipChain for dynamic mod_perl pages (using Apache::Registry),
and it was great for reducing the download time (especially over modem). I am
seriously thinking about using it for our production environment. However, some
people
On Fri, May 26, 2000 at 10:33:15AM -0400, Geoffrey Young [EMAIL PROTECTED] wrote:
mod_perl sometimes requires special perl coding guidelines, due in part to
the way mod_perl works with and within apache.
I know this and I have no problems with that (as I made very clear in my
last mail). But
Hello there...
I was wondering, with the new Pg-specific support you've got going with
Apache::Session, does it handle Pg blobs transparently?
The regular limit on the size of a tuple in Pg is 8k, which can be a
problem if I'm trying to put more than that into my Apache::Session
tied hash.
Doug MacEachern wrote:
On Wed, 24 May 2000, Fred Miller wrote:
Like I said, I'm a bit naive in these matters. I didn't specify using
gcc or cc. I used the same path to compile Perl, Apache, and Mod_Perl.
When I aaksed which gcc and which cc, my machine does report gcc
appearing in my
you should be able to debug this pretty well by doing some or all of the
following:
set $Apache::DBI::DEBUG=2 in startup.pl
set PerlWarn On in httpd.conf
use strict;
run in httpd -X
see
http://perl.apache.org/guide/porting.html#Sometimes_it_Works_Sometimes_it
HTH
--Geoff
-Original
On Fri, 26 May 2000, Richard Dice wrote:
Hello there...
I was wondering, with the new Pg-specific support you've got going with
Apache::Session, does it handle Pg blobs transparently?
The regular limit on the size of a tuple in Pg is 8k, which can be a
problem if I'm trying to put more
"Drew" == Drew Taylor [EMAIL PROTECTED] writes:
Drew I have read debates in the past about which browsers will reliably
Drew accept gzip content. Do you have a list of such browsers? IIRC, it was
Drew IE that was the most troublesome w/ proper display.
Why base it on browser? Won't checking
I've been lurking on this list for a long time, learning tons, implementing some
things on
my own, helping out as I can (which isn't much).
I feel like I know all the frequent posters on the list by now. It's funny how that
happens, but I can recognize each person's "tone," like a familiar
"Randal L. Schwartz" wrote:
"Drew" == Drew Taylor [EMAIL PROTECTED] writes:
Drew I have read debates in the past about which browsers will reliably
Drew accept gzip content. Do you have a list of such browsers? IIRC, it was
Drew IE that was the most troublesome w/ proper display.
Why
On Fri, May 26, 2000 at 12:25:39PM -0700, Jeffrey W. Baker wrote:
Yes it would be great to break the 8K (actually slightly less) limit, if
it doesn't hamper performance too much. I read the docs on the Postgres
web site, but I didn't find anything interesting about blob support.
I'm working
Repost of my earlier message. Sorry for the inconvenience. As this is very
irksome, I am really sorry for any troubles.
Vijay
- Original Message -
From: "Vijay" [EMAIL PROTECTED]
To: "Gerald Richter" [EMAIL PROTECTED]; "Modperl Mailing List"
[EMAIL PROTECTED]
Sent: Friday, May 26, 2000
Vijay wrote:
Repost of my earlier message. Sorry for the inconvenience. As this is very
irksome, I am really sorry for any troubles.
Vijay
- Original Message -
From: "Vijay" [EMAIL PROTECTED]
To: "Gerald Richter" [EMAIL PROTECTED]; "Modperl Mailing List"
[EMAIL PROTECTED]
On Fri, 26 May 2000, Nick Tonkin wrote:
In our experience the only thing that guarantees no cacheing is returning
302. Also appending a query string (even an empty one) to the redirect URI
seems to make it even more solid.
So in your script you would build up your destination URI, append
Hi,
This solved my problem. Thanks everyone for your help.
Vijay
- Original Message -
From: "Biggs, Jody" [EMAIL PROTECTED]
To: "'Vijay'" [EMAIL PROTECTED]
Cc: "Modperl Mailing List (E-mail)" [EMAIL PROTECTED]
Sent: Friday, May 26, 2000 4:59 PM
Subject: RE: Weird problem with redirect
Unless you specify an absolute URL for the Location header, Apache will do
an internal redirect (i.e., it won't send a redirect to the browser, it will
just recognize that you're trying to redirect them, and just transfer the
request to the new page).
so do:
print "$mycookie\n";
print
Any body knows how to access Microsoft SQL/on NT from Apache on Linux ?
Our data base is running on NT/SQL , but web server is running Apache/Linux
Thanks,
PC Wang
On Fri, 26 May 2000, amy wrote:
## second error
DBI::db=HASH(0x1ff304)-disconnect invalidates 1 active
statement handle (either destroy statement handles or call
finish on them before disconnecting) at
/usr/local/bin/apache/cgi-bin/lib.pl line 41.
##
I avoid this type of error by pushing
yes - i agree - but i think it is strict or strict vars, not strict subs or refs.
Ed Phillips wrote:
with the caveat that if(@array) will produce a warning under strict sub refs if as
yet undefined.
You may sometimes still want to use defined.
comments?
Ed
___cliff rayman___ wrote:
I've been working lately on releasing the new documentation build package.
Among other new things creating the split guide version, to accomodate the
search engines needs. Along the way I've improved the design a bit, you
have seen a part of it at the beginning of the month, here is the second
On Fri, 26 May 2000, Jeffrey W. Baker wrote:
I have released Apache::Session 1.51. The addition of the Oracle backing
store took less time than expected. It is included and tested in this
release. This is the only change from 1.50.
My Apache::ASP module doesn't seem to work. I have
built Apache 1.3.12 with mod_perl enabled in static
mode. All the necessary modules like Apache-Filter,
Apache-SSI,Devel-Symdump have been installed.
Copied the ./site/eg/ directory from the Apache::ASP
installation to the Apache document tree
On Tue, May 23, 2000 at 10:05:01AM +0200, Marc Lehmann wrote:
On Tue, May 23, 2000 at 12:56:28AM -0500, Autarch [EMAIL PROTECTED] wrote:
On Tue, 23 May 2000, Marc Lehmann wrote:
stable (mod_perl really is very unstable for large applications). Apart
Wow, I wish you'd warned me
At 03:08 PM 5/26/00 -0400, Richard Dice wrote:
Hello there...
I was wondering, with the new Pg-specific support you've got going with
Apache::Session, does it handle Pg blobs transparently?
The regular limit on the size of a tuple in Pg is 8k, which can be a
problem if I'm trying to put more
At 02:24 PM 5/26/00 -0300, you wrote:
Neil Conway writes:
I'm probably a novice programmer, at least by the standards of
most of the people on this list. I'm 16, and since I haven't taken
Computer Science at university yet, I'm a bit lacking in 'formal
programming education'. I'd rather
On Fri, 26 May 2000, Perrin Harkins wrote:
On Fri, 26 May 2000, Jeffrey W. Baker wrote:
I have released Apache::Session 1.51. The addition of the Oracle backing
store took less time than expected. It is included and tested in this
release. This is the only change from 1.50.
dougm 00/05/26 08:07:53
Modified:src/modules/perl modperl_tipool.c modperl_tipool.h
Log:
fix #ifdefs
Revision ChangesPath
1.2 +2 -2 modperl-2.0/src/modules/perl/modperl_tipool.c
Index: modperl_tipool.c
dougm 00/05/26 13:34:51
Modified:src/modules/perl modperl_callback.c modperl_callback.h
modperl_interp.c modperl_log.h modperl_tipool.c
modperl_tipool.h modperl_types.h
Log:
don't cache get_cv() in the server config structure
75 matches
Mail list logo