Re: GD

2002-04-25 Thread Bill Stephenson

These links should help get you up and running.

Good Luck!!

http://homepage.mac.com/xports/

http://stein.cshl.org/WWW/software/GD/

http://www.Boutell.Com/


-- 

Bill Stephenson
www.PerlHelp.com
1-417-546-5593





Problems with interchange

2002-04-25 Thread Antonio Blanco

Hi to everyone,

Has anyone had any experience with interchange (interchange.redhat.com),
it's a very interesting perl based GNU e-commerce server.
I'm running it on macosx 10.1.3 with perl 5.6.1 apache 1.3.23 and mysql
3.23.47, the server is running fine but the administration part is not
working, any help would be appreciated. Thanks in advance




Re: Problems with interchange

2002-04-25 Thread Chris Devers

On Thu, 25 Apr 2002, Antonio Blanco wrote:

 Has anyone had any experience with interchange (interchange.redhat.com),
 it's a very interesting perl based GNU e-commerce server.

I was messing around with it a month or two ago, and signed up for the
RedHat lists for it, but most of those people seemed indifferent or
outright hostile to the idea of getting it running on anything other than
RedHat. (The most constructive advice was to wipe out OSX and install
Linux instead err, no.)

After a while I gave up in frustration, but I'd still like to mess around
with IC. How did you get it working? I could install it, but it wouldn't
really do anything without immediately crashing on me. I forget what the
problems were exactly at this point, I'll have to give it another try.



--
Chris Devers[EMAIL PROTECTED]
Apache / mod_perl / http://homepage.mac.com/chdevers/resume/

More war soon. You know how it is.-- mnftiu.cc




Re: Problems with interchange

2002-04-25 Thread Michael Stearne

Maybe try for help in the Interchange mailing list.  Sign up at 
http://interchange.redhat.com/

Michael

Antonio Blanco wrote:

Hi to everyone,

Has anyone had any experience with interchange (interchange.redhat.com),
it's a very interesting perl based GNU e-commerce server.
I'm running it on macosx 10.1.3 with perl 5.6.1 apache 1.3.23 and mysql
3.23.47, the server is running fine but the administration part is not
working, any help would be appreciated. Thanks in advance



  







Re: Problems with interchange

2002-04-25 Thread Michael Stearne

I think it was written off mostly as a problem with the Perl in OS X. 
 Maybe now in 10.1.4 it's better. Try to determine the exact bug and see 
if either list can help.

Michael

Chris Devers wrote:

On Thu, 25 Apr 2002, Antonio Blanco wrote:

  

Has anyone had any experience with interchange (interchange.redhat.com),
it's a very interesting perl based GNU e-commerce server.



I was messing around with it a month or two ago, and signed up for the
RedHat lists for it, but most of those people seemed indifferent or
outright hostile to the idea of getting it running on anything other than
RedHat. (The most constructive advice was to wipe out OSX and install
Linux instead err, no.)

After a while I gave up in frustration, but I'd still like to mess around
with IC. How did you get it working? I could install it, but it wouldn't
really do anything without immediately crashing on me. I forget what the
problems were exactly at this point, I'll have to give it another try.



--
Chris Devers[EMAIL PROTECTED]
Apache / mod_perl / http://homepage.mac.com/chdevers/resume/

More war soon. You know how it is.-- mnftiu.cc



  







Controlling Apache

2002-04-25 Thread Ward W. Vuillemot

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




Re: Controlling Apache

2002-04-25 Thread Sherm Pendley

On Thursday, April 25, 2002, at 10:38 PM, Ward W. Vuillemot wrote:

 However, when I add the following line to the end of the file
 I get errors.

What do the error messages say?

sherm--


Never put off until tomorrow what you can do today. There might be a law 
against it by that time.




Re: Controlling Apache

2002-04-25 Thread Ward W. Vuillemot

On 02.4.25 8:33 PM, Sherm Pendley [EMAIL PROTECTED] wrote:

 On Thursday, April 25, 2002, at 10:52 PM, Ward W. Vuillemot wrote:
 
 perl: warning: Setting locale failed.
 perl: warning: Please check that your locale settings:
 LC_ALL = (unset),
 LANG = ja_JP
 are supported and installed on your system.
 perl: warning: Falling back to the standard locale (C).
 
 I use Japanese as default for the OS.  I configured by .cshrc to change
 that
 when I use the terminal. . .but I am not sure how to set this otherwise.
 
 When I installed perl, I had typed in
   setenv LC_ALL C
   setenv LANG en_US
 
 I'm not certain - I speak only English, and so I've never had to deal
 with locale issues.
 
 Having said that, it appears to me that Perl is confused because it was
 compiled in the English/US locale, but is running (as part of mod_perl)
 in the Japanese locale.
 
 If I'm correct, the solution would be to either a) Compile Perl in the
 Japanese locale, or b) modify the Apache startup script
 (/System/Library/StartupItems/Apache/Apache) to run Apache in the
 English/US locale.
 
 Not only would the latter be simpler, it would also allow you to use
 your English version of Perl with your current terminal environment.
 
 Hope this helps!
 
 sherm--
 
 
 Never put off until tomorrow what you can do today. There might be a law
 against it by that time.
 
 

Might you know how I might do that?  I cannot seem to find anything online
or in the docs (not sure exactly what to search under) to configure Apache
in such a manner.

I did try apachectl.  I got the following error:
 pid file /private/var/run/httpd.pid overwritte
n -- Unclean shutdown of previous Apache run?

When I tried to see the full status, I got this
[localhost:var/log/httpd] root# apachectl fullstatus
/usr/sbin/apachectl: command not found: lynx [142]

So, I went back to the my httpd.conf file.
I forgot that mod_perl and mod_ssl are statically linked, so I did not need
the AddModule command. . .

However, it now tells me that PerlWarn, PerlRestart, and PerlRequest are not
allowed?!?  These commands are issued from another file that I call as an
Include directive in the main httpd.conf file.

Anyone have an idea why?

--
Ward W. Vuillemot [EMAIL PROTECTED]