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

Dirk Estenfeld dirk.estenfeld at blackpoint.de
Thu Jan 3 12:04:52 -05 2019


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5526 bytes
Desc: not available
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20190103/ce797b09/attachment.p7s>


More information about the Blueonyx mailing list