Cadwalader
IS-IT--Management
I moved an entire website to another server, RedHat 7.2 running Apache 1.3.22(it's a full-blown, rack mounted dark gray thing in a big black cabinet). This website has a cgi script that is over 5300 lines long written in Perl. I finally got "most" of it working. At first I would just get the 404 error, and then I messed with httpd, and allowed the cgi's and .pl's to run, then the errors started to change. I eventually found that the permissions were set wrong. I took care of that. Almost all is good...
This script assumes that sendmail is located /usr/bin/sendmail and it's not on this server. Sendmail is located in /usr/sbin/sendmail.
I don't know squat about perl, and not much about the cgi venue. I looked for a refernece to /usr/bin/sendmail and couldn't find it (in that huge perl script). What I need to do, and I think it will be the simplest way, is to put sendmail in /usr/bin/ but then what if other things are pinting to /usr/sbin/ for sendmail? Is there something I could put in /usr/bin/ to point to /usr/sbin/sendmail when that script calls for it, kinda like a shortcut in Windows?
Thanks for the help...![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Hope I was of some help...
--OR--
Thanks for the help...
--Rich
This script assumes that sendmail is located /usr/bin/sendmail and it's not on this server. Sendmail is located in /usr/sbin/sendmail.
I don't know squat about perl, and not much about the cgi venue. I looked for a refernece to /usr/bin/sendmail and couldn't find it (in that huge perl script). What I need to do, and I think it will be the simplest way, is to put sendmail in /usr/bin/ but then what if other things are pinting to /usr/sbin/ for sendmail? Is there something I could put in /usr/bin/ to point to /usr/sbin/sendmail when that script calls for it, kinda like a shortcut in Windows?
Thanks for the help...
Hope I was of some help...
--OR--
Thanks for the help...
--Rich