that Archive::Tar does not untar the Apache::ASP
distribution correctly. I have reported this bug to the
maintainer of that module.
-- Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder
occur at the reads writes, so that i/o is flushed correctly.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com
Mike Martinet wrote:
Greetings,
With this setup:
Linux kernel 2.4.7-10
Apache 1.3.24
mod_perl-1.26
Apache::ASP 2.33
MLDBM 0.25
Please submit a trace of the error_log for the request, with
PerlSetVar Debug -1
set, and a description of the problem as well as what file
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
to verify the API, and some significant changes
to code structure and the asp-perl CGI/command line processor.
For more information on Apache::ASP, please see
http://www.apache-asp.org
Thanks,
Josh
_
Joshua Chamas
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
Kee Hinckley wrote:
At 2:27 PM -0500 3/23/02, Geoffrey Young wrote:
you might be interested in Joshua Chamas' ongoing benchmark project:
[EMAIL PROTECTED]">http://mathforum.org/epigone/modperl/sercrerdprou/[EMAIL PROTECTED]
http://www.chamas.com/bench/
he has the resu
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
for
PerlModule to see where mod_perl conf should be working.
-- Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1
, in that it can only
do some 1 request per 4 seconds :(
-- Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com
::ASP, just
wrap them with % % and they should work.
If something else, please clarify what you mean.
-- Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA
it would be out in time for your needs though :(
-- Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714
place?
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
to this.
This may in fact collide with Mason form processing if there is
any, since a mod_perl application will hang if it tries to
read the POST data twice.
-- Josh
_
Joshua Chamas Chamas Enterprises Inc
the results.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
::* ) for the problem. Also,
sometimes DBD::* drivers are guided by %ENV settings, like Oracle,
so make sure that your mod_perl has the same %ENV as your
when running under mod_cgi.
--Josh
_
Joshua Chamas Chamas
On
security config.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
CHANGES:
+Added
Hey, [[ NUMBERS ARE BELOW ]]
It has been a while, but here's a new set of Hello World benchmarks!
What took me so long in getting these out is that the java web environments
that I had set up would keep crashing during the tests in ways that would
not only render their benchmarks meaningless,
Perrin Harkins wrote:
on 11/19/01 8:05 PM, Joshua Chamas at [EMAIL PROTECTED] wrote:
It has been a while, but here's a new set of Hello World benchmarks!
There was a recent announcement of HTML::Template::JIT, and Template Toolkit
has an XS option now. Any chance you could put those
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
like Apache::Gallery.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
available.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
on this email, has a perl utility that
can convert VBScript ASP to perl scripting ASP for running
under Apache::ASP. He might be able to offer this code to
you in some form.
-- Josh
_
Joshua Chamas Chamas Enterprises
to the
email list specific to it. You can subscribe to it at
[EMAIL PROTECTED]
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http
as well past 1 files/entries.
Happy hacking!
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625
compress text/html output to
netscape browsers fearlessly, and approach IE browsers more
carefully.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
Apache::ASP, NetObjects Fusion
was out for quite a while, and definitely had templates to
choose from for site building, so that might establish prior
art there.
--Josh
_
Joshua Chamas Chamas Enterprises Inc
%40perl.apache.org/
Thanks for keeping up on this. It would be nice to
have another search archive for the asp list too.
Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington
[EMAIL PROTECTED] wrote:
I finally convinced some of my colleagues
to look at AxKit as a replacement for Cocoon.
But when we try to go to the website, it
times out. An nslookup of 'www.axkit.com'
and 'www.axkit.org' and 'axkit.org', etc,
result in 'can't find www.axkit.com:
Non-existent
process mode, and is most handy for diagnosing problems such
as these.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com
/a/2001/08/21/templating.html
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
script is run.
If you change the .bashrc, you need to login again,
or resource the file like:
prompt source .bashrc
-- Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder
that, so I have no real directions
here, but its probably just
prompt gdb core
...
(gdb) bt
[ find out where it segfaulted ]
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
release 2.23 will soon go to CPAN. Also note that for general
questions about Apache::ASP, please send them to [EMAIL PROTECTED]
or subscribe with [EMAIL PROTECTED]
--Josh
_
Joshua Chamas Chamas Enterprises Inc
= $dbh, LockHandle = $dbh };
if($id ne $hash{_session_id}) {
$Response-Cookies(SESSION_ID, $hash{_session_id});
}
$Session = \%hash;
$Server-RegisterCleanup(sub { untie (%$Session) }); }
}
--Josh
_
Joshua Chamas
at the IO::Select-new()
and it looked pretty hairy, so I checked connection-aborted
status first in case it was already set.
-- Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder
created later while running the ASP script for this
same request.
I will send it to you separately. Also, I will send you
my latest MLDBM::Sync .15 on which Apache::ASP will depend
next release.
--Josh
_
Joshua Chamas
://perl.apache.org/guide/scenario.html#mod_proxy
I have only used mod_perl on a WinNT for development, so
have not had to work through this problem before, but this
is the approach I would take if I were to.
-- Josh
_
Joshua Chamas
).
The 1 would create an unnecessary wait of 1 second I found,
whereas 0 does not, yet reports the aborted condition
accurately.
Thanks again!
-- Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder
BeerBong wrote:
Of course, we know this and used this feature.
The you can reference $App in all scripts includes,
just like
%= $App-print_something %
But our crew are 3 designers and 4 programmers.
Designers know nothing about $App and other things, programmers don't know
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
process when it uses too much RAM ( unshared RAM on Linux too )
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com
Tom Allen wrote:
...
Location /modperl
AllowOverride None
Options ExecCGI Indexes
SetHandler perl-script
PerlHandler Apache::Registry
PerlSendHeader Off
/Location
It appears to work ( I get a webpage that says Hello!), in a Mozilla
browser, but httperf shows a
it for you. Apache::DBI is installed with CPAN.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625
in the parent httpd to Oracle, make sure
that Apache::DBI doesn't cache it later for the children,
which is why I was suggesting doing an invalid connect
with user/pass like BADBAD/BADBAD
--Josh
_
Joshua Chamas Chamas
problems.
Also, more a side note, I have found that you have to fully
restart apache, not just a graceful, if either the Oracle server
is restarted or the TNS listener is restarted.
--Josh
_
Joshua Chamas
on these tools :)
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
raptor wrote:
hi,
FileUploadMax wrongly stated in ASP docs, U should use :
PerlSetVar FileMaxUpload xxx
instead.
One more thing, does someone knows a way to capture the error, if the user
tries to upload bigger file than accepted.
So I can inform him.
Is it possible to set
Hey,
It seemed that running the hello world benchmarks last time for only
60 seconds had problems with reproducibility, especially with mod_caucho.
So here's some numbers for ~ 10 minute run. Its actually something
like 20 benchmarks run for 30 seconds a piece, and the results summed
Joshua Chamas wrote:
mod_caucho
used to look a lot faster, but my testing methodology changed.
I used to take the results of the second benchmark run, and
publish those, but this time only ran the -test for minor
caching after starting resin ( tomcat ). So, I'm guessing
interact, better yet, do them in one order,
and then reverse them, to average out sequential interactions
of the tests on a system ( ??? )
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder
Philip Mak wrote:
In the recent Hello World 2000 benchmark posted by Joshua Chamas, mod_perl
handler was shown to be even faster than static HTML (at least for running
hello world), and twice as fast as using Apache::Registry to run a perl
script.
Does this mean that if there's a heavily
Perrin Harkins wrote:
I do feel that compile time matters, but really with 60 seconds
and high MaxRequestsPerChild, these systems are getting plenty
of compiling caching.
The thing is, if mod_caucho takes 5 seconds the first time it hits each
template, but is the fastest afterwards,
Hey,
The latest release of Apache::ASP, v2.19, is out. You can
get it in your local CPAN or here:
http://www.perl.com/CPAN-local/modules/by-module/Apache/
The big development in the module is a standalone CGI mode that
works without mod_perl, at least on Linux where I tested it.
The rest
Hey,
The latest Hello World benchmarks at available at:
http://www.chamas.com/bench/hello.tar.gz
To reproduce the BELOW results on your platform, for
whatever tests are available, run:
./bench.pl -test
./bench.pl -version -time=60
--Josh
DISCLAIMER: these benchmarks test only what they
package could possibly access it.
-- Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
could
access $XXX the same way you defined it:
print $main::XXX
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks - Web Link Checking Huntington Beach, CA USA
http://www.nodeworks.com
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
school CGI... I already have it
mostly working, just never had incentive to finish the job.
Maybe I'll finish that off now that I've seen lack of ASP's
CGI support posted in an article :)
--Josh
_
Joshua Chamas
platform for some comparison
numbers. Below are the numbers I get on my platform,
Linux PIII-450x2
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks - Web Link Checking Huntington Beach, CA
http:[EMAIL PROTECTED]
for my original post on this, showing our similar plights!
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks - Web Link Checking Huntington Beach, CA USA
http
a meta refresh on itself, and
keep checking for whether the job is done.
-- Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks - Web Link Checking Huntington Beach, CA USA
http
not originally part of the ASP API!
-- Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks - Web Link Checking Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
://www.chamas.com/bench/hello.tar.gz
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks - Web Link Checking Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
. This
will be demonstrated via the ./site/eg/file_upload.asp example.
-- Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks - Web Link Checking Huntington Beach, CA USA
http
Hey,
I have released the latest Hello World benchmark suite, which you
can find at http://www.chamas.com/bench/hello.tar.gz ... Enjoy!
--Josh
CHANGES
1) Apache::Registry Hello World 2000 benchmark added, fastest of group,
showing perl's raw template rendering power!
2) New XSLT AxKit
I have an update already ... Matt kindly told me to lose the
AxDebug 10 setting, now AxKit easily beats Apache::ASP
on the XSLT benchmark. Also, I have some new Tomcat/mod_jserv
benchmarks for Hello World and Hello World 2000.
As before, you can download the benchmarks at
Hey,
Apache::ASP v2.11 is out in your local CPAN and also
http://www.perl.com/CPAN-local/modules/by-module/Apache/
The changes are below.
Apache::ASP provides an Active Server Pages port to the
Apache Web Server with Perl scripting only, and enables
developing of dynamic web applications
at [EMAIL PROTECTED],
but I have been slow to update the docs at the ASP web site README.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks free web link monitoring Huntington Beach, CA USA
http
into
with a call to caller().
-- Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks free web link monitoring Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
Difference like this, where cgi perl scripts work fine, but mod_perl/ASP
doesn't, often has to do with %ENV where mod_perl is concerned.
This is because Apache clears %ENV. The best way I have found to know
what is in your %ENV for Oracle connections is to explicitly set it
before the connect
a graceful way to issue
a full stop, before a clean start ( not apachectl graceful ),
but I don't know what it is.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks free web link monitoring Huntington
to be returned
of identical length from one request to the next, so if your
content is dynamic in any way, it may fail.
If there are any real Apache::ASP errors, they should show up
in your apache error_log.
--Josh
_
Joshua Chamas
embedded scripting
languages seem to offer, witnessed during my Hello World
benchmarks.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks free web link monitoring Huntington Beach, CA USA
http
Hey,
I am pleased to announce a new mailing list for
Apache::ASP at [EMAIL PROTECTED]
To subscribe, just send a message to:
[EMAIL PROTECTED]
See you there!
Josh
_
Joshua Chamas Chamas Enterprises
I' m using UniquePackages and because subs name conflict I need to put the
subs in the asp pages.
Can I still use initialization of global vars in the
global.asa/Spript_OnStart (as you suggest) ?
...so the ASP/$Server-Transfer() is the equivalent of JSP/forward
I don't know if transfer
like:
my::form(\%args, $html = my::input(\%other_args));
-- Josh
_________
Joshua Chamas Chamas Enterprises Inc.
NodeWorks free web link monitoring Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
[EMAIL PROTECTED] wrote:
To avoid passing many parameters to the subs I become using a $cx (cx stand for
context) global hash containig everything the subs needed, passed to each sub.
page test.asp
$cx = {};
$cx-{'name'} = 'default name';
$cx-{'age'} = 30;
...
Try this,
script only, Apache::ASP does not support VBScript.
Also, if you would like more debug info, set PerlSetVar Debug 2,
and you will see the script ASP is trying to compile in your browser.
--Josh
_
Joshua Chamas
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks free web link monitoring Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
Debug to -2,
restart apache, and get me an error log bit for a request.
-- Josh
_________
Joshua Chamas Chamas Enterprises Inc.
NodeWorks free web link monitoring Huntington Beach, CA USA
http://www.nodeworks.com
=~ s/^\s+(\\?xml)/$1/s
}
Then set PerlSetVar BufferingOn 1 so that flush will only be called
once per script.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks free web link monitoring Huntington
es to work in the ./site/eg directory?
They have .asp files there.
You can see the headers that are being sent by
lwp-request -ed $URL
if content-type is being set and IE still doesn't get it,
I'm not sure what to say?
--Josh
_____
Jos
or modperl not being installed.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks free web link monitoring Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
such that modperl is activated.
-- Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks free web link monitoring Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks free web link monitoring Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
the
full length of the document when it flush the headers.
I don't know about other environments.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks free web link monitoring Huntington Beach, CA USA
http
objects with Apache::Session in the global.asa Script_OnStart,
which would at least eliminate the StateDB issue.
-- Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks free web link monitoring Huntington
You probably solved the particular problem below by changing:
PerlSetVar StateDir /tmp/asp_demo
to a real directory on your system. On win32 platforms
/temp/asp_demo should work pretty well too.
Now that you changed that setting what does your error log
give you?
--Josh
"George A. Fitch
not
do anything, so this might get around the problem you are having?
-- Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks free web link monitoring Huntington Beach, CA USA
http://www.nodeworks.com
be that you haven't copied the .htaccess file
from the distribution ./site/eg. That's where all the ASP
configs are at.
-- Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks free web link monitoring
1 - 100 of 433 matches
Mail list logo