Re: cgi-object not cacheable

2001-11-14 Thread Peter Pilsl
On Tue, Nov 13, 2001 at 09:18:04PM -0500, Perrin Harkins wrote: One run of my script takes about 2 seconds. This includes a lot of database-queries, calculations and so on. about 0.3 seconds are used just for one command: $query=new CGI; That's really awfully slow. Are you positive

apache restart messages question

2001-11-14 Thread John Michael
I am getting these error messages when I restart apache on a new mod perl install. Starting httpd: Subroutine export redefined at /usr/lib/perl5/site_perl/5.6.0/i386-linux/Apache/Constants.pm line 35. Subroutine name redefined at /usr/lib/perl5/site_perl/5.6.0/i386-linux/Apache/Constants.pm line

mod_perl.so not built after building mod_perl

2001-11-14 Thread Manjrekar Pratiksha
Hello, I have a Solaris machine System Configuration: OS: SUN Solaris I have installed Apache ver 1.3.9 I have also installed mod_perl -1.26. However when I make the mod_perl package I do not get the mod_perl.so file. Could anyone tell the reason for this? regards, Pratiksha

Re: mod_perl.so not built after building mod_perl

2001-11-14 Thread SubbaReddy M
You need select the option for dso on configuring. See the docs for your required installation, may help you. http://perl.apache.org/guide/install.html#Build_mod_perl_as_a_DSO_inside_t http://httpd.apache.org/docs/dso.html Currently, i am doing it for Linux 6.2 (Redhat). Best of luck.

Re: PPerl

2001-11-14 Thread Miroslav Madzarevic
PPerl is written in C and from a superficial look at the source code I'd say it's not very difficult to understand. If you want a pure perl solution take a look at POE (its being worked on ithreads these days but can use event driven fork) or consider writing something yourself. I guess the

RE: PPerl

2001-11-14 Thread Matt Sergeant
-Original Message- From: Miroslav Madzarevic [mailto:[EMAIL PROTECTED]] PPerl is written in C and from a superficial look at the source code I'd say it's not very difficult to understand. The stub is written in C. That's the point. You need a very fast, light C stub, because the

how to install the XML::LibXSLT along with libxslt?

2001-11-14 Thread SubbaReddy M
I am very sorry to apache mail list, becuase of posting the not related query. So, i am epxecting help from successfully work one. And Daniel is the author of this, so i am directly posting him. I apologise for inconvenience. I am trying to install XML::LibXML but for that, first I need

Re: how to install the XML::LibXSLT along with libxslt?

2001-11-14 Thread Bill Moseley
At 08:03 PM 11/14/01 -0800, SubbaReddy M wrote: Maybe a question for the libxml2 list instead of mod_perl? So, while installing libxslt-1.0.6 i am getting error atlast, that is " checking for libxml libraries >= 2.4.7... ./configure: xml2-config: command not found " Did you make install

RE: how to install the XML::LibXSLT along with libxslt?

2001-11-14 Thread Matt Sergeant
You also need libxml2-devel, same for libxslt. This is covered in the INSTALL file. PS: PLEASE! Stop posting in HTML format. It makes it incredibly difficult at this end. Matt. -- :-Get a smart net/:- -Original Message- From: SubbaReddy M [mailto:[EMAIL PROTECTED]] Sent: 15 November

Re: how to install the XML::LibXSLT along with libxslt?

2001-11-14 Thread Rafiq Ismail
This rings a bell. I recently had to isntall libxml2-2.45 with libxslt-1.04 on a solaris box. I remember getting warnings when trying to install libxslt telling me that the version of libxml was not up to date. Fix to this involved using the: --with-libxml-prefix=[PFX]Specify

Apache causes exception when a module calls die

2001-11-14 Thread Maarten Koskamp
Hi All, I am expriencing a problem using apache 1.3.20 binary distribution for win32. This problem both occurs on Windows98 as well as WindowsNT Server (SP6a). I also use HTML::Mason 1.25 and the XML::parser. Inside one of the modules there is an eval block. In the code executed withing this

Re: [challenge] new mod_perl site

2001-11-14 Thread Robin Berjon
On Wednesday 14 November 2001 03:27, Perrin Harkins wrote: What about an additional requirement: The site should be validated sucessfully by validator.w3.org Maybe we should give the horse a chance to catch up to the cart... Once there is a design that people are satisfied with, you are

Re: [challenge] new mod_perl site

