There may be a bug here ... Apache::ASP handles
file uploads with different logic from other forms
by using CGI.pm for the underlying file upload
parsing. I'll look into this ( early next week )
and see if I can't make multiple select values behave
properly in this context.
--Josh
--- Anton
was:
diff ASP.pm~ ASP.pm
2911c2911,2912
$form{$_} = $q-param($_);
---
my @params = $q-param($_);
$form{$_} = @params 1 ? [ @params ] : $params[0];
--Josh
_
Joshua Chamas
position to the beginning of the string,
but you can avoid that by adding the /c modifier
(e.g. m//gc). Modifying the target string also
resets the search position.
Thanks,
Josh
_
Joshua Chamas
The bug you describe below has to do with the way
HTML::FillInForm works. I have cc'd the author TJ Mather
on this email. This might really have to do with the
way HTML::Parser works.
Also note, Apache::ASP 2.15 has just been released, which
works under perl 5.6.1 just as 2.09 does.
--Josh
Hey,
I have released the latest Hello World benchmark suite, which you
can find at http://www.chamas.com/bench/hello.tar.gz ... Enjoy!
A special note to Apache::ASP users: the benchmarks seem to show
that for real web pages ( more than Hello World ), Apache::ASP
is one of the fastest perl web
-submode-face)
(%= . mmm-output-submode_face))
:front %=?
:back %
)))
Below is the full config for Apache::ASP ...
--Josh
;;; Apache::ASP mmm-mode config, by Joshua Chamas, 6/17
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks - Web Link Checking Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks - Web Link Checking Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
-
To unsubscribe, e
on Apache for any bit of it, so
that you can control the auth realm on each request.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks - Web Link Checking Huntington Beach, CA USA
http
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks - Web Link Checking Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
it as necessary.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks - Web Link Checking Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
.htaccess file and is being used where
.htaccess is not.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
scratch compiled statically.
There's a file make_httpd/build_httpds.sh in the Apache::ASP
distribution that you can use that might help with this.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks
do you need inline includes anyway? Normally scoping
issues can be solved pretty well by passing arguments to
an include or using objects and globals for data sharing.
--Josh
_
Joshua Chamas Chamas
, but
SDBM_File does not have that issue.
Note, you can also set up a $Session easily with
Apache::Session going to a database if this doesn't
work for you. But you don't get Apache::ASP session
management and events.
--Josh
_
Joshua
on the Apache/Unix platforms that support VBScript.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
-
To unsubscribe, e-mail: [EMAIL
that burdened customers with their error messages,
so what I proscribe above was an intentional replacement
to what you suggest, funny.
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder
name=text$count value=$data /
% } %
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
directory.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
Philip Mak wrote:
I remember being told that any subroutines I define should be defined in
global.asa rather than in an .asp script, to avoid having the subroutines
being redefined all the time.
What if I am writing a subroutine that has to output a bunch of HTML
code... is it possible
into.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
, which is important
to do whenever you do a major perl module installation.
Later on, when performance tuning, make sure to add
PerlModule Apache::ASP to your httpd.conf.
--Josh
_
Joshua Chamas Chamas
.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
is running?
You have to PerlRequire it explicitly.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714
Philip Mak wrote:
On Sat, 8 Sep 2001, Joshua Chamas wrote:
Can you show a trace in the error_log with Debug set to -3 ?
Make sure Time::HiRes is installed first. The first request
error_log set from an apache restart would be helpful to see.
I have attached the error log
Tim Pushor wrote:
Thanks guys, you have pointed me in the right direction. Being a raw cgi
programmer, I have developed methodology for doing things and is sometimes
challenging to 'undo'.
I do have questions regarding using HTTP errors though:
- Does IE display the error page that
around
generic script data, or construct a central application
object like $App there too. I would not create too
many globals, as this would be bad practice, but a few
key ones can be very helpful.
-- Josh
_
Joshua Chamas
Philip Mak wrote:
Thanks for the feedback. Its much appreciated.
On Wed, 12 Sep 2001, Joshua Chamas wrote:
$Response-Include({
File = 'file.inc',
Cache = 3600, # to cache one hour
Key = [\%data || \@data || \$data || $data || undef
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
John D. Leonard II wrote:
All:
*** BE CAREFUL ***
Examine the following code from a single ASP script:
I really need to clarify this. You have identified a problem
that relates to perl mod_perl, but this is not a problem
with using globals. Rather a problem of have a subroutine
Philip Mak wrote:
On Wed, 12 Sep 2001, Joshua Chamas wrote:
I think that the invalidate parameter is the Clear I suggest,
and that Clear could be used to effectively deal with the timestamp
issue, but the logic must exist outside the caching mechanism.
Wouldn't it be a bit
no longer do things like $Response-Cookies()
or $Response-Expires
I'll check on the mod_perl list to see if anyone knows
how to detect a client aborted without an $r-print() being
called first.
--Josh
_
Joshua Chamas
Hey,
I have a dev version of Apache::ASP v2.23 that has
the $Response-Include() caching layer support.
See CHANGES notes below. Let me know if you want
an early release of this module for testing... getting
early feedback will speed the release of this module
to CPAN, else I will use it for a
starter config just for Apache::ASP.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
What is in your error_log for just 1 request when Debug is set
to -3 ? This debugging with you might take quite a bit, so
might be better taking this offline. No one else on the list
has this feature yet besides you me.
--Josh
Philip Mak wrote:
I've been trying out the new
into a startup.pl
kind of file that you PerlRequire for this preloading purpose.
Good topics!
-- Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
-
To unsubscribe, e-mail: [EMAIL PROTECTED
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
, with the
output XML used for the transformation into the final output.
The final XSLT is actually handled by the XSLTParser XML::XSLT
or XML::Sablotron with an intervening dbm based XSLTCache.
--Josh
_
Joshua Chamas
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
-
To unsubscribe
Philip Mak wrote:
Thanks for the tip about escaping it all at once, instead of line by line.
I ended up doing this on my website, since it'll always be hosted on
Apache/Linux (I think):
local $/ = undef;
print escape_html(FANFIC); # from Apache::Util
That script is now up to 45
file server cluster
to mount to. One day we will have native Apache::ASP sessions
that go to the database, but if that is what you really need NOW,
then I'd use Apache::Session.
-- Josh
_
Joshua Chamas Chamas
::ASP scripts. Apache::ASP-Loader() is the only
mechanism for compiling Apache::ASP scripts before the execution phase.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder
://www.activestate.com/Products/Enterprise/ASPN_Komodo/
The editors section at the Apache::ASP site mentions more on this:
http://www.apache-asp.org/syntax.html#Editors
--Josh
_
Joshua Chamas Chamas Enterprises Inc
raptor wrote:
hi,
I'm getting alot of errors when use ASP-Loader() in httpd.conf It is
not a big deal isn't it ?!
What kinds of errors? Seeing the output from starting apache
might be nice here.
--Josh
-
To
you just need the former, not the latter.
Does the latter even work for you under PerlScript?
Thanks,
Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach
/ASP, one can easily use an
existing CPAN perl module to achieve the same effect.
This might be true in this case, I don't know.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder
release. Thanks.
-- Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
Its the collected perl works of some 1700 authors.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
-
To unsubscribe, e-mail
can downgrade to Apache::ASP 2.21.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
of the ASP API! See its web site for more:
http://www.apache-asp.org
-- Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http
in to avoid these nasty segfaults.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
WRFan wrote:
bareword yada yada what's that?
What was the full error output and the script trying to be executed?
Its helpful if PerlSetVar Debug 2 is set for the error output
to be of most help here.
More generally a bareword yada yada error message is when
there's a perl syntax error when
Here's a posting from Philip to the mod_perl list that can be
an inspirational read for many of us Apache::ASP users!
Philip, if you have a polished form of this doc sometime, I
could bundle it in the Apache::ASP docs, perhaps under
some section like a BEST PRACTICES, or SCENARIOS. Actually
/global.asa in the
distribution.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
your web site is starting up when the first user visits
it, and is thus not very useful.
-- Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http
, and if
Apache::ASP::Date disappears just point it somewhere else.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com
connections over the internet would not.
I have a dev version 2.29 which seems to fix this problem.
I will send this version to you separately.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder
Kreuzer, Harald wrote:
hello!
first of all thanks for this great piece of software!! i changed my site
from ms-asp to apache::asp and i am very happy with it.
now my problem: i updated some days ago to asp 2.27 and it seems as if i
don't get Session_OnEnd events anymore. i have a
Hey,
The Apache::ASP site was down between 2PM 2AM yesterday on
11/12/2001 as we were moving our servers to a new colocation
data center. Thanks for your patience enjoy!
-- Josh
_
Joshua Chamas Chamas
PerlSetVar SessionQueryParse 1
PerlSetVar SessionQueryParseMatch
^(https://www\.nodeworks\.com|https?://gate.chamas.com)
That's it.
--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
:
sub Script_OnStart {
do 'citylinkweb.pl';
}
or could load it similarly as an include if you wrap the code with % %
sub Script_OnStart {
$Response-Include('citylinkweb.pl');
}
-- Josh
_
Joshua Chamas
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
-
To unsubscribe, e
$StateDir just to work through this bug, though
you probably don't want to do this for real. Also make sure
your disk has enough space. I am just stretching on these, but
it may help??
--Josh
_
Joshua Chamas
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
On
security config.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
CHANGES:
+Added
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
= $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
do I do?
Try adding in apache's httpd.conf:
PerlModule Apache::ASP
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
-
To unsubscribe, e
to CGI.pm
does not help, let me know, and I can try another fix. Should
we do so, please describe better what your intermittent faults
are exactly, or at least the behaviour of the system/browser under
these conditions.
--Josh
_
Joshua
in this regards.
If a downgrade to 2.21 is not a fix, then this is more likely
also a CGI.pm problem too.
-- Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach
set MaxThreadsPerChild to 1
which will get rid of odd socket problems.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com
on his box. I am guessing that the sdbm store returned -1
error might have been a permissions issue where StateDir was not pointing
to a directory where the httpd user had write access, but am not sure.
--Josh
_
Joshua Chamas
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
-
To unsubscribe, e
with DB_File. Because the cache layer uses MLDBM::Sync, its
has similar performance metrics that you can find from
that module's ./bench/bench_sync.pl script.
--Josh
_
Joshua Chamas Chamas Enterprises Inc
, and not take the performance
hit of using $Session to store this data ( memory vs. disk storage )
Let me know if you continue to think there is a real bug here
and we'll get to the bottom of it.
--Josh
_
Joshua Chamas
is disabled in the
attached code.
I would at least let the author of the module know about these
things: Edmund Mergl E.Mergl at bawue dot de ... maybe even the mod_perl
list if Edmund is unresponsive privately.
--Josh
_
Joshua
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
-
To unsubscribe, e-mail
for this, please post your solution
to the list.
Thanks,
Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625
Apache::ASP, though an upcoming release, to be determined,
will include basic VBScript support graciously donated by Ime Smits.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder
directly, Randy. He might know of issues
specific to XP.
Finally, whatever the solution is, be sure you post it here for
the benefit of all!
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder
.
--Josh
_
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
-
To unsubscribe, e
, $Object will just point to the $Object in
the global.asa package.
If this did not help, please clarify your problem.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder
-%3EXSL7df794aa
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
, as this will save you many headaches
down the road.
-- Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714
is shared
across all sites running under mod_perl.
-- Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714
if I can't provide any better notes from this. If you
or anyone has some docs to contribute to the current
set for Apache::ASP, please send them over.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks
will still be fixing
this more generally, because some platforms don't have access
to InodeNames, like win32.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington
a browser will
need to have a ctrl-Reload (IE?) / shift-Reload (NS?) to force
the browser to reload a page and its contents when they have
been cached.
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks
, but you can try:
$Server-Mail({ To = $address, CC = $address2, BCC = $address3, ... });
--Josh
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http
_
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
_
Joshua Chamas Chamas Enterprises Inc.
NodeWorks Founder Huntington Beach, CA USA
http://www.nodeworks.com1-714-625-4051
-
To unsubscribe, e-mail
1 - 100 of 206 matches
Mail list logo