I am trying to use Rexx with Apache. I have done added to httpd.conf:
AddHandler cgi-script .cgi .rexx .pl
Allow from all
ScriptAlias /Rexx/ "/usr/local/apache2/Rexx/"
I still get:
Premature end of script headers: inventory.rexx
I have read about mod_rexx but not sure how to implement it.
Any help here??
Thanks for your time.
Mod_Rexx and ooRexx do not appear to like each other very much under Linux. I have known about this problem since the release of ooRexx 3.0 but I have yet to figure out the problem. The best I have come up with is that when Mod_Rexx actually calls the RexxStart API to execute the script it gets a seg fault. I have not been able to determine if the ooRexx shared libraries are actually loaded into memory or not.
My best guess at this point is that Apache is not able to load the ooRexx shared libraries from the default location of /usr/local/lib/ooRexx, but that is only a guess.
You might try moving the ooRexx libraries to /usr/lib, running ldconfig, restart Apache, and then try again. This might work, but it is just guess.
If you are able to figure out what the problem is please let ne know.
I fix my problem.
Since I installed Object Rexx in /usr/local/bin and that
diretory is not in the default PATH, I had to add it to the
/etc/rc.d/init.d/httpd start script, like so:
Hope this helps others.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.