For Programmers: Free Programming Magazines  


Home > Archive > PERL Miscellaneous > May 2004 > Perl apache









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Perl apache
Profetas

2004-05-18, 5:32 pm

I didn't know where to go.
If this question shouldn't be posted here, just ignore it

I have been trying to config perl and apache.
My apache has been running for a while.
and I already had perl installed, but I guessed
a new installation would be better. when I start to install
it ask for the apache src. and I can't find the apache src
I eve downloaded the leatest version to check that out.

then I jumped this stage. later on the documentation say
that I should add a Include conf/mod_perl.conf but I can't
find the conf file.

Thanks

Gregory Toomey

2004-05-18, 9:31 pm

Profetas wrote:

> I didn't know where to go.
> If this question shouldn't be posted here, just ignore it
>
> I have been trying to config perl and apache.
> My apache has been running for a while.
> and I already had perl installed,


but I guessed
> a new installation would be better.


Why?

when I start to install
> it ask for the apache src. and I can't find the apache src
> I eve downloaded the leatest version to check that out.
>
> then I jumped this stage. later on the documentation say
> that I should add a Include conf/mod_perl.conf but I can't
> find the conf file.
>
> Thanks


What are in the apache log files?

To run cgi you need at least the following ing httpd.conf

LoadModule cgi_module modules/mod_cgi.so

Options Indexes FollowSymLinks ExecCGI


and in .htaccess you probably need need
Options +ExecCGI +Includes


gtoomey
Sherm Pendley

2004-05-18, 9:31 pm

Profetas wrote:

> and I already had perl installed, but I guessed
> a new installation would be better.


Define "better". Have you been bitten by a bug that you know has been fixed
in a newer version? Have you benchmarked a newer version against your
scripts, and found it runs them faster?

Why are you guessing about something that can be measured?

> when I start to install
> it ask for the apache src. and I can't find the apache src
> I eve downloaded the leatest version to check that out.


You should "check out" the instructions. Building mod_perl as a DSO, outside
of the apache source tree, is clearly documented.

> then I jumped this stage.


Whatever for? Do you seriously believe you can simply skip anything you
don't understand, and somehow wind up with a working installation anyway?
Who are you, Harry Potter?

sherm--

--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
Profetas

2004-05-19, 2:31 am

>Whatever for? Do you seriously believe you can simply skip >anything you


As I said it was asking for the apache src. and I couldn't find in my
installation.

>don't understand, and somehow wind up with a working >installation

anyway?

How do you know?
Are you David Blain?

>Who are you, Harry Potter?

I didn't want you to find that out but I prob.. gave away

Profetas

2004-05-19, 2:31 am

>> a new installation would be better.

>Why?


If that is too diff for you to get.
Is because you don't know what in which order the perl apache have been
installed. nor you know how as it had been done by the OS.

>What are in the apache log files?


It seems that I came to the wrong place.

Thanks anyway


Tore Aursand

2004-05-21, 7:31 pm

On Tue, 18 May 2004 16:40:35 -0400, Profetas wrote:
> If this question shouldn't be posted here, just ignore it I have been
> trying to config perl and apache.


Reading your post over and over: Are you speaking of Perl, apache and
mod_perl, or just Perl and Apache?

Anyway: I would suggest that you install apache _and_ mod_perl. Just
download the source for both of these from the apache web site and be sure
to _read the documentation_ for how to install these simultaneously.

It's quite simple; Unpack both archives (Apache and mod_perl) and install
mod_perl. When asked about the apache source dir, tell it where to find
it and the installation script will compile and install apache for you.

Then download the latest Perl distribution (the source), and compile and
install it.

If this sounds scary, and you're running Red Hat, download the RPM
packages instead.

> My apache has been running for a while. and I already had perl
> installed, but I guessed a new installation would be better.


Why did you guess so?


--
Tore Aursand <tore@aursand.no>
"What we see depends mainly on what we look for." (Sir John Lubbock)
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com