> > You are providing no information whatsoever, so let me try a shot in > the utter dark and hope i don't hit any of the cats on your couch:
I am very new to this field so sorry for the vagueness! > > Maybe you are running httpd(8) chroot(2)ed but don't have any sh(1) > binary in the chroot? That's a common error. I did read about this and put sh into /var/www/bin but it still didn’t work. > > By the way, putting a shell binary in a chroot (or any other > interpreter for that matter, like PHP) is an ugly thing to do, so > a good alternative might be to write the redirect CGI program in C > as well (which you already managed to do for something more > complicated), or even simpler, make it a static HTML page and tell > httpd.conf(5) with location { no fastcgi } and types { } to simply > serve it as text/html, even if the name ends in *.cgi or something > like that. This is the real answer. If scripts a cgi programs is bad practice, I won’t do it. Again, I am very new to this area of programming and I am as interested in the “should I” as much as the “can I”. Thanks! Jordon