Re: internal_redirect

2000-09-05 Thread Ken Williams
[EMAIL PROTECTED] (Differentiated Software Solutions Pvt. Ltd) wrote: Hi, The following code is not working. use Apache; Apache-Request-internal_redirect('http://192.168.1.2/smg/html/adcept_logo.gif'); The error is: Can't locate object method "Request" via package "Apache" at ./test.cgi

Re: internal_redirect

2000-09-05 Thread Rob Tanner
--On 09/05/00 01:23:04 -0500 Ken Williams [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] (Differentiated Software Solutions Pvt. Ltd) wrote: Hi, The following code is not working. use Apache; Apache-Request-internal_redirect('http://192.168.1.2/smg/html/adce pt_logo.gif'); The error

Re: HTML Template Comparison Sheet ETA

2000-09-05 Thread Matt Sergeant
On Mon, 4 Sep 2000, Marc D. Spencer wrote: o There are actually 3 groups involved, and separation of function as much as possible allows the three groups to work independently on a project without requiring concurrent editing of the same file. - HTML coders -

internal_redirect

2000-09-05 Thread Differentiated Software Solutions Pvt. Ltd
Hi, The following code is not working. use Apache; Apache-Request-internal_redirect('http://192.168.1.2/smg/html/adcept_logo.gif'); The error is: Can't locate object method "Request" via package "Apache" at ./test.cgi line 5. Thanks for your solution. Bye Muthu S Ganesh

Re: internal_redirect

2000-09-05 Thread Jules Cisek
it's Apacherequest (lowercase) - Original Message - From: Differentiated Software Solutions Pvt. Ltd To: [EMAIL PROTECTED] Sent: Monday, September 04, 2000 10:52 PM Subject: internal_redirect Hi, The following code is not working. use Apache;

Re: HTML Template Comparison Sheet ETA

2000-09-05 Thread G.W. Haywood
Hi all, On Tue, 5 Sep 2000, Matt Sergeant wrote: Thats the whole point of these discussions... I'm not sure that there's any point to these discussions. Do you think this one could go off-List now? 73, Ged.

Re: multilanguage site

2000-09-05 Thread Paul Lindner
On Fri, Sep 01, 2000 at 10:44:10PM -0400, Greg Stark wrote: can someone suggest me the best way to build a multilanguage web site (english, french, ..). I'm using Apache + mod_perl + Apache::asp (for applications) I'm really interested in what other people are doing here. We've just

Re: multilanguage site

2000-09-05 Thread Matt Sergeant
On Tue, 5 Sep 2000, Paul Lindner wrote: Anyway, here's what's in my global.asa to take care of this character set conversion mess.. Full details available to those that are interested.. [snip] Yikes, you redhat guys really need to look at AxKit: # in .htaccess AxOutputCharset ISO-8859-1

Re: [OT] DNS question (slightly mod_perl related...)