2001-11-14 Thread Stas Bekman
Robin Berjon wrote: On Wednesday 14 November 2001 03:27, Perrin Harkins wrote: What about an additional requirement: The site should be validated sucessfully by validator.w3.org Maybe we should give the horse a chance to catch up to the cart... Once there is a design that people are

Re: [challenge] new mod_perl site

2001-11-14 Thread Robin Berjon
On Wednesday 14 November 2001 16:55, Stas Bekman wrote: Robin Berjon wrote: On Wednesday 14 November 2001 03:27, Perrin Harkins wrote: Maybe we should give the horse a chance to catch up to the cart... Once there is a design that people are satisfied with, you are more than welcome to

Apache::PerlRun und Prototypes

2001-11-14 Thread Michael . Jacob
Hi, I just found that one of our Perl scripts used CORE::exit, I changed that and found a whole bunch of problems. The biggest one is, that Apache::PerlRun doesn't seem to like prototypes. It runs the script some times but will eventually fail with [Wed Nov 14 17:05:00 2001] [error] PerlRun:

RE: Re: cgi-object not cacheable

2001-11-14 Thread
Check out the docs at: http://stein.cshl.org/WWW/software/CGI/#mod_perl There's specific notes on how to make CGI.pm play nicely with mod_perl. -- === If you put three drops of poison into a 100 percent pure Java, you

Re: [challenge] new mod_perl site

2001-11-14 Thread Stas Bekman
Robin Berjon wrote: On Wednesday 14 November 2001 16:55, Stas Bekman wrote: Robin Berjon wrote: On Wednesday 14 November 2001 03:27, Perrin Harkins wrote: Maybe we should give the horse a chance to catch up to the cart... Once there is a design that people are satisfied with, you are more

RE: [challenge] new mod_perl site

2001-11-14 Thread Antoine Quint
If you[1] don't like the way the site is now, don't bitch about it but change it completing the challenge. Well, I'd be up to having a crack at it... Would you be ok publishing the site with AxKit? Coding websites with it is so easy! Robin, are you with me on that one? Antoine

solved, sorry (was Re: missing /virtualhost directive)

2001-11-14 Thread Thomas Bach
sorry for the derangement, i solved it today thanks anyway! Thomas Bach think karo... bkaro.net At 23:59 13/11/01 +0100, Thomas Bach wrote: Hello We're running a cobalt raq4 and have some problems with the apache configuration. the configuration over the web-interface works all fine, but

Re: cgi-object not cacheable

2001-11-14 Thread Peter Pilsl
On Wed, Nov 14, 2001 at 10:39:36AM -0500, Perrin Harkins wrote: its definitely running under mod_perl. But imho the time it takes to create a new cgi-object should not depend too much wheter its running under mod_perl or not, cause the CGI-module is loaded before. (In fact I load in

Re: [challenge] new mod_perl site

2001-11-14 Thread Robin Berjon
On Wednesday 14 November 2001 17:48, Antoine Quint wrote: If you[1] don't like the way the site is now, don't bitch about it but change it completing the challenge. Well, I'd be up to having a crack at it... Would you be ok publishing the site with AxKit? Coding websites with it is

RE: mod_perl.so not built after building mod_perl

2001-11-14 Thread Manjrekar Pratiksha
Hello again, As you suggested I have used apache1.3.22 version.. However I have the following problem: 1. While installing modperl v1.24, i got a warning message that apache1.3.0 is recommended..Should I go ahead with it?(since you recommended apache1.3.22) 2. I also tried apache v1.3.0 .During

Re: cgi-object not cacheable

2001-11-14 Thread Perrin Harkins
If it was running under CGI, it would be compiling CGI.pm on each request, which I've seen take .3 seconds. Taking that long just to create the new CGI instance seems unusual. How did you time it? Are you using Apache::DProf? Wouldnt it be compiled at the use-statement ? Yes, but

Re: [challenge] new mod_perl site

2001-11-14 Thread Stas Bekman
Robin Berjon wrote: On Wednesday 14 November 2001 17:48, Antoine Quint wrote: If you[1] don't like the way the site is now, don't bitch about it but change it completing the challenge. Well, I'd be up to having a crack at it... Would you be ok publishing the site with AxKit? Coding

RE: cgi-object not cacheable

2001-11-14 Thread Andy Sharp
That's usually pretty accurate, so I guess it really takes that long on your system. Try Apache::Request! Or even one of the lighter CGI modules like CGI_Lite. in my case it means up to 4 connections per process, cause in fact it is not one module but 2 (input and output) and each

Doing Authorization using mod_perl from a programmers perspective

2001-11-14 Thread Jonathan E. Paton
I am trying to create a website with predominantly dynamic content (mod_perl + DBI + mySQL) for an online community. I can manage Perl and mySQL fairly proficently, however I've no idea how to successfully create what I want using mod_perl and Apache (actually, I know next to nothing about

Re: asp perl problem

2001-11-14 Thread Joshua Chamas
Julian Martin wrote: Hi I am new to perl and would like to make a asp page with a script that will find all files in a given directory and create links to different files in another directory. The two sets of files are images (thumbnails and big pics) so I would also like to show the

Re: Doing Authorization using mod_perl from a programmers perspective

2001-11-14 Thread Ged Haywood
Hi there, On Wed, 14 Nov 2001, [iso-8859-1] Jonathan E. Paton wrote: I am trying to create a website [snip] NB - Whilst my preferred answer to these questions is a coded solution, [snip] We like people to think for themselves on this list. :) I'm sure I've missed a few questions... Read

