[BlueOnyx:22577] Re: 5209R: CGI-Wrapper working again

Ken Hohhof khohhof at kwom.com
Thu Jan 3 13:15:16 -05 2019


If that's the 20 year old Matt's FormMail, don't use it, too easy for
spammers to hijack, even the "improved" version.  There are better
solutions.

I know that doesn’t answer your cgi-wrap question.


-----Original Message-----
From: Blueonyx <blueonyx-bounces at mail.blueonyx.it> On Behalf Of Dirk
Estenfeld
Sent: Thursday, January 3, 2019 11:05 AM
To: BlueOnyx General Mailing List <blueonyx at mail.blueonyx.it>
Subject: [BlueOnyx:22576] Re: 5209R: CGI-Wrapper working again

Hello Michael,

hmm, unfortunately it is not working for me. I can name it formmail.pl or
formail.cgi, I can place it in cgi-bin directory or on some other place. I
always get the ownerchip error message...

Best regards,
Dirk


---

blackpoint GmbH – Friedberger Straße 106b – 61118 Bad Vilbel


-----Ursprüngliche Nachricht-----
Von: Blueonyx <blueonyx-bounces at mail.blueonyx.it> Im Auftrag von Michael
Stauber
Gesendet: Donnerstag, 3. Januar 2019 15:55
An: blueonyx at mail.blueonyx.it
Betreff: [BlueOnyx:22575] Re: 5209R: CGI-Wrapper working again

Hi Dirk,

> Did I miss something. I have another perl script with the error.
> "The userid that the web server ran cgiwrap as does not match the 
> userid that was configured into the cgiwrap executable. This is a 
> configuration/setup problem with cgiwrap on this server. Please 
> contact the server administrator."
> 
> The /usr/cgiwrap/cgiwrap is from 10.01.2018, so it should be the "new"
> version. I did disable and enable cgi for the site. But the error is 
> still existing.

I just checked it:

http://5209r1.smd.net/test.pl?ssss
http://5209r1.smd.net/test.cgi?ssss

It's the same script - just with a different ending. The test.pl runs, but
the test.cgi throws an error. Ownerships and permissions are right:
Owned by a siteAdmin, the correct group and 755 permissions:

[root at 5209r web]# ls -als|grep test
   4 -rwxr-xr-x  1 s28_admin site1     781  1. Mai 2018  test.cgi
   4 -rwxr-xr-x  1 s28_admin site1     781 10. Jan 2018  test.pl

The Apache config for that Vsite should associate both extensions with the
cgi-wrapper:

]# cat /etc/httpd/conf/vhosts/site1|grep cgi-wrapper AddHandler cgi-wrapper
.cgi AddHandler cgi-wrapper .pl

So I don't (yet) know what's wrong, but I'll see what I can find out. In the
meantime: If you can, please change the extension of the Perl-Script from
*.cgi to *.pl and see if that works.

--
With best regards

Michael Stauber
_______________________________________________
Blueonyx mailing list
Blueonyx at mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx






More information about the Blueonyx mailing list