What's the benefits of using XML ?

2000-02-10 Thread Vlad Safronov
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]

Re: PerlHandler precedence?

2000-02-10 Thread Stas Bekman
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

Re: Commercial app demo

2000-02-10 Thread Matt Sergeant
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

Re: [SITE] possible structure suggestion

2000-02-10 Thread Matt Sergeant
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:

Re: [SITE] possible structure suggestion

2000-02-10 Thread Robin Berjon
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

Fw: failure notice

2000-02-10 Thread Jens-Uwe Walther
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

Re: How can I share mod_perl config info with shell perl processes?

2000-02-10 Thread Stas Bekman
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

Re: Perl and SQL, which is the most scalable SQL server to use?

2000-02-10 Thread Stas Bekman
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

Re: Commercial app demo

2000-02-10 Thread G.W. Haywood
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

Re: Problems with configuration

2000-02-10 Thread G.W. Haywood
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

Re: [SITE] possible structure suggestion

2000-02-10 Thread G.W. Haywood
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

Re: Perl and SQL, which is the most scalable SQL server to use?

2000-02-10 Thread Pascal Eeftinck
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

Re: Perl and SQL, which is the most scalable SQL server to use?

2000-02-10 Thread Ken Y. Clark
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

Re: $r-content_type clobbering outgoing headers

2000-02-10 Thread Aaron Ross
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));

mod_perl (preferably Embperl) based shopping cart?

2000-02-10 Thread Jason Bodnar
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

Re: Site unique MAC secret

2000-02-10 Thread Bill Jones
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 -

$r-print delay?

2000-02-10 Thread Ed Loehr
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

PerlDispatchHandler for error handling?

2000-02-10 Thread David Harris
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

??? Proxy request order

2000-02-10 Thread Clifford Lang
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

Re: $r-content_type clobbering outgoing headers

2000-02-10 Thread Aaron Ross
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

Apache::ASP and Apache::SSI problems

2000-02-10 Thread ericb
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

Re: $r-print delay?

2000-02-10 Thread Ed Loehr
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

How do I send a 404 from Embperl?

2000-02-10 Thread Alan Gutierrez
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

RE: How can I share mod_perl config info with shell perl processe s?

2000-02-10 Thread Stas Bekman
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

Re: $r-print delay?

2000-02-10 Thread Ken Williams
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

mod_perl with authen::Smb

2000-02-10 Thread Sambit Nanda
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

mod_perl with authen::Smb

2000-02-10 Thread Sambit Nanda
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

Re: mod_perl (preferably Embperl) based shopping cart?

2000-02-10 Thread Edward Moon
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

Re: Apache::ASP and Apache::SSI problems

2000-02-10 Thread Joshua Chamas
[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

[HTML::Embperl] It's late and I'm getting a very odd error

2000-02-10 Thread Jason Bodnar
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

Re: [SITE] possible structure suggestion

2000-02-10 Thread Bill
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

Re: exit signal Alarm Clock (14)

2000-02-10 Thread Bill Moseley
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

Re: [HTML::Embperl] It's late and I'm getting a very odd error

2000-02-10 Thread Cliff Rayman
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

Re: [SITE] possible structure suggestion

2000-02-10 Thread Leslie Mikesell
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

$r-content_type clobbering outgoing headers

2000-02-10 Thread Aaron Ross
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

Re: Apache::ASP and Apache::SSI problems

2000-02-10 Thread Perrin Harkins
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,

RE: mod_perl with authen::Smb

2000-02-10 Thread Clifford Lang
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"

Re: Apache::ASP and Apache::SSI problems

2000-02-10 Thread Ken Williams
[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

Re: What's the benefits of using XML ?

2000-02-10 Thread Perrin Harkins
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!

Re: Apache::ASP and Apache::SSI problems

2000-02-10 Thread Perrin Harkins
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.

Re: What's the benefits of using XML ?

2000-02-10 Thread Tobias Hoellrich
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

RE: How do I send a 404 from Embperl?

2000-02-10 Thread Gerald Richter
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

ANNOUNCE: Apache::AuthCookie 2.001

2000-02-10 Thread Ken Williams
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

Re: Apache::ASP and Apache::SSI

2000-02-10 Thread Joshua Chamas
[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,

ARGV in exec subprocesses

2000-02-10 Thread Edwin Pratomo
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

How to uninstall mod_perl?

2000-02-10 Thread Brian Tully
Please excuse my naivete but how do I uninstall mod_perl? Do i have to recompile Apache?

Re: ARGV in exec subprocesses

2000-02-10 Thread Edwin Pratomo
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

Re: How to uninstall mod_perl?

2000-02-10 Thread Jeffrey W. Baker
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

Re: [SITE] possible structure suggestion

2000-02-10 Thread Stas Bekman
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

Re: [SITE] possible structure suggestion

2000-02-10 Thread Stas Bekman
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