on 21/11/03 Ged Haywood said:

>Hi there,
>
>On Fri, 21 Nov 2003, angie ahl wrote:
>
>> Am I safe following these instructions to make a second 
>apache/mod_perl
>> install on OSX Panther
>> 
>> http://perl.apache.org/docs/1.0/guide/getwet.html
>
>If you mean the simple
>
>  % cd /home/stas/src
>  % tar -zvxf apache_1.3.xx.tar.gz
>  % tar -zvxf mod_perl-1.xx.tar.gz
>  % cd mod_perl-1.xx
>  % perl Makefile.PL APACHE_SRC=../apache_1.3.xx/src \
>      APACHE_PREFIX=/home/httpd DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
>  % make && make test
>
>Then it's probably not quite what you want if you already have a server 
>running.
>
>All you really need is a new set of data for the website(s) and some
>new configuration files, since you already have the server installed
>you can just start a new copy of it.  Note that it must listen on a
>different port from the first server.

That fits with my understanding, of course how to do it is another thing
;)

>
>> I've read that panther has problems with CGI and printing out to
>> browser, I've got the same problems,
>
>I know nothing about that.  I don't see why it should be that way,
>most of it is done by the application (Apache), not the operating
>system.  Can you give us a reference to what you've read?

certainly:

I searched the archives for "Panther" as I'd spotted other people having
problems with what apple have done:

http://www.gossamer-threads.com/perl/mailarc/gforum.cgi?post=86918;
search_string=panther;guest=1612745&t=search_engine#86918

and 

http://www.gossamer-threads.com/perl/mailarc/gforum.cgi?post=87554;
search_string=panther;guest=1612745&t=search_engine#87554

I am currently not getting params passed through CGI.pm (tested with a
piece of code that does work on my Linux box) and I've also got the
Print problem as in I'm having to use the 

$r->print($template->output); 

style of print instead of 

print $template->output;

so from what I've read and deciding that taking Stas's advice seems like
always a good idea, I will now have a go at installing my own version of
mod_perl. I've chosen MP 1.29 and  apache_1.3.29 as I have a linux box
also running MP 1.

I followed the instructions and all installed OK, but it did point at my
old conf files and web serving directories.

I'd like to keep my own set up safe from being screwed with by Apple
updates. It's not entirely clear what they're going to update when and
it can bite you in the butt (and has me a couple of times with other non
dev things)

So I thought I need to install a fresh copy of apache and mod_erpl, or
more precisely compile them from source as the "Getting your feet wet"
article suggests.

Have I misunderstood that?

Thanks 

Angie

>> as this is the first time I've ever installed either apache or
>> mod_perl I was just hoping someone could clarify something for me.
>
>> 1. Will the second server have it's own httpd.conf file? or will it
>> clash with the existing server?
>
>It MUST have its own configuration, but it doesn't have to be a 
>completely
>separate set of files.  You can for example include snippets of 
>configuration
>within httpd.conf in more than one way.  Have a look at
>
>http://perl.apache.org/docs/1.0/guide/config.html#
>toc_mod_perl_Configuration
>
>for a start.
>
>73,
>Ged.
>

-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html

Reply via email to