RE: Compiler errors...

2000-04-14 Thread Robert Jenks
Title: RE: Compiler errors... Thanks Ken!  It worked like a charm! -Robert

Re: Compiler errors...

2000-04-14 Thread Ken Y. Clark
On Fri, 14 Apr 2000, Robert Jenks wrote: > We are currently using Linux/Apache/mod_perl (and Stat::INC) with good > success (thanks to the help of this list) as a replacement for > WinNT/IIS/Velocigen. Everything is (now) going good except that we miss one > of Velocigen's debugging features. V

Compiler errors...

2000-04-14 Thread Robert Jenks
Title: Compiler errors... We are currently using Linux/Apache/mod_perl (and Stat::INC) with good success (thanks to the help of this list) as a replacement for WinNT/IIS/Velocigen.  Everything is (now) going good except that we miss one of Velocigen's debugging features.  Velocigen would displ

Re: Apache::SSI forces text/html?

2000-04-14 Thread Ken Williams
Okay, then I'll remove the line for the next version, it won't touch content-type. [EMAIL PROTECTED] (Dan McCormick) wrote: >It looks like Apache will follow its normal extension-to-MIME-type >mapping, which seems like the right to do. I just tested it on a .ps >file (using Apache::SSI to incl

Re: modperl and MIME::Parser?

2000-04-14 Thread Stas Bekman
On Fri, 14 Apr 2000, John S. Evans wrote: > So I'm trying to work around my problems with Apache::Request by parsing the > request myself. This way I can work with only a single open file at a time. > > But now I have a new problem. In my content handler, if I add "use > MIME::Parser;" to the

Re: Remote URL

2000-04-14 Thread Jason Simms
>I want to build a web page dynamically with content from several >other web >sites. I need to be able to fetch the remote URL's content >into >variables. How do I do that? This really is not that difficult, and yes, lots of people certainly have done it. You have many options open to you, b

Re: Remote URL

2000-04-14 Thread Ken Y. Clark
On Fri, 14 Apr 2000, Paul McCumber wrote: > I want to build a web page dynamically with content from several other web > sites. I need to be able to fetch the remote URL's content into variables. > How do I do that? > > For starters, I just have a module that just goes and gets a URL and writes

RE: Remote URL

2000-04-14 Thread Jason Bodnar
Take a look at Apache::ProxyStuff on CPAN. It mau already do what you want it do and if it doesn't it'll give you an idea of how you can do what you want to do. On 14-Apr-2000 Paul McCumber wrote: > I want to build a web page dynamically with content from several other web > sites. I need to be

Remote URL

2000-04-14 Thread Paul McCumber
I want to build a web page dynamically with content from several other web sites. I need to be able to fetch the remote URL's content into variables. How do I do that? For starters, I just have a module that just goes and gets a URL and writes that URL back to the browser. Can't even get that t

modperl and MIME::Parser?

2000-04-14 Thread John S. Evans
So I'm trying to work around my problems with Apache::Request by parsing the request myself. This way I can work with only a single open file at a time. But now I have a new problem. In my content handler, if I add "use MIME::Parser;" to the top of my file, apache won't start - it seems to hang

RE: [RFC] Transitioning from Apache::Registry to Apache handlers

2000-04-14 Thread Chris Nokleberg
> Someone has asked how to move from registry scripts to perl handlers, this > is my attempt to show in details the process. Comments are welcome. In my mind, one of the biggest problems in transitioning from Apache::Registry is the added server configuration complexity. Would it be possible to

RE: SOLVED: Segfault with Embperl, Apache::Session (piece of %@#!*)

2000-04-14 Thread Gerald Richter
> > Gerald, if it's not on the wish list already, could you add a > request for the > ability to set nsems in EMBPERL_SESSION_ARGS. Or maybe I should > just get off my > butt and make a patch. > This works already. You can give any arguments to EMBPERL_SESSION_ARGS that a Store or Locker module a

Re: Apache::SSI forces text/html?

2000-04-14 Thread Dan McCormick
It looks like Apache will follow its normal extension-to-MIME-type mapping, which seems like the right to do. I just tested it on a .ps file (using Apache::SSI to include something), and it sent it to me as application/postscript. Dan Ken Williams wrote: > > [EMAIL PROTECTED] (Dan McCormick) w

Re: apache 1.3.12 make failure with mod_perl 1.2.2

2000-04-14 Thread Matt Sergeant
On Fri, 14 Apr 2000, Michael Moen wrote: > Hi Folks- I tried searching the archives and the only thing I found close to > this was re-building perl dynamically, I (think) I got this done, although I > could be wrong. Perhaps you should read your error messages more closely. Looks like you're mix

Re: [RFC] Benchmarking Apache::Registry and Perl Content Handler

2000-04-14 Thread Stas Bekman
On Fri, 14 Apr 2000, Buddy Lee Haystack wrote: > Hello! > > Can you please provide the technical specifications for the hardware that performed >these tests. Sure, but the point here is a comparison and not absolute values, therefore I believe this doesn't change a thing. Am I wrong? Anyway,

[RFC] Transitioning from Apache::Registry to Apache handlers

2000-04-14 Thread Stas Bekman
Someone has asked how to move from registry scripts to perl handlers, this is my attempt to show in details the process. Comments are welcome. =head1 Transitioning from Apache::Registry to Apache handlers Even if you are a CGI script die-hard at some point you might want to move a few or all you

Re: [RFC] Benchmarking Apache::Registry and Perl Content Handler

2000-04-14 Thread Buddy Lee Haystack
Hello! Can you please provide the technical specifications for the hardware that performed these tests. Thanks! Stas Bekman wrote: > > Disclaimer: the numbers here are too low for mod_perl, because my machine > is to slow :( I'll rerun the same tests on a much faster machine > before re

SOLVED: Segfault with Embperl, Apache::Session (piece of %@#!*)

2000-04-14 Thread Jason Bodnar
Fickle, fickle machines. The segfault problem with Embperl and Apache::Session can be fixed with about 3 keystrokes in emacs. When I was getting the segfault error I had: # BEGIN EMBPERL SESSION HANDLING PerlSetEnv EMBPERL_SESSION_CLASSES "DBIStore SysVSemaphoreLocker" PerlSetEnv EMBPERL_SESSIO

[RFC] Benchmarking CGI.pm and Apache::Request

2000-04-14 Thread Stas Bekman
=head1 Benchmarking CGI.pm and Apache::Request Let's write two registry scripts that use C and C to process the form's input and print it out. benchmarks/cgi_pm.pl use strict; use CGI; my $q = new CGI; print $q->header('text/plain'); print join "\n", map {"$_ =

[RFC] Benchmarking Apache::Registry and Perl Content Handler

2000-04-14 Thread Stas Bekman
Disclaimer: the numbers here are too low for mod_perl, because my machine is to slow :( I'll rerun the same tests on a much faster machine before releasing the new version of the Guide. =head1 Benchmarking Apache::Registry and Perl Content Handler =head2 Empty scripts First lets see the ov

apache 1.3.12 make failure with mod_perl 1.2.2

2000-04-14 Thread Michael Moen
Hi Folks- I tried searching the archives and the only thing I found close to this was re-building perl dynamically, I (think) I got this done, although I could be wrong. I will include any output I think might be relevant. Any suggestions would be greatly appreciated. Thanks- Michael mod_perl b

Re: cgiwrap for Apache::ASP?

2000-04-14 Thread Ime Smits
| I also have ASP installed, and I'd like to be able to transparently suid | the .asp scripts too. Do you know how I could go about doing this? I think this is a general bad idea. The only purpose of running scripts via a suexec or setuid mechanism I can think of is to stop different users & webs

Re: Apache::ASP problem running the example.

2000-04-14 Thread Ime Smits
| I installed the Apache ASP package and the mod_perl with the Apache server. | I guess there is no error in the setup and everything should run fine. | Then I run the example. When I try to run index.html, it returned a error | message saying that it couldn't find the global.asa or something lik

cgiwrap for Apache::ASP?

2000-04-14 Thread Philip Mak
Hello, I searched the egroups.com mod_perl archive for "cgiwrap" and didn't find anything relevant to ASP. I'm wondering if there's any documentation about how to use cgiwrap with the ASP extension. Currently I have a modified version of cgiwrap installed on my system such that all .cgi/.pl file

Apache::ASP problem running the example.

2000-04-14 Thread Andy Yiu
Hi, I installed the Apache ASP package and the mod_perl with the Apache server. I guess there is no error in the setup and everything should run fine. Then I run the example. When I try to run index.html, it returned a error message saying that it couldn't find the global.asa or something like

Re: Apache::SSI forces text/html?

2000-04-14 Thread Vivek Khera
> "KW" == Ken Williams <[EMAIL PROTECTED]> writes: KW> I'll remove it if it won't break anything - will Apache set the type to KW> text/html if no other information is given? Apache has a default document type parameter, and I believe the shipped configurations say text/plain.

RE: Httpd process growing

2000-04-14 Thread Geoffrey Young
check out http://perl.apache.org/guide/performance.html for some guidance   HTH   --Geoff -Original Message-From: Dimas Kotvan [mailto:[EMAIL PROTECTED]]Sent: Thursday, April 13, 2000 7:09 PMTo: [EMAIL PROTECTED]Subject: Httpd process growing Hello All!   I'm running Ap

Re: PHP is breaking Sybase::DBlib

2000-04-14 Thread Michael Peppler
David Hojo Hajoglou writes: > So, I was having a hell of a time to get DBlib to work in a module. The > code worked fine as a script, but the database handle was not created > properly when with a module. As I prepared for Harikari, I looked at the > loggs and php glared back at me. > > M

Httpd process growing

2000-04-14 Thread Dimas Kotvan
Hello All!   I'm running Apache 1.3.12 with mod_perl 1.21 in Linux Mandrake 7.0. After some time running my modperl scripts in the webserver I have noticed, using the system utility top, that the httpd processes had grown from 7mb to 30mb each. It's my first script in modperl, and I have no i

[perhaps OT] Re: PHP is breaking Sybase::DBlib

2000-04-14 Thread Mike Miller
David, Does PHP (of which I know nothing) use any of the dbm libraries statically? I remember that I had a hard time using DBlib a while back because there is a sybase dblib function called db and one in the dbm libraries called db, and they were conflicting. I had to recompile perl not to

Fwd: apache_1.3.12 / mod_perl-1.22 ... Bug in mod_perl 1.22 on certain platform ?

2000-04-14 Thread Frédéric Schwien
Hi Following to my last email, I tried to build apache_1.3.12 with mod_perl-1.21. And it worked well with the same makepl_args.mod_perl file . So does that mean that there is a bug in mod_perl-1.22 ? Or That my conf file had wrong arguments in it, even if I could build it on an other server (see

Re: PLEASE HELP!!!!! I cannot get mod_perl/apache compiled

2000-04-14 Thread Ask Bjoern Hansen
On Thu, 13 Apr 2000, Sam Carleton wrote: > I simply cannot get mod_perl/apache to compile. My understanding is > that I configure .makepl_args.mod_perl to compile both mod_perl. Then I > do the following: > > perl Makefile.PL > make > make test > make install > > Assuming there where no probl