however when I run the following code
#!c:/perl/bin/perl -w
use Apache ();
use Apache::Request ();
use CGI::Carp qw(fatalsToBrowser);
my $r = Apache::Request-new(shift);
# my $apr = Apache::Request-new($r);
print Content-type:text/html\n\n;
print Hello, World...\n;
print $r;
print
On Wed, 2003-07-02 at 11:50, Matt Corbett wrote:
I need to use the Apache::Request module on a range of programs to use
POST and GET methods in my HTML to process information gathered.
Actually, you don't. You can use CGI.pm, CGI::Simple, CGI_Lite, etc.
for this.
If you want to use
this, however the line $r-content-type('text/html'); seems to be
giving my compiler some problems. You could'nt just give me a hint on
My mistake, shift key didn't get pressed hard enough =P
$r-content_type('text/html');
Dennis
On Wed, 2 Jul 2003, Matt Corbett wrote:
Dear List,
I have got a problem that I can't fix no way, no how.
I am porting a Linux website to xp pro.
I need to use the Apache::Request module on a range of
programs to use POST and GET methods in my HTML to process
information gathered.
The
of you can recommend a good charity I will
make a small donation for your time. Again thanks
Matt
-Original Message-
From: Dennis Stout [mailto:[EMAIL PROTECTED]
Sent: 02 July 2003 19:28
To: Matt Corbett
Subject: Re: Please help newbie with Module problem.
I don't have a PerlHandler set
- Original Message -
From: Matt Corbett [EMAIL PROTECTED]
To: 'Dennis Stout' [EMAIL PROTECTED]; 'Randy Kobes'
[EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, July 02, 2003 11 55
Subject: RE: Please help newbie with Module problem.
Dennis and Randy and others on the list that gave advice
I followed the instructions in INSTALL.simple.mod_ssl and did:
setenv SSL_BASE SYSTEM
setenv EAPI_MM SYSTEM
cd mod_ssl-2.8.10-1.3.26
./configure --with-apache=../apache_1.3.26/
cd ../mod_perl
perl Makefile.PL DO_HTTPD=1 APACHE_PREFIX=/usr/local/apache APACHE_SRC=../apache-1.3.26/src USE_APACI=1
hi
but what is the problem ?
if you are running normal cgi script, then the first line of the file script
called must contain
#!path_path_to_perl
and this is just a comment to remind you in httpd.conf :
# Apache parses all CGI scripts for the shebang line by default.
# This comment line, the
Keletso Mokgethi wrote:
i am a novice trying to run a perl script on apache
i created
a directory under httpd called "perl" in which i
stored the script. according to redhat's linux 6.2
apache/ssl documentation, mod_perl is ready to run
once the server is launced and there is no need for
thank you Mr Boyle for the help. i have been able to
gain access to the directory, but i still cannot get
any HTML output from the script. the browser just
hangs when i try to access it. i figure the problem
might have to do with the code, and i was wondering if
anyone could help me debug. the
Assil,
From [EMAIL PROTECTED]
If despite following these instructions, you do not get the
desired results, please contact my owner at
[EMAIL PROTECTED] Please be patient, my owner is a
lot slower than I am ;-)
HTH
Peter
Peter Farmer
Systems Engineer
blueyonder
ICQ - 55297879
-
Why are you sending this to the modperl mailing list.
First, upgrade to the latest Apache::ASP 2.03, which has better error
messaging... while developing, set Debug to 2, so you won't get all
this system level debugging, just developer errors to the browser.
Then look at line 134, or thereabouts, of the offending scripts ...
you are calling
On Mon, May 29, 2000 at 08:05:08AM -0500, Hui Zhu wrote:
Hi ALL:
I have a module called samplemod.pm. It used to work fine. After modifying
something, i got errors from a perl
script (use samplemod;) saying:
samplemod.pm did not return a true value at /home/httpd/perl/test.pl line 12.
You could try putting a
1;
at the end of the module, if you don't already have one. Leaving this out
is a common mistake.
Mike
-Original Message-
From: Hui Zhu [EMAIL PROTECTED]
Cc: Modperl Mailing List [EMAIL PROTECTED]
Date: 29 May 2000 14:00
Subject: Please HELP, Thanks.
Hi ALL:
Not really a mod_perl question here,,
but anyway if you include a file with "use" or "require" that file need to
return a true value.
return 1;
or just:
1;
you have probebly removed this line from samplemod.pm
check samplemod.pm and make shure it returns a true value.
Best regards
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 problems, all
Shared pain! Have just been through this.
Sequencing is a little arcane.
Make mod_perl
Install mod_perl
Make Apache
Install Apche
Make test mod_perl.
Mod_perl needs a perl aware Apache.
The additions to the http.conf are stripped out by a perl aware Apache.
I may not have addressed your
perl Makefile.PL
make
make test
make install
APACHE_SRC=/usr/src/apache_1.3.12/src
APACHE_PREFIX=/data01/apache
DO_HTTPD=1
with that config, mod_perl will build httpd for you and install with 'make
install'. that's all you need.
$ROOT_DIR/apache_1.3.12/configure \
matt [EMAIL PROTECTED] wrote:
Hi,
I need help, I am setting up a web database and here's what i'm using
OS: FreeBSD
Webserver : Apache 1.3
Database : MySQL
Modules : mod_perl
PerlModules: apache:DBI apache:registry apache:eperl
I nearly had the database completely up and I
James G Smith ([EMAIL PROTECTED]) wrote:
matt [EMAIL PROTECTED] wrote:
Hi,
I need help, I am setting up a web database and here's what i'm using
OS: FreeBSD
Webserver : Apache 1.3
Database : MySQL
Modules : mod_perl
PerlModules: apache:DBI apache:registry apache:eperl
Asghar, I've answered this question a few days ago - look at the archives!
(hint: perl.apache.org) search for PL_perl_destruct_level
(it'll show up in the next guide's release)
I hope somebody could respond to this problem.
I get the following link error when I try to make apache_1.3.9
When I run it from the command line everything behaves as advertised
(appending the output as stdalone.output) but when I run it through my
Apache HTTPD the output is a plain/text incomplete page. Here it is
pasted from the browser:
The files looks good so far. Is in your other Apache
Hi there, Thang,
On Mon, 29 Nov 1999, Thang Nguyen wrote:
Yes I've followed your step, but I still got the same problem as before
my dir structure is
/usr/local/apache linked to /usr/local/apache_1.3.9 and
/usr/local/mod_perl linked to /usr/local/apache_1.3.9
Is this really what you have
24 matches
Mail list logo