FYI-- here are some Apache::Session benchmark results. As with all
benchmarks, this may not be applicable to you.
Thanks for taking the time to run these and write up the results.
Benchmark: This benchmark measures the time taken to do a create/read for
1000 sessions. It does not destroy
I want to Authenticate through the PWD interface in telnet in the CommuniGate Pro mail
server. I got connected to the server at port 106 (default), but I can't type a thing
at the console. Please help
Koh Kok Wei
Web Developer
Dream Tree (M) Sdn. Bhd.
Level 59, Tower 2, Petronas Twin Towers
Question: does anyone know how to pre-specify the _session_id for the
session, rather than allowing Apache::Session to set it and read it? I
saw
some posts about it a while back, but no code...
Isn't it just this?
tie %session, 'Apache::Session::Foobar', $id;
That only works if the
On Tue, 12 Dec 2000, Gunther Birznieks wrote:
At 09:58 AM 12/11/00 +, Matthew Byng-Maddick wrote:
On Sun, 10 Dec 2000, Gunther Birznieks wrote:
For example, perhaps the mod_perl server and the HTML/images server should
be separately chrooted from each other? That way, someone who
Gerald Richter sent the following bits through the ether:
That only works if the session id already exists. If the session id doesn't
exists, Apache::Session will throw an exception (die)
The documentation implies that is it currently possible to do so. I'd
love for it to be possible to do
On Tue, 12 Dec 2000, Jeremy Howard wrote:
Joshua Chamas wrote:
If you are using CGI.pm object methods, I would worry about calling
all those methods to build your HTML and if you are performance
minded, I would use them frugally.
IIRC, CGI.pm is actually slower to run the functional
Gerald Richter sent the following bits through the ether:
That only works if the session id already exists. If the session id
doesn't
exists, Apache::Session will throw an exception (die)
The documentation implies that is it currently possible to do so.
But the perl code shows that it
I am trying to convert a cgi script to a mod_perl script, however when I
try to run the script I can a "Document contained no data error". I was
wondering if there are some standard causes for this kind of error.
Thanks in advance for any help.
Joe Grastara
Project Assistant
Digital Media
We have a strange problem using Redirects with Apache::ASP 2.03.
With this in the .htaccess file:
# .asp files for Session state enabled
Files ~ (\.asp)
SetHandler perl-script
PerlHandler Apache::ASP
PerlSetVar CookiePath /
PerlSetVar Global
I am trying to convert a cgi script to a mod_perl script, however when I
try to run the script I can a "Document contained no data error". I was
wondering if there are some standard causes for this kind of error.
http://perl.apache.org/guide/debug.html#Curing_The_Internal_Server_Erro
The most likely cause of this error is that your script is only
sending the http headers and not any content.
That said, there are several other things that could go wrong along
the way. For example, if your script's output ... most likely
$r-print("here is some stuff") ... is a single line
Does anyone have any mod_perl vs. mod_php benchmarks?
Jimi
begin:vcard
n:Thompson;Jimi
tel;pager:877-309-2784
tel;cell:817-980-7863
tel;work:817-619-3612
x-mozilla-html:FALSE
url:hww
adr:;;
version:2.1
email;internet:[EMAIL PROTECTED]
fn:Jimi Thompson
end:vcard
Hi All,
As of last Friday, www.modperl.com is back up. The Apache::MP3 demo
no longer works, unfortunately, because the thieves stole the hard
disk that all the MP3s were on. I'm hoping to get it working again
this week.
Thank you for the several offers of help that I received.
Lincoln
--
Perrin Harkins wrote:
Apache::Session::File - Dual-PIII-600/512MB/Linux 2.2.14SMP: Ran 4
times.
First time: ~2.2s. Second time: ~5.0s. Third time: ~8.4s. Fourth time:
~12.2s.
Is there any reason not to use a file tree approach (splitting first and
second characters of filenames into
"Jimi" == Jimi Thompson [EMAIL PROTECTED] writes:
Jimi Does anyone have any mod_perl vs. mod_php benchmarks?
Perl code gets 0 performance on PHP.
PHP code likewise gets 0 performance on Perl.
Given that, you've got to write different code on both, and you can
probably always come up with
How do I reliably remove a cookie from a browser's memory? I've only just
begun to experiment but it seems if I set the cookie to "" or undef
Apache::ASP doesn't send the right headers to remove the cookie. (Actually
undef seems to corrupt the cookie). I could just write a handler to set the
On Wed, 13 Dec 2000, Jeremy Howard wrote:
Perrin Harkins wrote:
Apache::Session::File - Dual-PIII-600/512MB/Linux 2.2.14SMP: Ran 4
times.
First time: ~2.2s. Second time: ~5.0s. Third time: ~8.4s. Fourth time:
~12.2s.
Is there any reason not to use a file tree approach (splitting
Can't load '../blib/arch/auto/HTML/Tree/Tree.so' for module HTML::Tree:
../blib/arch/auto/HTML/Tree/Tree.so: Undefined symbol
"__builtin_delete" at /usr/libdata/perl/5.00503/DynaLoader.pm line 169.
Any idea? I'm sure someone has run into this before.
System is FreeBSD 4.1
Thanks in advance.
Greg Stark wrote:
How do I reliably remove a cookie from a browser's memory? I've only just
begun to experiment but it seems if I set the cookie to "" or undef
Apache::ASP doesn't send the right headers to remove the cookie. (Actually
undef seems to corrupt the cookie). I could just write a
On Mon, Dec 11, 2000 at 10:14:56PM -0800, Joshua Chamas wrote:
[EMAIL PROTECTED] wrote:
Could you please explain the differences between
CGI Raw and CGI.pm? I'm using oo method of
CGI.
The Raw CGI test makes no use of CGI.pm, just issues raw print
statements that sets up the right
Maybe he meant php hello world vs perl hello world?
On Tue, Dec 12, 2000 at 01:16:59PM -0800, Randal L. Schwartz wrote:
"Jimi" == Jimi Thompson [EMAIL PROTECTED] writes:
Jimi Does anyone have any mod_perl vs. mod_php benchmarks?
Perl code gets 0 performance on PHP.
PHP code likewise
Does anyone have any mod_perl vs. mod_php benchmarks?
Given the fact you are the good programmer either would be about the same.
If you can't program your way out of a paper bag, benchmarks won't help
you. Benchmarks are for managers, are you the one?
pavel
Does anyone have problem with Apache 1.3.12 / Mod_perl 1.24 making it's
childs do segmentation faults whenever the server requested to execute a
perl module?
If I request a piece of graphics, it works fine, but not if the page is
generated by mod_perl. I have no compile errors, all the modules
"newsreader" == newsreader [EMAIL PROTECTED] writes:
newsreader Maybe he meant php hello world vs perl hello world?
And the point of such a comparison would be... what?
The real costs of a web application these days are the total product
costs, not the transactions-per-second costs. Until
On Tue, 12 Dec 2000, Ian Mahuron wrote:
Can't load '../blib/arch/auto/HTML/Tree/Tree.so' for module HTML::Tree:
../blib/arch/auto/HTML/Tree/Tree.so: Undefined symbol "__builtin_delete" at
/usr/libdata/perl/5.00503/DynaLoader.pm line 169.
Any idea? I'm sure someone has run into this
I've seen a similar issue on our machine. We're running:
- mod_perl 1.24
- apache 1.3.12-25
- RedHat 7.0
- plenty of spare RAM
and only when we include certain of our own Perl modules in startup.pl do we
see the following in the error_log:
[Mon Dec 11 13:11:17 2000] [notice] child pid 2991
At 01:47 PM 12/12/00, Joshua Chamas wrote:
Greg Stark wrote:
How do I reliably remove a cookie from a browser's memory?
Then Josh said:
What about setting the cookie with an expires date in the past?
$Response-{Cookies}{YourCookie} = {
Value = '',
Expires = -86400,
};
In
On Tue, Dec 12, 2000 at 02:53:30PM -0800, Randal L. Schwartz wrote:
"newsreader" == newsreader [EMAIL PROTECTED] writes:
newsreader Maybe he meant php hello world vs perl hello world?
And the point of such a comparison would be... what?
it will be to publish in your favorite
the Makefile.PL doesn't even work... can't find any references
to specific problems, figured i'd check before getting into the
gory details...
--
Steven Lembark 2930 W. Palmer St.
Chicago, IL 60647
[EMAIL
Please read the archives of this list before asking for Perl/PHP
comparisons. It has been discussed ad nauseum. There are many good
search interfaces for the list archives that will direct you to the
previous posts.
- Perrin
On Tue, 12 Dec 2000 [EMAIL PROTECTED] wrote:
What I really like to see compared is the development time of php vs perl code for a
given
problem. I've read ad nauseam about perl development time being shorter than C.
How does php compare to perl in this regard, I wonder.
I don't know about
I was working on an article for http://take23.org/ and thought I'd link
to the basic documentation you get with "perldoc Apache" after you've
installed mod_perl and I can't find a copy online.
Anybody point me to one?
Thanks much all.
Paul
On Tue, 12 Dec 2000, Perrin Harkins wrote:
Please read the archives of this list before asking for Perl/PHP
comparisons. It has been discussed ad nauseum. There are many good
search interfaces for the list archives that will direct you to the
previous posts.
To mention a few
On Tue, 12 Dec 2000, Paul wrote:
I was working on an article for http://take23.org/ and thought I'd link
to the basic documentation you get with "perldoc Apache" after you've
installed mod_perl and I can't find a copy online.
Anybody point me to one?
Look under
Anybody point me to one?
online docs for Apache.pm :
http://search.cpan.org/doc/DOUGM/mod_perl-1.24_01/Apache/Apache.pm
Back in May, 2000 I've started this page:
http://perl.apache.org/help_with_modules_wanted.html
when Doug was looking for a new owner for Apache::PerlVINC.
Now this page is empty, so this is to remind you that if you want to hand
off your module to a new family or you are in need for a generic
The CommGATE console. I telnetted into the IP:106. I see this line :
200 CommuniGate Pro PWD Server 3.3.2 ready [EMAIL PROTECTED]
I should be able to type USER user, then PASS pass but nothing comes out. Please help
Koh Kok Wei
Web Developer
Dream Tree (M) Sdn. Bhd.
Level 59, Tower 2,
I've stumbled upon mod_raah while reading http://simplex.ru/news/koi/
(sorry it's in koi charset :). It was referencing to
http://www.opencentrix.com/opensource/mod_raah/
This is what is has to say:
Mod_Raah exposes a subset of the Apache API via Corba. It allows a
programmer to write Apache
I think the 100% Java idea has had its day. Microsoft's .NET is a
tacit admission that in the real world Microsoft will never own 100%
of the market, so let's make things work better together.
In that vein, I'd love to see an article on mod_perl and JSP
cooperating. That is, a website that
* Nathan Torkington ([EMAIL PROTECTED]) [001212 22:09]:
I think the 100% Java idea has had its day. Microsoft's .NET is a
tacit admission that in the real world Microsoft will never own 100%
of the market, so let's make things work better together.
In that vein, I'd love to see an article
On Tue, 12 Dec 2000, Nathan Torkington wrote:
In that vein, I'd love to see an article on mod_perl and JSP
cooperating. That is, a website that uses both and admits that each
has its place. I know a lot of people don't like Java (I'm one of
them), but mentioning JSP is the foot in the door
Perrin Harkins writes:
Anyway, I think a better approach for getting attention from Java-minded
people is to demonstrate that there are well-designed, carefully
engineered sites being built in mod_perl. Most of the articles I see
about Perl tend to play up the "quick hack" aspect, and ignore
At 11:11 PM 12/12/2000 -0500, Chris Winters wrote:
* Nathan Torkington ([EMAIL PROTECTED]) [001212 22:09]:
Anyone run such an installation? Anyone want to write about their
setup and experiences?
There are projects where we use mod_perl handlers for stuff like
prototyping auth but then
Hi everyone,
I have a problem with the
"freetds_dbd" module (driver to access the MS SQL Server), it doesn't work
correctly. This module is installed under apache 1.3.14, mod_perl 1.24_01
and DBI 1.13-1. When a lot of requests run a perl script that uses
the driver to open a database
perldoc.com is your friend:
http://www.perldoc.com/cpan/Apache.html
Joao Pedro
Paul wrote:
I was working on an article for http://take23.org/ and thought I'd link
to the basic documentation you get with "perldoc Apache" after you've
installed mod_perl and I can't find a copy online.
Hi,
Does CGI/Perl support DHTML? Is there any
reference material available where we can get this information whether it is
possible to dynamically generate web pages from CGI/Perl.
If this is not the right forum pertaining to this discussion, then could
you send me the e-mail address of
"Mark T. Dame" wrote:
...
$Response-Redirect("/index.html");
However, if we change the .htaccess file to set up ASP to handle SSI:
...
(with second .htaccess file)
% telnet test.site.com 80
Trying x.x.x.x...
Connected to test.site.com.
Escape character is '^]'.
get
Here's a patch for the sites.html page that adds information on our use of
mod_perl at eToys.
- Perrin
309a310,316
The Internet's largest on-line toy store, a
href="http://www.etoys.com/"eToys.com/a, uses mod_perl extensively.
We use an object-oriented approach built on standard CPAN
48 matches
Mail list logo