[BlueOnyx:22575] Re: 5209R: CGI-Wrapper working again
Michael Stauber
mstauber at blueonyx.it
Thu Jan 3 09:55:28 -05 2019
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
More information about the Blueonyx
mailing list