I basically followed the directions at
  <http://david.wheeler.net/osx.html>
Along with pointers from
 <http://www.apache.org/~joes/>
 <http://david.wheeler.net/osx.html>

So I know have mod_ssl, mod_perl, Perl 5.6.1 and Apache loaded on my
machine.

I then loaded the libapreq that is suggested for this type of configuration.

I can Apache to launch with the default httpd.conf.

However, when I add the following line to the end of the file
I get errors.   Below are the mods to httpd.conf and associated files.

I have been using System Preferences to restart Apache.  However, after
doing a restart I cannot STOP Apache from this location!!

Q: What is the best way to control Apache?

Also, even though Apache is running when I try to connect at 127.0.0.1 I get
nothing?!?

Any help is appreciated!
Thanks,
Ward


<httpd.conf>
Include /Library/WebServer/FLOE/httpd.conf
</httpd.conf>

And

</Library/WebServer/FLOE/httpd.conf>
########################
#  MOD PERL CHANGES
# 
# send perl warnings to log
#
PerlWarn On
#
# force reloading of modules on restart
# when production level turn off
#
PerlFreshRestart On
#
# Perl module primitive mother load on start/restart
#
PerlRequire /Library/WebServer/FLOE/startup.pl
#
# FLOE application (mod_perl)
# see startup.pl to determine if XML version
# 
<Location /floeApp>
  SetHandler perl-script
  PerlHandler floeApp
  PerlSendHeader On
</Location>
# END MOD PERL CHANGES
########################
<//Library/WebServer/FLOE/httpd.conf>

And

</Library/WebServer/FLOE/startup.pl>
#!/usr/bin/perl

##############################
### START OF CONFIGURATION ###
##############################
use Apache::Cookie;
use Apache::Request ();
use Apache::Constants qw(:common);
use Apache::DBI ();

use CGI ();
use CGI::Carp;
CGI->compile(':all');

######################
#    FLOE MODULES    #
######################
# location of FLOE modules
# same directory as one used in floe.cgi
# use lib 'C:/apache/Apache/cgi-lib';
# XML version
use lib '/Library/WebServer/FLOE/';

# modules specific to Boeing FLOE
#     DB module (wrapper to DBI)
#use floeApp ();

#use FLOE ();
#    non-OO methods
#use FLOE::Func ();
#    builds DB navigational aids
#use FLOE::Navigation ();
#    manages server-side session state
#use FLOE::Session ();
#     use perlfect::template module
#use FLOE::Template ();
#     validates information found in DB table
#use FLOE::Validate ();

######################
#   CONFIGURATION    #
######################
# INI (configuration) Reader (Apache format)
use Config::General::Extended ();

1;
</Library/WebServer/FLOE/startup.pl>

Reply via email to