What's the benefits of using XML in building web site with dynamic
content?
(web site is a front end to database)
--
Best regards,
**
Vlad A. Safronov [EMAIL PROTECTED]
Here's the problem. I have a number of cgi scripts I want to run
under PerlRun (some under Registry, but not all of them are cleaned up
yet), and also run a new Mason interface we've put together. But with
the config below, only HTML::Mason processes them. My understanding
of SetHandler
On Thu, 10 Feb 2000, Fabrice Scemama wrote:
There's another way. We can't build pre-compiled modules easily,
but even when you code in C or Java, desassemblers can extract
some source from the binaries you deliver. As far as perl scripts are
concerned, a workaround consists in trivially
Something I'd really love to see, is documentation to the extent that the
php site has docs. And thier docs are user-annotatable, which is a really
cool feature.
--
Matt/
Details: FastNet Software Ltd - XML, Perl, Databases.
Tagline: High Performance Web Solutions
Web Sites:
At 11:05 10/02/2000 +0200, Stas Bekman wrote:
Please decide whether you want to have the discussion at the mod_perl list
or its sister advocacy list. I've added the advocacy list to CC, so at
least the person who will search the advocacy archive in the future will
find all the info about this
Patrick,
if you use Solaris too then have a look at "man ld.so.1" which explains all
possible run time linker environment variables using shared libraries stuff
NAME
ld.so.1 - runtime linker for dynamic objects
SYNOPSIS
/usr/lib/ld.so.1
...
LD_PRELOAD
Provides
I have data I need access to via WEB or filesystem. or more correctly with
email. Since the data lives in Web server territory, my Apache/mod_perl
configuration files know where everything is -
What I think I would like to do, is when the mail process starts up, I'd
like to reach inside
On Thu, 10 Feb 2000, Leslie Mikesell wrote:
According to Ryan, Aaron:
We found that we are quicking using up the max connections to the MySQL
database
and when we raise the max connection, the performance gets worse. What was
MySQL designed
to handle, should it be able to handle
Hi there,
On Thu, 10 Feb 2000, Fabrice Scemama wrote:
There's another way. We can't build pre-compiled modules easily,
but even when you code in C or Java, desassemblers can extract
some source from the binaries you deliver. As far as perl scripts are
concerned, a workaround consists in
Hi there.
On Sun, 6 Feb 2000, al wrote:
I'm having the following problems:
i) Occasionally, for not reason at all, I get 'The Document
contained no data, try again later' errors on Netscape, and pressing
reload usually gets rid of this. Also, nothing is logged in the
error logs when
Hi all,
On Thu, 10 Feb 2000, Stas Bekman wrote:
text
- this is much easier obviously, however I've often heard people say
they thought text-navigation was easier with the navbar at the top
and bottom of the page. I'd like to have opinions on this, but
please let's avoid
At 13:02 10-2-00 +0200, Stas Bekman wrote:
On Thu, 10 Feb 2000, Leslie Mikesell wrote:
According to Ryan, Aaron:
We found that we are quicking using up the max connections to the MySQL
database
and when we raise the max connection, the performance gets worse. What
was
MySQL designed
On Wed, 9 Feb 2000, Ryan, Aaron wrote:
Hi,
We have designed a web site creator that uses
Perl and DBI to work with MySQL. The integration
between the two was great, but recently our website has
been over run with users and our poor MySQL database is showing
some major slow downs. So we
hi Tim!
tried it. didn't work.
what difference were you thinking that might make? maybe there is another
way to achieve it.
Aaron
Try retrieving the content type and then working on that scalar.
my $ct = $r-content_type;
return -1 if ((-e $r-finfo) $ct ($ct !~ m|^text/|i));
A while ago somebody posted that they were working on an open source shopping
cart using mod_perl. Did anything come of that?
I'm wroking with minivend right now and, well, it's not very nice.
What would be nice is to have a perl Minivend API (since it's so full-featured)
so you could create
Won't work...
Matt has control over his system - but not mine -- see? -Sneex- :]
Bill Jones * Systems Programmer * http://www.fccj.org/cgi/mail?sneex
(' Running -
Any ideas on why would this output statement takes 15-20 seconds to
send a 120kb page to a browser on the same host?
sub send_it {
my ($r, $data) = @_;
$| = 1; # Don't buffer anything...send it asap...
$r-print( $data );
}
modperl 1.21, apache/modssl 1.3.9-2.4.9...lightly
Hey,
Does anybody know how to use PerlDispatchHandler to somehow trap errors in
perl? I think I remember somebody mentioning that... I've been looking around
and I can't find too much of any documentation about what PerlDispatchHandler
actually does. (Already checked the archives and
I have a production UltraSparc-1 server running Solaris 2.5.1, Apache-1.3.9,
mod_perl-1.21, MySql, (168mhz, 512MB ram). I am at the edge of memory usage,
and occasionally even swap (bad I know).
I don't have a development box so I want to try something with out breaking
whats working already.
I
hi all!
the problem is me. the handler works fine with a full, existing path. the
problem occurs when i think that a request for a directory is just like a
request for a file, which is isn't.
basically, i need to handle setting cookies with a redirect, then this
problem along with a related
Okay, I installed mod_perl, Apache::ASP and required modules like
Apache::Filter, and Apache::SSI. (Note, some of the Apache:: modules will
not isntall via CPAN.pm, they look for HTTP in some messed up directory
where it oviously doesn't exist, you have to run make install manually or
force the
Ken Williams wrote:
Are you sure it's waiting? You might try debug timestamps before after the
$r-print(). You might also be interested in the send_fd() method if the data
are in a file.
Fairly certain it's waiting there. I cut my debug timestamps out for
ease on your eyes in my earlier
I am attempting to send a 404 not found message from an Embperl script. Here
is the code I am trying to use in its simplest form. This is test.html. Note
that it contains no HTML.
[-
$req_rec-status('404');
$req_rec-header_out('Content-Length' = undef);
exit;
-]
Normally, a 404 looks from
I like the idea of using LWP to get config info, but what if the server is
down?
What? Your server can be found in down state? :)
I guess you could do a httpd -X, or is there another way?
There are many ways to do that. See the watchdog section in the guide...
Thanks, Cliff
What context is this in? Are you using anything like Embperl, Mason, etc. that
might buffer the entire output in order to find the content-length?
Any difference if you change it to print() instead of $r-print(), or if you
break it into lines and print each line?
Actually, I bet that last
Hi,
i have installed apache_1.3.11 with openssl-0.9.4 and mod_per and mod_ssl
and every thing is working fine i need to user Authen::Smb for Nt user authentication
I installed Authen:Smb using cpan install Apache::AuthenSmb and
Install Authen::Smb and both the product got installed
Hi,
i have installed apache_1.3.11 with openssl-0.9.4 and mod_per and mod_ssl
and every thing is working fine i need to user Authen::Smb for Nt user authentication
I installed Authen:Smb using cpan install Apache::AuthenSmb and
Install Authen::Smb and both the product got installed
Check out http://www.opensales.org/.
I don't recall if they use mod_perl or Embperl, but I do know that they
use Perl (gee is that vague enough :).
On Thu, 10 Feb 2000, Jason Bodnar wrote:
A while ago somebody posted that they were working on an open source shopping
cart using mod_perl. Did
[EMAIL PROTECTED] wrote:
Here is my statement:
Files ~ (\.phtml)
SetHandler perl-script
PerlHandler Apache::ASP Apache::SSI
PerlSetVar NoCache 1
PerlSetVar Global /tmp/
PerlSetVar Filter On
PerlSetVar Dynamic Includes 0
I'm losing it. I've written applications like this countless times but I'm
doing something wrong.
I've got a module called Apache::StoreFront. Right now it consists of:
package Apache::StoreFront;
1;
There's more to it but I've cut it out to simplify things. It's in
Matt Sergeant wrote:
This would be cool. However, in at least a few cases, the PHP docs leave
something to be desired. I remember looking up the Oracle connect calls for
PHP online once (for 3.0), and having people hold a debate about how a
function really worked, because the docs
Still still trying to figure this out:
I get about 10 or 20 exit signal Alarm Clock (14) messages a day -- out of
15,000+ requests. Not very many.
I log the PID of my mod_perl script each request, and for each 'exit signal
Alarm Clock (14)' there seems to be a mod_perl request about 5 minutes
try:
[! use Apache::StoreFront; !]
notice the semicolon.
gerald has written about this before so you can
find more details in the archives.
cliff rayman
genwax.com
Jason Bodnar wrote:
I'm losing it. I've written applications like this countless times but I'm
doing something wrong.
I've
According to Matt Sergeant:
This would be cool. However, in at least a few cases, the PHP docs leave
something to be desired. I remember looking up the Oracle connect calls for
PHP online once (for 3.0), and having people hold a debate about how a
function really worked, because the
Hi!
I have an access handler that uses $r-headers_out-add to add a set-cookie
header:
$r-headers_out-add("Set-cookie"=$sesc);
If i try to access this in my ContentHandler, actually HTML::Mason, i find
a strange problem: Calling $r-content_type wipes out the header!
From the
On Thu, 10 Feb 2000 [EMAIL PROTECTED] wrote:
Okay, I installed mod_perl, Apache::ASP and required modules like
Apache::Filter, and Apache::SSI. (Note, some of the Apache:: modules will
not isntall via CPAN.pm, they look for HTTP in some messed up directory
where it oviously doesn't exist,
From the Apache::AuthenSmb docs
##
NAME
Apache::AuthenSMB - mod_perl NT Authentication module
SYNOPSIS
Directory /foo/bar
# This is the standard authentication stuff
AuthName "Foo Bar Authentication"
[EMAIL PROTECTED] (Perrin Harkins) wrote:
On Thu, 10 Feb 2000 [EMAIL PROTECTED] wrote:
Okay, I installed mod_perl, Apache::ASP and required modules like
Apache::Filter, and Apache::SSI. (Note, some of the Apache:: modules will
not isntall via CPAN.pm, they look for HTTP in some messed up
On Thu, 10 Feb 2000, Vlad Safronov wrote:
What's the benefits of using XML in building web site with dynamic
content?
(web site is a front end to database)
This is off-topic for this list, but I can't resist...
What's the benefit of using XML? You get to buy expensive application
servers!
On Thu, 10 Feb 2000, Ken Williams wrote:
Yeah, I just saw the message. Since I tend not to use CPAN.pm (I like to
tinker around with stuff when I download/install) I've been ignorant of its
procedures.
The main thing to know is that it won't install if the tests fail, unless
you force it.
At 07:00 PM 2/10/00 -0800, Perrin Harkins wrote:
[ ... interesting XML application analysis deleted ... ]
Looks I came up with some reasons after all. So go ahead and use it if
you see a fit. Just don't believe anything that a person with a product
to sell tells you about XML. Or anything
I am attempting to send a 404 not found message from an Embperl
script. Here
is the code I am trying to use in its simplest form. This is
test.html. Note
that it contains no HTML.
[-
$req_rec-status('404');
$req_rec-header_out('Content-Length' = undef);
exit;
-]
...
Oh! So
Hi,
The URL
http://forum.swarthmore.edu/~ken/modules/archive/Apache-AuthCookie-2.001.tar.gz
has entered CPAN as
file: $CPAN/authors/id/KWILLIAMS/Apache-AuthCookie-2.001.tar.gz
size: 14968 bytes
md5: 252ea4ec539f0c303ae552a4e25588d5
- The login forms may now use the POST method
[EMAIL PROTECTED] wrote:
I reinstalled mod_perl and apache but I still get the same error
when I try to use Apache::ASP and Apache::SSI at the same time as seen in
the example. Error message is
[Thu Feb 10 22:33:42 2000] [error] [asp] [25663] [error] syntax error at
(eval 50) line 192,
Stas, the example you supplied in the miniguide
(http://perl.apache.org/guide/performance.html#Forking_or_Executing_Subprocesse)
doesn't work.
It's because the scalar returned by FreezeThaw::thaw contains shell escape
chars, like: [|;] so system("program.pl $params") obviously will break.
If
Please excuse my naivete but how do I uninstall mod_perl? Do i have to
recompile Apache?
On Fri, 11 Feb 2000, Edwin Pratomo wrote:
Stas, the example you supplied in the miniguide
(http://perl.apache.org/guide/performance.html#Forking_or_Executing_Subprocesse)
doesn't work.
It's because the scalar returned by FreezeThaw::thaw contains shell escape
Brian Tully wrote:
Please excuse my naivete but how do I uninstall mod_perl? Do i have to
recompile Apache?
Yes.
If you used DSO you can just modify the httpd.conf, otherwise you need
to recompile Apache.
-jwb
Please decide whether you want to have the discussion at the mod_perl list
or its sister advocacy list. I've added the advocacy list to CC, so at
least the person who will search the advocacy archive in the future will
find all the info about this important issue. Therefore I quote it in all
Here comes the followup according to the TomC's protocol :)
On Wed, 9 Feb 2000, Robin Berjon wrote:
Hello fellow mod_perlians,
I know I had promised to send this in by the end of December / early
January, I am really late and sorry. I was caught in France by the french
army for being an
50 matches
Mail list logo