Re: HELP??? Installation on MAC OS X

2001-04-29 Thread Tom Mornini

Tenon Systems has a current version of Apache with complete GUI
administration engine at http://www.tenon.com/products/itools-osx/

This is a commercial product...

On Friday, April 27, 2001, at 10:16  PM, Charlie Garrison wrote:

 G'day,

 I am trying to install mod perl on the Apple OS X Server platform.

 I can compile the code OK, both as static and as a DSO  but when I
 try to restart the apache server, I get all sorts of errors.

 I found that it was already compiled, but the needed lines in 
 httpd.conf were missing. Add the following two lines (at the end of the 
 appropriate lists):

   LoadModule perl_module libexec/httpd/libperl.so
   AddModule mod_perl.c


 And then add some mod_per directives (I've used the perl/perl 
 syntax):

   perl
 require  /etc/httpd/startup.pl; # contains 'use' statements, etc.

 $Location{'/perl-status'}-{SetHandler} = 'perl-script';
 $Location{'/perl-status'}-{PerlHandler} = 'Apache::Status';
 $Location{'/perl-status'}-{order} = 'deny,allow';
 $Location{'/perl-status'}-{'deny from'} = 'all';
 $Location{'/perl-status'}-{'allow from'} = '.your.domain.com';

 $Files{'~ \.pl$'}-{SetHandler} = 'perl-script';
 $Files{'~ \.pl$'}-{PerlHandler} = 'Apache::Registry';
 $Files{'~ \.pl$'}-{Options} = 'ExecCGI';
   /perl

 I'm now able to do all development/testing on my box. I was able to 
 install all needed modules via CPAN without any trouble.

 This was one of the reasons I wanted this OS, so I'm very happy.

 Charlie

 --  
 +--+
  |  Charlie Garrison  
 [EMAIL PROTECTED]  |
  |  Garrison Computer Services
 http://www.garrison.com.au  |
  |  PO Box 
 141  |
  |  Windsor NSW 2756  Australia   Ph:  +61 2 
 4575-5247  |
  
 +--+



Re: HELP??? Installation on MAC OS X

2001-04-28 Thread Charlie Garrison

G'day,

I am trying to install mod perl on the Apple OS X Server platform.

I can compile the code OK, both as static and as a DSO  but when I
try to restart the apache server, I get all sorts of errors.

I found that it was already compiled, but the needed lines in 
httpd.conf were missing. Add the following two lines (at the end of 
the appropriate lists):

   LoadModule perl_module libexec/httpd/libperl.so
   AddModule mod_perl.c


And then add some mod_per directives (I've used the perl/perl syntax):

   perl
 require  /etc/httpd/startup.pl; # contains 'use' statements, etc.

 $Location{'/perl-status'}-{SetHandler} = 'perl-script';
 $Location{'/perl-status'}-{PerlHandler} = 'Apache::Status';
 $Location{'/perl-status'}-{order} = 'deny,allow';
 $Location{'/perl-status'}-{'deny from'} = 'all';
 $Location{'/perl-status'}-{'allow from'} = '.your.domain.com';

 $Files{'~ \.pl$'}-{SetHandler} = 'perl-script';
 $Files{'~ \.pl$'}-{PerlHandler} = 'Apache::Registry';
 $Files{'~ \.pl$'}-{Options} = 'ExecCGI';
   /perl

I'm now able to do all development/testing on my box. I was able to 
install all needed modules via CPAN without any trouble.

This was one of the reasons I wanted this OS, so I'm very happy.

Charlie

-- 
  +--+
  |  Charlie Garrison  [EMAIL PROTECTED]  |
  |  Garrison Computer Serviceshttp://www.garrison.com.au  |
  |  PO Box 141  |
  |  Windsor NSW 2756  Australia   Ph:  +61 2 4575-5247  |
  +--+




HELP??? Installation on MAC OS X

2001-04-25 Thread David Campion



Hi


I am trying to 
install mod perl on the Apple OS X Server platform.

I can compile the 
code OK, both as static and as a DSO but when I try to restart the apache 
server, I get all sorts of errors.

example 
:

dyld: 
/usr/sbin/httpd multiple definitions of symbol 
_vhost_alias_module/System/Library/Apache/Modules/mod_vhost_alias.so 
definition of 
_vhost_alias_module/System/Library/Apache/Modules/mod_vhost_alias.so 
definition of _vhost_alias_module

this was built as a 
DSO with all options enabled, if I don't load this module it just complains 
about the next one in the list.

Any help, pointers, 
kick in the right direction would be very much appreciated.

Dave.


Re: HELP??? Installation on MAC OS X

2001-04-25 Thread G.W. Haywood

Hi there,

On Wed, 25 Apr 2001, David Campion wrote:

 I am trying to install mod perl on the Apple OS X Server platform.

Best of luck!

 example :
 
 dyld: /usr/sbin/httpd multiple definitions of symbol _vhost_alias_module
 /System/Library/Apache/Modules/mod_vhost_alias.so definition of
 _vhost_alias_module
 /System/Library/Apache/Modules/mod_vhost_alias.so definition of
 _vhost_alias_module
 
 this was built as a DSO with all options enabled, if I don't load this
 module it just complains about the next one in the list.

Never built for your platform, must be somebody who's tried it out there,
but for a start it might be worth trying without loading any modules.
You can get by without lots of them.

Can you run Apache at all without mod_perl?

73,
Ged.




Re: HELP??? Installation on MAC OS X

2001-04-25 Thread darren chamberlain

David Campion ([EMAIL PROTECTED]) said something to this effect on 04/25/2001:
 I am trying to install mod perl on the Apple OS X Server platform.
 
 I can compile the code OK, both as static and as a DSO  but when I try to
 restart the apache server, I get all sorts of errors.
 
 example :
 
 dyld: /usr/sbin/httpd multiple definitions of symbol _vhost_alias_module
 /System/Library/Apache/Modules/mod_vhost_alias.so definition of
 _vhost_alias_module
 /System/Library/Apache/Modules/mod_vhost_alias.so definition of
 _vhost_alias_module
 
 this was built as a DSO with all options enabled, if I don't load this
 module it just complains about the next one in the list.
 
 Any help, pointers, kick in the right direction would be very much
 appreciated.

Did you put ClearModuleList before the AddModule lines?

URL:http://httpd.apache.org/docs/mod/core.html#clearmodulelist
ClearModuleList directive

Syntax: ClearModuleList
Context: server config
Status: core
Compatibility: ClearModuleList is only available in Apache 1.2
   and later

The server comes with a built-in list of active modules. This
directive clears the list. It is assumed that the list will then
be re-populated using the AddModule directive

(darren)

-- 
Premature optimization is the root of all evil in programming.
-- C.A.R. Hoare