Hello,
If I use SetPerlVar in my apache-perl httpd.conf by just plainly
stating.
SetPerlVar Foo Bar
Apache-perl won't start:
Syntax error on line xxx of /etc/apache-perl/httpd.conf:
Invalid command 'SetPerlVar', perhaps mis-spelled or defined by a module
not included in the server
On Today at 6:47pm, WHvH=Walter H. van Holst [EMAIL PROTECTED]...:
WHvH Hello,
WHvH
WHvH If I use SetPerlVar in my apache-perl httpd.conf by just plainly
WHvH stating.
WHvH
WHvH SetPerlVar Foo Bar
WHvH
Try PerlSetVar instead.
For 1.0
On 17 Jul 2003 18:47:06 +0200
Walter H. van Holst [EMAIL PROTECTED] wrote:
Hello,
If I use SetPerlVar in my apache-perl httpd.conf by just plainly
stating.
SetPerlVar Foo Bar
Apache-perl won't start:
Syntax error on line xxx of /etc/apache-perl/httpd.conf:
Invalid command
On Thu, 2003-07-17 at 18:56, Frank Wiles wrote:
What is the obvious thing I am overlooking?
It's PerlSetVar not SetPerlVar.
* Blush *
Thanks.
Regards,
Walter
--
All things that are, are with more spirit chased than enjoyed.
-- Shakespeare, Merchant of Venice
On Monday, Jul 7, 2003, at 20:50 Europe/London, Ged Haywood wrote:
On 7 Jul 2003, Walter H. van Holst wrote:
I am new to mod_perl and am trying to figure out whether it suits my
needs or not. Can I use it to intercept any http CONNECT requests
Apache
receives and answer those?
The concept of a
On Tue, 2003-07-08 at 10:14, Matt Sergeant wrote:
Sorry Ged, Walter is talking about CONNECT which is a proxy request. It
goes in place of GET or POST in the request line:
CONNECT mail.openrelay.com:25 HTTP/1.1
I *think* mod_perl will be able to intercept this, but I've never tried
it.
Hi there,
On 8 Jul 2003, Walter H. van Holst wrote:
On Tue, 2003-07-08 at 10:14, Matt Sergeant wrote:
Sorry Ged, Walter is talking about CONNECT which is a proxy request.
Argh. :)
Well, thanks to a someone on IRC I have found a code snippet that might
do exactly that. So it appears
Hi,
I am new to mod_perl and am trying to figure out whether it suits my
needs or not. Can I use it to intercept any http CONNECT requests Apache
receives and answer those?
Regards,
Walter
--
Like almost everyone, I receive a lot of spam every day, much of it
offering to help me get out of
Hi there,
On 7 Jul 2003, Walter H. van Holst wrote:
I am new to mod_perl and am trying to figure out whether it suits my
needs or not. Can I use it to intercept any http CONNECT requests Apache
receives and answer those?
The concept of a connection is at the transport level, way below HTTP.
Hi,
I have a server which has the following pre-installed on it:
Apache/1.3.27
mod_perl/1.27
Perl/5.6.1
If I upgrade to Perl/5.8.0 will I have to upgrade mod_perl to a newer
version as well?
Thanks,
NG
Hi,
mod_perl 1.27 is the latest stable version of mod_perl 1.
You're fine.
Regards,
Sven.
Am Mon, 2003-02-24 um 12.24 schrieb Gazi, Nasser (London):
Hi,
I have a server which has the following pre-installed on it:
Apache/1.3.27
mod_perl/1.27
Perl/5.6.1
If I upgrade to Perl/5.8.0
Hi,
mod_perl 1.27 is the latest stable version of mod_perl 1.
You're fine.
Regards,
Sven.
Am Mon, 2003-02-24 um 12.24 schrieb Gazi, Nasser (London):
Hi,
I have a server which has the following pre-installed on it:
Apache/1.3.27
mod_perl/1.27
Perl/5.6.1
If I upgrade
Hi,
mod_perl 1.27 is the latest stable version of mod_perl 1. You're fine.
Regards,
Sven.
Am Mon, 2003-02-24 um 12.24 schrieb Gazi, Nasser (London):
Hi,
I have a server which has the following pre-installed on it:
Apache/1.3.27
mod_perl/1.27
Perl/5.6.1
If I upgrade to
to perl 5.8.0 (newbie question)
Hi,
I have a server which has the following pre-installed on it:
Apache/1.3.27
mod_perl/1.27
Perl/5.6.1
If I upgrade to Perl/5.8.0 will I have to upgrade mod_perl to a newer
version as well?
Thanks,
NG
On Thursday, February 20, 2003, at 08:13 AM, Charlie Smith wrote:
I get errors on installing mod_perl/Apache 1.3.27, under the root
account when running perl Makefile.PL.
I'm running perl 5.8 on solaris. gcc 2.95.
#
#
# perl Makefile.PL
Configure mod_perl with ../apache_1.3.27/src ? [y]
: Thursday, February 20, 2003
9:14 AMTo: [EMAIL PROTECTED]Subject: Help
installing mod_perl 1.27 and apache 1.3.27. newbie
question.
I get errors on installing mod_perl/Apache 1.3.27, under the root account
when running perl Makefile.PL.
I'm running perl 5.8 on solaris. gcc 2.95
What's the latest stable version of mod_perl?
I believe the latest stable version of Apache is 1.3.19, which is what I am
running.
I am at mod_perl version 1.25.
As I understand it, I need to recompile mod_perl with Apache 1.3.19 and
perl 5.8 on sun box in order to get perl 5.8 (hitting an
On Mon, 10 Feb 2003, Charlie Smith wrote:
What's the latest stable version of mod_perl?
Always available at http://perl.apache.org/download
I believe the latest stable version of Apache is 1.3.19, which is what I am
running.
No, the latest stable Apache version is 2.0.44. However, you
Nick Tonkin wrote:
[...]
I am not aware that you _need_ perl
5.8 to compile the latest apache and mod_perl...
You need 5.8 only to work with threaded mpm (Apache 2.0) and mod_perl 1.99_08.
http://perl.apache.org/docs/2.0/user/install/install.html#Prerequisites
So, I'm using mod_perl as installed via RPMS on RedHat 8.0, and can't
believe that an hour of hunting hasn't netted an answer to this
apparently simple problem. Perl scripts seem not to have . set to
~user/public_html, as use() and require() fail on files which are in the
same directory as the
Stephen Walton wrote:
Please state [mp2] or something in the subject or at least in the message so
we don't have to guess what version you are talking about.
So, I'm using mod_perl as installed via RPMS on RedHat 8.0, and can't
believe that an hour of hunting hasn't netted an answer to this
Unfortunatly, I find myself with a silly newbie question:
I need to make an Apache module (not a Registry script) which will:
1. Check for a cookie, and if not there, pushhandler to a module for
logging in (keeping the original request at hand for use after they
succeed in logging in).
2
On Tue, 13 Nov 2001 04:28, you wrote:
I need to make an Apache module (not a Registry script) which will:
1. Check for a cookie, and if not there, pushhandler to a module for
logging in (keeping the original request at hand for use after they
succeed in logging in).
2. Extract data from the
Sorry if this is in an FAQ somehere (googled for it, but no luck).
Does anyone know of a *good* guide to compiling/configuring/installing
Apache + mod_perl on a Windows NT system?
The impression I get from scouting newsgrops is that most people resort to
using a prebuild binary - so I figure it
operational in about an hour.
Yell if you have any questions, as I have done this twice on NT.
Scott
-Original Message-
From: Randy Kobes [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 12, 2001 10:20 AM
To: Jason
Cc: [EMAIL PROTECTED]
Subject: Re: Newbie question
On Thu, 12 Jul 2001, Jason
"Differentiated Software Solutions Pvt. Ltd.," wrote:
I have written two mod_perl programs whose output is same (through
browser).
I want to know what are the difference between them! If there is any
difference then what are the pros and cons in using both of them?
The second program is
";}
Thanks,
Muthu S
Ganesh
P.S.
[NQ] - Newbie
Question
Differentiated Software Solutions Pvt. Ltd.,90, 3rd Cross,2nd Main,
Ganga Nagar,Bangalore - 560 032Phone : 91 80 3631445Visit us at
www.diffsoft.com
Hi all,
I am a newbie user of mod_perl trying to work with Apache::AuthCookieDBI
and have been running into several obstacles. I'm hoping someone can
point me in the right direction.
I just installed Apache::AuthCookie successfully and was able to get it to
work with the necessary changes in
Hi all,
I am a newbie user of mod_perl trying to work with Apache::AuthCookieDBI
and have been running into several obstacles. I'm hoping someone can
point me in the right direction.
I just installed Apache::AuthCookie successfully and was able to get it to
work with the necessary changes in
Hi there,
I am new to mod_perl and currently trying to make use of Apache::DBI.
This is my enviroment:
Suse Linux 6.3, Apache 1.3.12, mod_perl 1.24 and Oracle 8i. I am using
HTML:Mason as well, as a templating system. Everything works.
Apache::DBI is loaded via httpd.conf by Apache properly and
Hi there,
I am new to mod_perl and currently trying to make use of Apache::DBI.
This is my enviroment:
Suse Linux 6.3, Apache 1.3.12, mod_perl 1.24 and Oracle 8i. I am using
HTML:Mason as well, as a templating system. Everything works.
Apache::DBI is loaded via httpd.conf by Apache properly and
On Thu, Feb 08, 2001 at 11:57:50PM +0100, Caroline Kliegl wrote:
[..]
With my other script, updating data, I get the following error :
Rebuild with -DPERL_STACKED_HANDLERS to $r-push_handlers at
/usr/local/lib/perl5/site_perl/5.6.0/Apache/DBI.pm line 93.
[..]
You need to compile mod_perl
Hi there,
On Thu, 8 Feb 2001, Caroline Kliegl wrote:
I am new to mod_perl and currently trying to make use of Apache::DBI.
I get the following error :
Rebuild with -DPERL_STACKED_HANDLERS to $r-push_handlers at
/usr/local/lib/perl5/site_perl/5.6.0/Apache/DBI.pm line 93.
I think it
(or don't set AutoCommit=0 in your
connect string if you can't rebuild it now...)
try these and see if they make a difference...
HTH
--Geoff
-Original Message-
From: Caroline Kliegl
To: [EMAIL PROTECTED]
Sent: 2/8/01 5:57 PM
Subject: Newbie question to mod_perl and Apache::DBI
Hi there,
I
8/01 7:52 PM
Subject: RE: Newbie question to mod_perl and Apache::DBI
Apache::DBI will call push_handlers on to issue a rollback if
AutoCommit=0
in your connect string...
but the problem may not be with you... looks like a bug (somewhere):
if(!$Rollback{$Idx} and $needCleanup and Apach
Hi everybody,
I have just removed
RaiseError = 1,
AutoCommit = 0
out of my DBI-connect. No more errors, ORA works!
Next, I will recompile mod_perl with PERL_STACKED_HANDLERS = 1.
Will come up with the result today.
Thanks a
I am trying to implement Example 2-14 in Stein and MacEachern.
Here's my code:
#!/usr/bin/perl
# file: hello.cgi
use CGI qw(:standard);
use strict;
my $name = param('name') || 'Anonymous';
print header(),start_html(-title='Yo!', -bgcolor='yellow'),
h1("Hello $name"),
p( "To change your
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 10, 2001 6:01 AM
To: [EMAIL PROTECTED]
Subject: Apache::Registry newbie question -- CGI state
I am trying to implement Example 2-14 in Stein and MacEachern.
Here's my code
Geoffrey Young wrote:
#!/usr/bin/perl
# file: hello.cgi
use CGI qw(:standard);
use strict;
I don't ever user CGI.pm, but aren't you forgetting to create a new CGI
object in here?
my $name = param('name') || 'Anonymous';
Geoff, I have another question: if you don't use
CGI.pm,
On Wed Jan 10, 2001 at 03:41:12PM +0100, Alexander Farber (EED) wrote:
Geoff, I have another question: if you don't use
CGI.pm, how do you generate the web form elements?
Just "print qq{INPUT TYPE="text" ...}" or are
there some nicer tricks?
Are you know templates methode ? it's a realy
-Original Message-
From: Alexander Farber (EED) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 10, 2001 9:41 AM
Cc: [EMAIL PROTECTED]
Subject: Re: Apache::Registry newbie question -- CGI state
Geoffrey Young wrote:
#!/usr/bin/perl
# file: hello.cgi
use CGI qw
Let me apologize in advance if this is covered on a FAQ somewhere,
or if this is the wrong place for this question. I've looked on
the Apache web sites and in "Administering Apache" by Arnold,
Almeida, and Miller but no luck.
I'm just trying to get started with Apache and Perl on WinNT. I've
Nevermind, after searching on altavista for a couple hours I found a page
that explained I had to use the #! notation (its not just for Unix anymore!)
The test script works fine now.
Gaf
Basically I'm a bit stumped by how perl lets us reuse code snippets. I
can't seem to bend modules to what I need to do exactly:
I'm using Apache and mod_perl. Each perl script will produce a dynamic web
page. Now, with each script I need to recover the session variables I'm
saving (using
I am trying to learn mod_perl, and have been going through the O'Reilly
book. Got to the "footer" example, where it just simply adds some HTML to
the bottom of a page. not a big deal.
when I try to run it, I get issues with mod_perl not being able to find
File.pm. here is some of what I see
: modperl newbie: question about unable to load File.pm
I am trying to learn mod_perl, and have been going through
the O'Reilly
book. Got to the "footer" example, where it just simply adds
some HTML to
the bottom of a page. not a big deal.
when I try to run it, I get issues wit
, August 24, 2000 3:40 PM
To: modperl
Subject: modperl newbie: question about unable to load File.pm
I am trying to learn mod_perl, and have been going through the O'Reilly
book. Got to the "footer" example, where it just simply adds some HTML to
the bottom of a page. not a big deal.
when I
Sorry if this has been asked before but I have been unable to find the answer
(not in perldoc, apache modules book, searching archives):
I would like my perl compilation and process errors to be written to an HTML
page if/when they occur, in the same way they are written to stdout when I run
The request object is $r
Craig
On Sat, 19 Aug 2000, Jay Strauss wrote:
Sorry if this has been asked before but I have been unable to find the answer
(not in perldoc, apache modules book, searching archives):
I would like my perl compilation and process errors to be written to an HTML
Check the mod_perl guide for the usage of require() and do(). You probably
want to use do() instead of require().
Chris
-Original Message-
From: Brett Lee [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 15, 2000 7:56 AM
To: [EMAIL PROTECTED]
Subject: newbie question - require
In moving
Brett Lee wrote:
but with mod_perl, the info in the hash tables seems to be found "every
other refresh" (which has me stumped).
Would anyone be able to suggest a solution or reading material on this?
don't forget to check your stuff out with single-process mode,
via 'apachectl stop; apache
In moving from CGI.pm to mod_perl, I ran across the common error with
functions that exist in scripts pulled in with 'require'.
Mod_perl_traps.html had the solution. Similarly, am using ('require')
another file which holds all the hash tables (countries, states, etc.)
that my scripts need to
On Sat, 6 May 2000, Gunther Birznieks wrote:
At 06:56 PM 5/5/00 -0400, Jim Winstead wrote:
On May 05, Adi wrote:
You can still use CGI.pm from within mod_perl (and you should). There is
nothing better at handling data passed from a browser via HTTP POST and/or
GET. If you currently
On Fri, 12 May 2000, Doug MacEachern wrote:
On Sat, 6 May 2000, Gunther Birznieks wrote:
At 06:56 PM 5/5/00 -0400, Jim Winstead wrote:
On May 05, Adi wrote:
You can still use CGI.pm from within mod_perl (and you should). There is
nothing better at handling data passed from a
not compiled, but the all the code lives in a BIG hash table for CGI.pm to
autoload from. the export lists take up alot of space too. regardless if
you're using html routines or not.
As I have replied to FEITO Nazareno today, this happens only if you
precompile CGI.pm's functions at
Peter Haworth wrote:
Drew Taylor wrote:
What I would really like is a module which subclasses Apache::Request,
and has the popup_menu, scrolling_list, and checkbox group methods
available. That way I can use the smaller (faster) Apache::Request and
still have the few HTML generation
Drew Taylor wrote:
What I would really like is a module which subclasses Apache::Request,
and has the popup_menu, scrolling_list, and checkbox group methods
available. That way I can use the smaller (faster) Apache::Request and
still have the few HTML generation methods that I need. This
-Original Message-
From: Drew Taylor [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 09, 2000 9:08 AM
To: Peter Haworth
Cc: [EMAIL PROTECTED]
Subject: Re: Newbie Question -
Peter Haworth wrote:
Drew Taylor wrote:
What I would really like is a module which subclasses
Geoffrey Young wrote:
Drew Taylor wrote:
I'm quite sure it would be an easy write, but I just haven't done it
yet. I think once I convert my CGIs to handlers, it makes
sense to do it
then. It would be interesting to see if anyone else is interested and
work out an API for the most
-Original Message-
From: Doug MacEachern [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 05, 2000 6:22 PM
To: Geoffrey Young
Cc: 'Pierre J. Nicolas'; [EMAIL PROTECTED]
Subject: RE: Newbie Question -
mod_perl overrides the perl print() function - print()ing to STDOUT
Adi wrote:
Jim Winstead wrote:
On May 05, Adi wrote:
You can still use CGI.pm from within mod_perl (and you should). There is
nothing better at handling data passed from a browser via HTTP POST and/or
GET. If you currently use CGI.pm, I think you'll find that a lot of your
Good Morning,
I just started using mod_perl, I'm still using the CGI.pm module, but I
plan
to convert. I've loaded the Apache::Registry and I'm experiencing a
strange
problem.
I have this snippet:
print "Content-Type: text/html\n\n";
print_template(file_handle, *file_handle_ref)
Good Morning,
I just started using mod_perl, could someone please tell me why
I would get an error:
"Undefined subroutine Apache::ROOT::dir::prog_name::function_name
called at
/path/to/script/script_name line line_numer"
when I specifically "require module_with_function_name" in the script.
I
PROTECTED]
Subject: Newbie Question
Good Morning,
I just started using mod_perl, could someone please tell me why
I would get an error:
"Undefined subroutine Apache::ROOT::dir::prog_name::function_name
called at
/path/to/script/script_name line line_numer"
when I specifically
On Fri, 5 May 2000, Pierre J. Nicolas wrote:
Good Morning,
I just started using mod_perl, I'm still using the CGI.pm module, but I
plan
to convert. I've loaded the Apache::Registry and I'm experiencing a
strange
problem.
I have this snippet:
print "Content-Type:
mod_perl overrides the perl print() function - print()ing to STDOUT
explititly will not work.
just use print() if you can...
sure it will,
print STDOUT "hi";
and
print "hi";
are the same thing, provided STDOUT is the currently selected output
filehandle, which it is by default.
"Pierre J. Nicolas" wrote:
Good Morning,
I just started using mod_perl, I'm still using the CGI.pm module, but I
plan
to convert.
You can still use CGI.pm from within mod_perl (and you should). There is
nothing better at handling data passed from a browser via HTTP POST and/or
GET. If
On May 05, Adi wrote:
You can still use CGI.pm from within mod_perl (and you should). There is
nothing better at handling data passed from a browser via HTTP POST and/or
GET. If you currently use CGI.pm, I think you'll find that a lot of your
current code can simply be cut-and-pasted into a
Jim Winstead wrote:
On May 05, Adi wrote:
You can still use CGI.pm from within mod_perl (and you should). There is
nothing better at handling data passed from a browser via HTTP POST and/or
GET. If you currently use CGI.pm, I think you'll find that a lot of your
current code can
At 06:56 PM 5/5/00 -0400, Jim Winstead wrote:
On May 05, Adi wrote:
You can still use CGI.pm from within mod_perl (and you should). There is
nothing better at handling data passed from a browser via HTTP POST and/or
GET. If you currently use CGI.pm, I think you'll find that a lot of your
On Fri, Feb 04, 2000 at 06:21:21PM -0800, John Darrow wrote:
I apologize if this is a dumb question, but I just installed Apache and
mod_perl and all seems to have gone well. The trouble comes in when I try
to run a script using Apache::Registry and CGI.pm. I get an extra
Content-Type in
On Fri, Feb 04, 2000 at 06:21:21PM -0800, John Darrow wrote:
I apologize if this is a dumb question, but I just installed Apache and
mod_perl and all seems to have gone well. The trouble comes in when I try
to run a script using Apache::Registry and CGI.pm. I get an extra
Content-Type
Thanks. Upgrading to 2.56 did fix it. My system still had CGI version
2.36.
-john.
-Original Message-
From: Stas Bekman [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 05, 2000 1:33 AM
To: Wendell
Cc: John Darrow; [EMAIL PROTECTED]
Subject: Re: newbie question: extra Content
I apologize if this is a dumb question, but I just installed Apache and
mod_perl and all seems to have gone well. The trouble comes in when I try
to run a script using Apache::Registry and CGI.pm. I get an extra
Content-Type in the resulting page, and I can't figure out where it's coming
from.
At 06:21 PM 02/04/00 -0800, John Darrow wrote:
I apologize if this is a dumb question, but I just installed Apache and
mod_perl and all seems to have gone well. The trouble comes in when I try
to run a script using Apache::Registry and CGI.pm. I get an extra
Content-Type in the resulting page,
I am a relative newbie to mod_perl myself, but - I would think if you just want "a
script to handle forms" that a vanilla CGI would be cake to set up and sufficient for
your needs unless you get huge traffic. And I am led to think that if you just loaded
ActivePerl then you are a long way
I am a relative newbie to mod_perl myself, but - I would think if you just
want "a script to handle forms" that a vanilla CGI would be cake to set up
and sufficient for your needs unless you get huge traffic. And I am led to
think that if you just loaded ActivePerl then you are a long way from
Hi all,
I hope you guys will forgive this question,
but I am a complete beginner with CGI etc.
We run an NT Server using Apache Web Server
and I want to run Perl scripts on our web site to handle our administration
forms.
I loaded the Activeperl software onto the
server, but it still
Hi Ian,
We run an NT Server using Apache Web Server and I want to run Perl scripts
on our web site to handle our administration forms.
To get full advantage out of mod_perl, it is more interesting to use it on
UNIX machines. But, in this community, we will encourage you to use mod_perl
even
Thanks for your responses so far,
I know I have a lot of reading to do but I just thought I would add this to
my first post.
After loading Activeperl I changed the httpd.conf file by adding the
following:
Alias /perl/ c:/Program Files/Apache Group/Apache/cgi-bin
Location /perl
SetHandler
Just trying out Embperl, and I discovered that (in my test of dynamic
tables) the $maxrow and $maxcol variables are being set to defaults of 100
and 10 respectively and then obeyed, even though the $tabmode variable is
set to 17. According to the documentation, these variables should only be
81 matches
Mail list logo