2000-09-05 Thread Ask Bjoern Hansen
On Thu, 31 Aug 2000, martin langhoff wrote: ... As you may have imagined, it maybe trivial to do in Apache (I haven't done it yet, but I hope it is). I usually do it with mod_rewrite. Something like RewriteEngine on RewriteCond %{HTTP_HOST}!^www\.ek\.dk$

Re: StatINC Question

2000-09-05 Thread Ask Bjoern Hansen
On Mon, 4 Sep 2000, Warren D. Johnson wrote: Thank you for the followup. My original thought was that StatINC reloaded modules as appropriate and that each child should share a common cache of pre-compiled scripts. Since that is not the case, it makes developing larger applications in

Re: HTML Template Comparison Sheet ETA

2000-09-05 Thread Andrew Ford
[EMAIL PROTECTED] (Marc D. Spencer) writes: I have to chime in a little (also noting that we have drifted a bit off the original topic...) While working for a large company as the Chief Architect for the web group I was faced with the same need to investigate template options - within

Re: internal_redirect

2000-09-05 Thread Differentiated Software Solutions Pvt. Ltd
Hi, We corrected R to r. Problem still remains. We ran this program as a standalone perl program and even this bombs. Code as follows. #!/usr/bin/perl my $r; use Apache (); Apache-request($r); $r-internal_redirect('hello.html'); Error message : Can't locate object method "request" via

mod_perl-1.24 and php-3.0.16

2000-09-05 Thread Kenneth Lee
Hi all, Did this already spotted sometime before? (I apologize if the PHP stuffs bothers you). One of our PHP applications crashed Apache after moving to a new server, which with both mod_perl and mod_php3 installed. After few hours of debugging process, it turns out that the evil was the

mod_perl 1.24 as DSO under Apache 1.3.12 and Veritas Cluster Server VCS 1.1.2

2000-09-05 Thread Jens-Uwe Walther
Hi, I have a starneg problem with mod_perl under a veritas Cluster Server. Everything works fine from the command line. in httpd.conf ... LoadModule perl_modulelibexec/libperl.so ... AddModule mod_perl.c ... AddHandler perl-script .pl PerlHandler Apache::Registry ... ha-pollux(root)#

Re: mod_perl 1.24 as DSO under Apache 1.3.12 and Veritas Cluster Server VCS 1.1.2

2000-09-05 Thread Alexander Farber (EED)
Jens-Uwe Walther wrote: Everything works fine from the command line. Using the apachectl in a so called "online" script doesn't start the httpd server. Instead it notes in "error_log" Apache.pm failed to load!. My guess is, that when you run apachectl from the "online" script, then

Re: internal_redirect

2000-09-05 Thread Stas Bekman
On Tue, 5 Sep 2000, Matt Sergeant wrote: On Tue, 5 Sep 2000, Differentiated Software Solutions Pvt. Ltd wrote: Hi, We corrected R to r. Problem still remains. We ran this program as a standalone perl program and even this bombs. Code as follows. #!/usr/bin/perl my $r; use

Re: [OT] mod_rewrite hang

2000-09-05 Thread Jonathan Leto
Thanks for the people who tried to help, but it doesn't seem to be a DNS timeout. When using the following code, it still hangs: #!/usr/bin/perl -w use strict; $|++; while(){ print "$_\n"; } Any other suggestions? Jonathan Leto ([EMAIL PROTECTED]) was saying: If anybody could give

Re: [OT] mod_rewrite hang

2000-09-05 Thread David Hodgkinson
Jonathan Leto [EMAIL PROTECTED] writes: Thanks for the people who tried to help, but it doesn't seem to be a DNS timeout. When using the following code, it still hangs: #!/usr/bin/perl -w use strict; $|++; while(){ print "$_\n"; } strace the server under 'httpd -X' --

RE: Apache crashes with Apache::DBI

2000-09-05 Thread Geoffrey Young
-Original Message- From: Pires Claudio [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 05, 2000 10:12 AM To: modperl Subject: Apache crashes with Apache::DBI Hi, I have problems to load Apache DBI. I added the PerlModule Apache::DBI into httpd.conf and when I restarted

Apache crashes with Apache::DBI

2000-09-05 Thread Pires Claudio
Hi, I have problems to load Apache DBI. I added the PerlModule Apache::DBI into httpd.conf and when I restarted Apache I got this message bash# /etc/rc.d/init.d/httpd restart; Shutting down http: [ OK ] Starting httpd: [ OK ] bash# /etc/rc.d/init.d/httpd

Re: HTML Template Comparison Sheet ETA

2000-09-05 Thread Vivek Khera
"GWH" == G W Haywood [EMAIL PROTECTED] writes: GWH Do you think this one could go off-List now? No; I find it quite useful to help form my own descision on what sort of templating system to use with mod_perl apps.

Re: internal_redirect

2000-09-05 Thread Ken Williams
[EMAIL PROTECTED] (Differentiated Software Solutions Pvt. Ltd) wrote: We corrected R to r. Problem still remains. We ran this program as a standalone perl program and even this bombs. Code as follows. #!/usr/bin/perl my $r; use Apache (); Apache-request($r); $r-internal_redirect('hello.html');

Re: multilanguage site

2000-09-05 Thread Matt Sergeant
On Tue, 5 Sep 2000, Paul Lindner wrote: On Tue, Sep 05, 2000 at 10:23:45AM +0100, Matt Sergeant wrote: On Tue, 5 Sep 2000, Paul Lindner wrote: Anyway, here's what's in my global.asa to take care of this character set conversion mess.. Full details available to those that are

Re: HTML Template Comparison Sheet ETA

2000-09-05 Thread Drew Taylor
Vivek Khera wrote: "GWH" == G W Haywood [EMAIL PROTECTED] writes: GWH Do you think this one could go off-List now? No; I find it quite useful to help form my own descision on what sort of templating system to use with mod_perl apps. I'm also finding it useful. There have been many

Re: HTML Template Comparison Sheet ETA

2000-09-05 Thread Mike Miller
On Tue, 05 Sep 2000 10:39:37 -0400, Drew Taylor wrote: I'm also finding it useful. There have been many useful ideas/concepts thrown about that I intend to use in the template comparison. Seconded. Lots of useful stuff in this thread, and has been giving me a lot of information about other

Re: HTML Template Comparison Sheet ETA

2000-09-05 Thread G.W. Haywood
Hi all, On Tue, 5 Sep 2000, Drew Taylor wrote: "GWH" == G W Haywood [EMAIL PROTECTED] writes: GWH Do you think this one could go off-List now? No; I find it quite useful to help form my own descision on what sort of templating system to use with mod_perl apps. I'm also finding it

Re: HTML Template Comparison Sheet ETA

2000-09-05 Thread Drew Taylor
"G.W. Haywood" wrote: Hi all, On Tue, 5 Sep 2000, Drew Taylor wrote: "GWH" == G W Haywood [EMAIL PROTECTED] writes: GWH Do you think this one could go off-List now? No; I find it quite useful to help form my own descision on what sort of templating system to use with mod_perl

Re: HTML Template Comparison Sheet ETA

2000-09-05 Thread Nelson Correa de Toledo Ferraz
There are several points that we should consider before we can succesfully compare different templating systems. Performance, Ease of use, Code maintainability, Learning curve and the "Programming eficiency" (lines of code you have to write to have your job done) are some (good?) examples. A

Re: Poor man's connection pooling

2000-09-05 Thread Vivek Khera
"MP" == Michael Peppler [EMAIL PROTECTED] writes: MP I'd be very interested in any comments, in particular if there are any MP downsides that I haven't considered (which is quite possible). Sounds quite cool. Would you consider making an Apache:: module for it? One question that pops to

Re: Can't locate object method No via package such

2000-09-05 Thread Ken Williams
[EMAIL PROTECTED] (Alan E. Derhaag) wrote: I upgraded to openssl-0.9.5a and recompiled apache w/mod_ssl and mod_perl defining the SSL_BASE to the apache src and now the thing won't start and complains about: Can't locate object method "No" via package "such" at /dev/null line 1. The compile

modperl not working

2000-09-05 Thread Jacob Everist
I'm getting this error while running Apache: [jeverist@server1 bin]$ ./httpd Syntax error on line 952 of /home/jeverist/local/apache/conf/httpd.conf: Invalid command 'perl', perhaps mis-spelled or defined by a module not included in the server configuration But modperl shows up here:

RE: [OT]: Thanks (c books)

2000-09-05 Thread David Hajoglou
Thanks to those of you who suggested c books. That really helped. Regards, Dave

Re: modperl not working

2000-09-05 Thread Stas Bekman
On Tue, 5 Sep 2000, Jacob Everist wrote: I'm getting this error while running Apache: [jeverist@server1 bin]$ ./httpd Syntax error on line 952 of /home/jeverist/local/apache/conf/httpd.conf: Invalid command 'perl', perhaps mis-spelled or defined by a module not included in the server

Embedded Perl/Resource Limits

2000-09-05 Thread Bill Mustdie
Hi, I have a question pertaining to Embedded Perl. (But it may be Apache or mod_perl in nature) From the example upload script on the Apache Embedded Perl page I am implementing a small file upload system however I have noticed files cut out when uploading at around 1 meg. (Reports "Network

Unnatural Uses

2000-09-05 Thread Kent, Mr. John
Greetings, Using Squid as an accelerator with an Apache Light and an Apache Heavy (mod-perl) server. Now trying to at load balancing via the redirect.pl script for http://mako.nrlmry.navy.mil/tc-bin/tc_home Doesn't work. While the redirect does change the URL, whenever it changes it to

Can you omit #! in mod_perl cgi?

2000-09-05 Thread michael_wong3
Hi all, I'm having a problem with maintaining multiple builds. Is there a way to configure apache to always handle perl cgi with a given build of perl? (ie., have an implicit #!) And if so, how? Thanks in advance, - m.

mod_perl handler blocks in Windows NT

2000-09-05 Thread John Kirkland
All, I found the enclosed message on dejanews dated 7/5/1999. The replies to the message indicated that it is a known problem with mod_perl in Windows. Well... today, I learned that I am suffering from the same problem as this poor soul below. I am running Apache/1.3.12 with mod_perl/1.23

mod_perl security on a shared web server

2000-09-05 Thread FĂ©lix C.Courtemanche
Hello, I couldn't find any occurance of this question in the archives, but if it does exists, please forward me to it. I have been working on a set of Administration Tools for commercial web hosting companies for quite some times. Lately I have been trying to figure out the MOST secure way to

Re: Poor man's connection pooling

2000-09-05 Thread Stas Bekman
On Tue, 5 Sep 2000, Michael Peppler wrote: Stas Bekman writes: On Tue, 5 Sep 2000, Michael Peppler wrote: The idea is to create a pool of connections during the main apache/modperl startup. Because these connections end up in the code segment for the child processes they are

Poor man's connection pooling

2000-09-05 Thread Michael Peppler
I've come across a technique that allows modperl processes to share a pool of database handles. It's not something that I have seen documented, so I figured I'd throw it out here. The idea is to create a pool of connections during the main apache/modperl startup. Because these connections end

Re: Poor man's connection pooling

2000-09-05 Thread Stas Bekman
On Tue, 5 Sep 2000, Michael Peppler wrote: I've come across a technique that allows modperl processes to share a pool of database handles. It's not something that I have seen documented, so I figured I'd throw it out here. The idea is to create a pool of connections during the main

Re: Poor man's connection pooling

2000-09-05 Thread Michael Peppler
Stas Bekman writes: On Tue, 5 Sep 2000, Michael Peppler wrote: The idea is to create a pool of connections during the main apache/modperl startup. Because these connections end up in the code segment for the child processes they are completely shareable. You populate a hash in a