RE: mod_perl.so not built after building mod_perl

2001-11-14 Thread Ged Haywood
Hi there, On Wed, 14 Nov 2001, Manjrekar Pratiksha wrote: Could you please suggest me a apache version as well as a mod_perl version compatible to it in the Solaris environment? If you search the mod_perl mailing list I'm sure you will find many references to Apache and mod_perl being used

Re: [challenge] new mod_perl site

2001-11-14 Thread Nick Tonkin
On Thu, 15 Nov 2001, Stas Bekman wrote: Antoine Quint wrote: If you[1] don't like the way the site is now, don't bitch about it but change it completing the challenge. Well, I'd be up to having a crack at it... Would you be ok publishing the site with AxKit? Coding

Re: Doing Authorization using mod_perl from a programmers perspective

2001-11-14 Thread Perrin Harkins
1. Can this be done (nicely) as a authentication/authorization handlier? Sure, or you could do it as part of another phase if it's easier for you. There are good exmples on CPAN or in the Eagle book. 2. Do most hosting companies allow authentication/authorization handlers? (Using

Re: [challenge] new mod_perl site

2001-11-14 Thread william ross
At 10:44 am -0800 14/11/01, Nick Tonkin wrote: No one doubts your commitment to mod_perl, or your hard -- and unpaid -- work on the guide and many other things. But if you want to be a leader who inspires people to collaborate and work as a team under your direction, you'd do well to work on

Re: Doing Authorization using mod_perl from a programmers perspective

2001-11-14 Thread Jonathan E. Paton
Hi, Perrin Harkins wrote: 2. Do most hosting companies allow authentication/authorization handlers? (Using HostRocket at the moment). Most hosting companies don't allow mod_perl. I had fears about that one, since I thought Perl might not mean mod_perl - as I know mod_perl is

Re: Doing Authorization using mod_perl from a programmers perspective

2001-11-14 Thread Perrin Harkins
Seemingly I can do Apache handlers though, so I *might* be okay. If you look at http://perl.apache.org/guide/, there's information on how to determine if you're really running mod_perl or not. If you can get a PerlHandler directive to work, you have mod_perl. I rather ambigously asked the

Re: Doing Authorization using mod_perl from a programmers perspective

2001-11-14 Thread Dave Hodgkinson
Jonathan E. Paton [EMAIL PROTECTED] writes: Please don't flame me, I'll go away... honest :P I wonder if you're trying to do too much too soon? If you're concerned about hosting then *gulp* PHP might server you better. I rent a dedicated server because I want absolute control and the ability

RE: mod_perl.so not built after building mod_perl

2001-11-14 Thread Manjrekar Pratiksha
Hi..., As per ur suggestion, I have installed Apache 1.3.20 and mod_perl 1.26. It seems, the environement is OK.. whenever I am running some simple PERL scripts, it ran. But whenever I am running my project, I got the following error in the apache error log file. [Wed Nov 14 21:14:05 2001]

RE: mod_perl.so not built after building mod_perl

2001-11-14 Thread Ged Haywood
On Wed, 14 Nov 2001, Manjrekar Pratiksha wrote: [Wed Nov 14 21:14:05 2001] [error] [Wed Nov 14 21:14:05 2001] null: Undefined subroutine Apache::ROOT::vswap1_2e1_2e5::index_2eeml::my_start called at /apps/vswap1.1.5/index.eml line 13. [snip] what might be reason for the above problem..

