Anyway, all this started from an attempt to access env. vars from legacy
scripts running under registry. What is the easiest way to get env. var
access without the accompanying performance penalty that mod_perl
documentation talks about?
If you need to have your scripts run unmodified, have Per
--- Dead Line <[EMAIL PROTECTED]> wrote: > Hello
Everyone,
>
>Im on FreeBSD 4.8R Fresh installation, I have
> apache-fp, installed and
> running,
>I installed p5-Apache-ASP-2.51 from /ports
> collection, installation was
> ../www/.htaccess: Invalid command 'PerlSetVar',
> perhaps mis-s
Hello Everyone,
Im on FreeBSD 4.8R Fresh installation, I have apache-fp, installed and
running,
I installed p5-Apache-ASP-2.51 from /ports collection, installation was
fine.
I copied whats in ./site/eg to the www directry, as its informed in the
website,
also I did the "AllowOverride
Gedanken wrote:
I know this is not of much help, but I have had situations where a badly
terminating process would prevent subsequent processes from using that
port. on windows, i never found a solution other than to reboot. on
solaris 7, i never found a solution other than to wait 8 minutes.
Hi there,
On Thu, 3 Jul 2003, Ranga Nathan wrote:
> >In other words there's an Apache still running
>
> The 'top' output is :
> [snip]
> How can I get a list of ports being used so I can kill the processes?
As I said, there may be more wrong than just what's obvious. It looks
like the obvious
I know this is not of much help, but I have had situations where a badly
terminating process would prevent subsequent processes from using that
port. on windows, i never found a solution other than to reboot. on
solaris 7, i never found a solution other than to wait 8 minutes. I did
some rea
he/bin/apachectl start
good luck,
bill
-Original Message-
From: Ranga Nathan [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 03, 2003 1:51 PM
Cc: mod_perl Mailing List
Subject: Re: Apache config problem .. please help
Ged Haywood wrote:
>Hi there,
>
>On Thu, 3 Jul 2003, Dennis
Ged Haywood wrote:
Hi there,
On Thu, 3 Jul 2003, Dennis Stout wrote:
I made a simple mod_perl change to the config and when restarting Apache
I got this error:
(98)Address already in use: make_sock: could not bind to address
0.0.0.0:2250
no listening sockets available, shutting down
/usr/lo
Hi there,
On Thu, 3 Jul 2003, Dennis Stout wrote:
> > I made a simple mod_perl change to the config and when restarting Apache
> > I got this error:
> > (98)Address already in use: make_sock: could not bind to address
> > 0.0.0.0:2250
> > no listening sockets available, shutting down
> > /usr/l
> I made a simple mod_perl change to the config and when restarting Apache
> I got this error:
> (98)Address already in use: make_sock: could not bind to address
> 0.0.0.0:2250
> no listening sockets available, shutting down
> /usr/local/apache/bin/apachectl: line 87: 16512 Segmentation fault
I made a simple mod_perl change to the config and when restarting Apache
I got this error:
(98)Address already in use: make_sock: could not bind to address
0.0.0.0:2250
no listening sockets available, shutting down
/usr/local/apache/bin/apachectl: line 87: 16512 Segmentation fault
$HTTPD $A
imate Troublshooting
- 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
Su
th 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 Pe
On Wed, 2 Jul 2003, Matt Corbett wrote:
> -Original Message-
> From: Randy Kobes [mailto:[EMAIL PROTECTED]
> Sent: 02 July 2003 19:39
> To: Matt Corbett
> Cc: [EMAIL PROTECTED]
> Subject: Re: FW: Please help newbie with Module problem.
>
> Does it help if you put
Randy,
Does'nt seem to make any difference.
Matt
-Original Message-
From: Randy Kobes [mailto:[EMAIL PROTECTED]
Sent: 02 July 2003 19:39
To: Matt Corbett
Cc: [EMAIL PROTECTED]
Subject: Re: FW: Please help newbie with Module problem.
On Wed, 2 Jul 2003, Matt Corbett wrote:
>
On Wed, 2 Jul 2003, Matt Corbett wrote:
> Yes, mod/perl/html scripts are fine except if I try to use
> Apache::Request. I can even 'use' it but the problem arises
> when I try to utilise it with the 'new' method.
The fact that you can 'use' it (without doing anything with it)
is encouraging, as t
lto:[EMAIL PROTECTED]
Sent: 02 July 2003 19:09
To: Matt Corbett
Subject: RE: Please help newbie with Module problem.
On Wed, 2 Jul 2003, Matt Corbett wrote:
> Randy,
> No errors, It returns 1
> Matt
Does a simple Registry script (without Apache::Request)
work from the same locat
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.
>
> 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, 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 Apache::R
> 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";
> pri
Title: Message
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 port I am using
is the
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 EV
Hi all,
How do I get BOTH mod_perl and mod_ssl built into and working in Apache?
I had mod_perl successfully built into my apache to use Authentication hook.
Then I added mod_ssl in and I started to get errors from my .htaccess file
Error:
[Fri Nov 15 14:39:03 2002] [alert] [client
running modperl there should a loadmodule perlmodule... somewhere
pascal
- Original Message -
From: "Tran Van Quan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 03, 2002 10:54 AM
Subject: please help me.
> Dear Mr/Mrs.
> Please help
Dear Mr/Mrs.
Please help me I have trouble with perl configuration in
apache config file (httpd.conf) I had install
"ActivePerl-5.6.1.631-MSWin32-x86" and my computer's win2k.
Please help me how to config in order I can run perl page.
Your help will be appreciated. Thanks yo
In case you've missed this announcement, please help test Perl
5.8.0-RC1. The just released mod_perl-1.27 and mod_perl-1.99_02 were
tested with this release and work properly on several platforms we were
able to test on. Please make sure that when 5.8.0 is released it works
for you
Fernando Munoz wrote:
> Thanks for your input Stas. I followed (step-by-step) the installation
> suggested in the guide and I ended with the same message after ..
>
> # perl Makefile.PL USE_APACI=1 EVERYTHING=1 \
> DO_HTTPD=1 SSL_BASE=/usr/local/ssl \
> APACHE_PREFIX=/usr/local/ap
#x27;apaci_httpd'
I'm new with Solaris and it's starting to frustrate me. BTW I'm using
binutils-2.11.2.
Thanks for any help.
-Original Message-
From: Stas Bekman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 10:03 PM
To: Fernando Munoz
Cc: '[EMAIL PRO
Fernando Munoz wrote:
> These are the software/platform I'm working with:
>
> Solaris 8
> Perl 5.6.1
> OpenSSl-0.9.6c
> mod_ssl-2.8.8-1.3.24
> mod_perl-1.24_01
> Apache 1.3.24
>
> These are the steps that I've taken to install the modules:
Try to
These are the software/platform I'm working with:
Solaris 8
Perl 5.6.1
OpenSSl-0.9.6c
mod_ssl-2.8.8-1.3.24
mod_perl-1.24_01
Apache 1.3.24
These are the steps that I've taken to install the modules:
Installing OpenSSl :
;>% ./ab -n 100 -c 10 www.example.com/perl/test.pl
>>>
>>>Are there any testing method or tuning method that can show/prove
>>>mod_perl is faster.
>>>
>>>I am newbie in mod_perl (even perl/cgi) so please as clear as posible.
>>>I just got job in
gt; I just got job in linux (previous windows) and my first task is to migrating
> exiting perl script to better/faster method (now testing mop_perl).
> Please help me... :)
what's inside your test.pl?
try this script:
use CGI;
print "Content-type: text/plain\n\n";
print
VML wrote:
> Hi All,
> Our company planning to move from Perl/CGI to mod_perl.
> But when we test, mod_perl is slower than mod_cgi.
>
> I test with these script:
>
> # TESTING SCRIPT 1
> use Time::HiRes qw(usleep ualarm gettimeofday tv_interval);
> $t0 = [gettimeofday];
>
Hi All,
Our company planning to move from Perl/CGI to mod_perl.
But when we test, mod_perl is slower than mod_cgi.
I test with these script:
# TESTING SCRIPT 1
use Time::HiRes qw(usleep ualarm gettimeofday tv_interval);
$t0 = [gettimeofday];
# CODE HERE
On Thu, 28 Mar 2002, Kairam, Raj wrote:
> Any help will be very much appreciated.
Help with tomcat can be found on one of the Jakarta mailing lists.
http://jakarta.apache.org/site/mail.html
Later.
Mark.
--
s'' Mark Fowler London.pm Bath.pm
http://w
I downloaded the 'jakarta-tomcat-4.0.3.tar.gz' from
'jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/bin/' website.
On a unix box running HP-UX 11, as root, I uncompressed it in /tmp
directory.
To install it, I ran
root@:/opt> tar -xvf /tmp/jakarta-tomcat-4.0.3.tar .
After a while
On Wednesday 20 June 2001 17:49, VIDYASAGAR R NALLU wrote:
> According to documentation using ppm i installed ppd file of
> mod_perl. Successfully copied "mod_perl.so" into the modules directory of
> Apache webserver.
>
> When i started the server i'm ended up with the following error message:
>
>
Hi,
I'm completely new to mod_perl. So please don't scold me too hard if i'm
asking silly question. Basically i installed and configured Apache web
server, working fine with out any problem. Now i would like to install
mod_perl. According to documentation using ppm i installed ppd file of
mod_per
> "aa" == abhishek agrawal <[EMAIL PROTECTED]> writes:
aa>i am sure that i have installed the module Date::Calc properly using
aa>ppm. I dont know why is it giving this error. Is their some problem
aa>using Activeperl and modperl together?
Obviously not, though. What happens w
Hi,
I am new to Apache and mod_perl. I have got the apache up
and running and also go the modperl installed.
When i try to run simple perl scripts under
http://localhost/perl/simple-script.plx
it works fine but when i try to run some scripts which use
p
script takes an INFILE
which i have created in the same directory and after
processing the file it goes into a sleep mode for 1
minute. somehow no HTML output is piped out. here is
what the script looks like:
should i remove the infinite loop construct to stop
the hang? please help
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
hi all,
i am a novice trying to run a perl script on apache
for a real time dat aquisition system. i am using a
perl script developed by a professor in india who
wrote a book on programming the parallel port, which i
have attached.
the thing is i don't know how to run the script on
apache, well
9 PM
> To: Geoffrey Young; 'Brad Howerter'; '[EMAIL PROTECTED]'
> Subject: RE: Apache::DBI::connect problem, please help
>
>
> You have to put Apache::DBI before any of the DBI's
> you are using in httpd.conf file.
>
> In your cgi programs use only "
-Arun
--- Geoffrey Young <[EMAIL PROTECTED]> wrote:
>
>
> > -Original Message-
> > From: Brad Howerter [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, February 20, 2001 12:57 PM
> > To: '[EMAIL PROTECTED]'
> > Subject: RE: Apache::DBI::connect p
> -Original Message-
> From: Brad Howerter [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 20, 2001 12:57 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: Apache::DBI::connect problem, please help
>
[snip]
> So Apache/DBI.pm must be installed incorrectl
> -Original Message-
> From: Brad Howerter [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 20, 2001 12:42 PM
> To: ''[EMAIL PROTECTED]' '
> Subject: RE: Apache::DBI::connect problem, please help
>
>
>
>
> > From: Geoffrey Yo
> > > From: Geoffrey Young [mailto:[EMAIL PROTECTED]]
> > > you need both, DBI and Apache::DBI, with DBI loaded first...
> >
> > I tried this, but I still get the same error.
>
> sorry, I gave you bad information - Apache::DBI needs to be
> loaded first...
> it was late :)
That's okay- I've t
modperl specific information.
> -Original Message-
> From: Brad Howerter
> To: '[EMAIL PROTECTED]'
> Sent: 2/19/01 6:54 PM
> Subject: Apache::DBI::connect problem, please help
>
> I'm getting this error:
>
> [error] Can't locate object
you need both, DBI and Apache::DBI, with DBI loaded first...
see the Apache::DBI manpage for more detail
HTH
--Geoff
-Original Message-
From: Brad Howerter
To: '[EMAIL PROTECTED]'
Sent: 2/19/01 6:54 PM
Subject: Apache::DBI::connect problem, please help
I'm getting this
I'm getting this error:
[error] Can't locate object
method "connect" via package "Apache::DBI::connect" at
/usr/local/lib/perl5/site_perl/5.6.0/i386-dynixptx/DBI.pm line 408.
One way I can avoid the error is to change startup.pl
to use DBI() instead of use Apache::DBI(). Why does that
fix i
ICQ - 55297879
- Original Message -
From: "Assil" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 10, 2001 9:24 PM
Subject: Please help me get out of the list
> It is unbelievable !
>
> Am not able to get out of this list.
> Un
It is unbelievable !
Am not able to get out of this list.
Unsubscribe emails say:"You are not on the list ..."
Please help, please help !!!
Assil
AIL PROTECTED] wrote:
>
> Dear Sir,
>
> I have the error output as follows. Please help me!
>
> Errors Output
>
> Can't call method "finish" without a package or object reference at (eval 14) line
>134.
> , /usr/lib/perl5/site_perl/Apache/ASP.pm
Why are you sending this to the modperl mailing list.
Dear Sir,
I have the error output as follows. Please help me!
Errors Output
Can't call method "finish" without a package or object reference at (eval 14) line 134.
, /usr/lib/perl5/site_perl/Apache/ASP.pm line 1083
Debug Output
STARTING ASP HANDLER (v0.15) for file /u
> Shane Reid wrote:
>
> Was wanting to add mod_perl so that I could run Apache::ASP, but ran into a problem
>with it.
>
> I am configuring it with the Apache 1.3.14, and am running into this error:
>
> modules/src.Use of uninitialized value at modules/src.t line 27.
> FAILED tests 3-5
Was wanting to add mod_perl so that I could run Apache::ASP,
but ran into a problem with it.
I am configuring it with the Apache 1.3.14, and am running
into this error:
modules/src.Use of uninitialized value at
modules/src.t line 27.FAILED tests
3-5 Failed 3/6 tests, 50.0
On Mon, 9 Oct 2000, Todd Chapman wrote:
> That only solves half the problem. Since it is a virtual directory, how
> will Apache::Registry know where 'cgifile' really exists so it can run it?
Either put it under your docroot or use the standard Alias stuff:
Alias /perl/ /home/httpd/perl
Thanks. It seems like I would want to write a PerlTransHandler. However I
don't want to change the filename until after the authorization phase. Can
I change the uri to filename mapping at the end of the authorization phase
but before the content handler phase?
Thanks.
-Todd
On Mon, 9 Oct 200
That only solves half the problem. Since it is a virtual directory, how
will Apache::Registry know where 'cgifile' really exists so it can run it?
For example:
http://www.mydoamin.com/dirA/dirB/cgifile
dirA and dirB don't really exist. If 'cgifile' is stored somewhere else
how will Apache::Reg
I need to get this problem solved for a project I am working on. Any help
is appreciated.
Thanks.
-Todd
-- Forwarded message --
I am servicing requests from a virtual document tree. Most of the time I
want the request to be serviced by a PerlHandler module I wrote. However,
i
Yup... Now if someone adds this to the FAQ, maybe others won't spend
days in trying to compile it...
My .02...
Patrick Durusau wrote:
>
> Ricardo,
>
> Ricardo Stella wrote:
>
> > Here's a solution that seems to be ok for Solaris 8, GCC 2.9.2 and Perl
> > 5.6
> >
> > * Recompile perl with -Dc
Ricardo,
Ricardo Stella wrote:
> Here's a solution that seems to be ok for Solaris 8, GCC 2.9.2 and Perl
> 5.6
>
> * Recompile perl with -Dcc=gcc -Uuselargefiles -Ubincompat5005
> * Recompile Apache with --enable-module=most --enable-share=max
> * Recompile mod-perl with USE_APXS=1, EVERYTHING=1
Here's a solution that seems to be ok for Solaris 8, GCC 2.9.2 and Perl
5.6
* Recompile perl with -Dcc=gcc -Uuselargefiles -Ubincompat5005
* Recompile Apache with --enable-module=most --enable-share=max
* Recompile mod-perl with USE_APXS=1, EVERYTHING=1
My .02...
Patrick Durusau wrote:
>
> He
Hello,
I am trying to install Apache 1.3.12 with mod_perl 1.24 on Solaris 2.8.
In my most recent attempt, relying on several suggestions from the
archive I have:
(Using gcc 2.92.2 for all compiling.)
Recompiled Perl 5.6.0
sh Configure -Dcc=gcc -Uuselargefiles
Recompiled Apache 1.3.12
./conf
I'm groveling...Please help. I'm extremely frustrated with this, so
forgive the reposting. I added the Carp module as suggested in the
"mod_perl guide: mod_perl and Relational Databases" web pages. Now
in the Logs I have the following:
[Thu Sep 21 15:30:34 2000] [error]
Hello,
I need to help a partner organization find mod_Perl developers for an
Austin, Texas company, so that they can finish a project for me. Please
contact me if you can help out. I don't know if they will need relocation
perm or temp, perhaps not for contract.
Sincerely,
Kirk
Kirk J. Gould
On Mon, 7 Aug 2000, Jitesh Kumar wrote:
> All I want is to store the generated key in the session variable so
> that I could retrieve the same on the subsequent page user visits for
> authentication purpose. I can't rely on client side cookies as they
> are not full proof.
If you don't want to us
You could also pass it as the path_info for the url if you wanted to make it somewhat
more discrete. The eagle book also has a good section on session ids.
Nigel Hamilton wrote:
> HI Jitesh,
>
> I do exactly the same thing ... but I pass session variables using a
>combination of metho
HI Jitesh,
I do exactly the same thing ... but I pass session variables using a
combination of methods.
Inserting a hidden field into subsequent pages:
Or you could append the sessionid to a URL:
http://www.yoursite.com/cgi-bin/yourcgi
Hi,
I have a login form where the visitor enters the UserID and Password. After
authenticating from the database, I generate a unique key (some encrypted
text) for every user.
All I want is to store the generated key in the session variable so that I
could retrieve the same on the subsequent pag
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
Chr
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 HE
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.
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.
BEGIN failed--compilation aborted at /home/httpd/perl/test.pl line
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
> 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 \
> --
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 specifi
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 should be installed and ready to
go. But all is not
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:r
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 complete
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 was testing it, but then I
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.
Hi there,
On Thu, 20 Jan 2000, Asghar Nafarieh wrote:
> cd mod_perl-1.21
> perl Makefile.PL PREP_HTTPD=1
I took this from the Guide:
% cd /usr/src
% lwp-download http://www.apache.org/dist/apache_x.x.x.tar.gz
% lwp-download http://perl.apache.org/dist/mod_perl-x.xx.tar.gz
% tar zvxf ap
I hope somebody could respond to this problem.
I get the following link error when I try to make apache_1.3.9 with
mod_perl-1.21. Am I missing a library module?
Thanks,
-Asghar
This is how I built it:
cd mod_perl-1.21
perl Makefile.PL PREP_HTTPD=1
make
make test
make install
cd ../apache
>
> 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
Installed Embperl wih Apache on my Debian box and would like to play and
learn something.
After many hours fighting with mySQL setup, Apache setup I am ALMOST
THERE ...
I have this little test program (which I am appending) taken from the
web.
When I run it from the command line everything beha
> long now. I've read the manual on the web and follow pace by pace, but
> can't get any luck out of it.. i've reinstall the perl with the new
> version of 5.005.62 and it still has the same error when I do the make in
> /usr/local/apache . can anyone please help me?
ut of it.. i've reinstall the perl with the new
> > version of 5.005.62 and it still has the same error when I do the make in
> > /usr/local/apache . can anyone please help me? thank you.
> >
> > My mode_perl compile cofig: perl Makefile.PL NO_HTTPD=1 EVERYTHING=1
&g
> But, the strange part is, when I use the following code, the browser
> spins and spins and finally just dies when it reaches the return():
>
> sub handler {
> my $r = shift;
> my %args = $r->content;
content() reads the data sent by the client. When it's called a second
time
On Fri, 3 Dec 1999, Jason Simms wrote:
> I am having a _really_ strange problem with return() under mod_perl. It
> seems that any time I attempt to do a return REDIRECT after I have accessed
> any passed parameters, the redirect will fail. However, if I do the
> redirect without accessing an
After you suggested it, I did, and unfortunately with the same results. I
am now off to try another suggestion... Thanks, though.
Jason Simms
>just a guess: Have you tried it without assigning a content_type to >your
>repsponse (not necessary for a REDIRECT)?
>
>Tobias
_
>Have you tried to request this URI from telnet and see what Apache
>actually sends to the browser?
>
>Andrei
Thank you for your reply. You will note that in my original post, I did
address this issue at the end of the letter:
JS:I have even tried telneting into port 80 on the server and doing
I have had similar problems, and the solution seems to be (not sure why) to
print the redirect the same way you would using CGI.pm and
$r->send_http_header and then return OK, as in:
use CGI;
use Apache;
use Apache::Constants 'OK';
sub handler {
my $r = shift;
my $q = CGI->new();
my
I am having a _really_ strange problem with return() under mod_perl. It
seems that any time I attempt to do a return REDIRECT after I have accessed
any passed parameters, the redirect will fail. However, if I do the
redirect without accessing any passed parameters (either via POST or GET),
t
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 h
r so
> long now. I've read the manual on the web and follow pace by pace, but
> can't get any luck out of it.. i've reinstall the perl with the new
> version of 5.005.62 and it still has the same error when I do the make in
> /usr/local/apache . can anyone please he
pace, but
can't get any luck out of it.. i've reinstall the perl with the new
version of 5.005.62 and it still has the same error when I do the make in
/usr/local/apache . can anyone please help me? thank you.
My mode_perl compile cofig: perl Makefile.PL NO_HTTPD=1 EVERYTHING=1
my
1 - 100 of 107 matches
Mail list logo