mod_perl make test fails

2001-11-14 Thread mod
Hi there! I'm trying to compile apache_1.3.22+mod_perl-1.26 on a redhat 7.1 linux box. I replace the original gcc 2.xx with gcc version 3.0.2 and perl 5.6.0 with perl 5.6.1 both compiled in the same box. Any help will be highly appreciated _ Jose Albert These are the last lines of the

Re: [challenge] new mod_perl site

2001-11-14 Thread Robert Landrum
At 10:44 AM -0800 11/14/01, Nick Tonkin wrote: No one doubts your commitment to mod_perl, or your hard -- and unpaid -- work on the guide and many other things. But if you want to be a leader who inspires people to collaborate and work as a team under your direction, you'd do well to work on

RE: mod_perl.so not built after building mod_perl

2001-11-14 Thread Manjrekar Pratiksha
actually all the subroutines are under TestRuntime.pm I have used use TestRuntime. Is it solve this problem or still something is there to configure.. Any suggestions.. Thanx, Pratiksha -Original Message- From: Ged Haywood [SMTP:[EMAIL PROTECTED]] Sent: 14 November 2001 21:36

RE: cgi-object not cacheable

2001-11-14 Thread simran
One of the reasons you should probably not have a persistent/global CGI object is that upon a new the CGI module reads in numerous environment variables and setups up its internal structures for that particular query. If $q (in $q=new CGI) was persistent/global you would possibly have the wrong

Re: [challenge] new mod_perl site

2001-11-14 Thread Stas Bekman
Nick Tonkin wrote: On Thu, 15 Nov 2001, Stas Bekman wrote: Antoine Quint wrote: If you[1] don't like the way the site is now, don't bitch about it but change it completing the challenge. Well, I'd be up to having a crack at it... Would you be ok publishing the site with

Re: [challenge] new mod_perl site

2001-11-14 Thread Adi Fairbank
Nick Tonkin wrote: No one doubts your commitment to mod_perl, or your hard -- and unpaid -- work on the guide and many other things. But if you want to be a leader who inspires people to collaborate and work as a team under your direction, you'd do well to work on bringing your people

Re: how to install the XML::LibXSLT along with libxslt?

2001-11-14 Thread clayton cottingham
here is a list of install procedures ive used for getting these all going http://drfrog.fdns.net/x3d/howto.html

cvs commit: modperl-2.0/src/modules/perl mod_perl.c

2001-11-14 Thread dougm
dougm 01/11/14 17:30:46 Modified:src/modules/perl mod_perl.c Log: save globals before populating %ENV vars Revision ChangesPath 1.94 +2 -2 modperl-2.0/src/modules/perl/mod_perl.c Index: mod_perl.c

cvs commit: modperl-2.0/t/modperl .cvsignore

2001-11-14 Thread dougm
dougm 01/11/14 19:02:43 Modified:src/modules/perl mod_perl.c modperl_env.c modperl_env.h t/conf modperl_extra.pl t/modperl .cvsignore Log: more complete implementation of tie %ENV to r-subprocess_env Revision ChangesPath 1.95 +2 -7

cvs commit: modperl-2.0/t/response/TestModperl env.pm

2001-11-14 Thread dougm
dougm 01/11/14 19:03:22 Added: t/response/TestModperl env.pm Log: add test for tie of %ENV to r-subprocess_env Revision ChangesPath 1.1 modperl-2.0/t/response/TestModperl/env.pm Index: env.pm

Re: [challenge] new mod_perl site

2001-11-14 Thread Thomas Klausner
Hi! On Wed, Nov 14, 2001 at 01:31:52AM +0800, Stas Bekman wrote: Obviously the site should be very light on graphics, but since you are a good web designer you know this and all the other requirements already. The only requirement we have is that this is an information site, so avoid fancy

Re: [challenge] new mod_perl site

2001-11-14 Thread tom poe
On Tuesday 13 November 2001 11:57, Thomas Klausner wrote: Hi! On Wed, Nov 14, 2001 at 01:31:52AM +0800, Stas Bekman wrote: Obviously the site should be very light on graphics, but since you are a good web designer you know this and all the other requirements already. The only requirement

Re: [challenge] new mod_perl site

2001-11-14 Thread Perrin Harkins
What about an additional requirement: The site should be validated sucessfully by validator.w3.org Maybe we should give the horse a chance to catch up to the cart... Once there is a design that people are satisfied with, you are more than welcome to submit patches to fix validation problems.