httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Brown <br...@mrvideo.vidiot.com>
Subject [users@httpd] Problem running cgi-bin scripts
Date Tue, 09 May 2017 08:30:25 GMT
I've been using Apache 2.2 on an old Solaris box for ages.  I'm finally
bring up a new Linux server and have the latest 2.4 version up and running.
Sort-of.

When I try and run any of the cgi-bin scripts that I have (there is really
only one that I use), I get the following error logged:

[Mon May 08 21:17:30.683456 2017] [cgi:error] [pid 23578] [client 192.168.1.1:55099] AH01215:
(2)No such file or directory: exec of '/home/httpd/cgi-bin/dvbpass.cgi' failed: /home/httpd/cgi-bin/dvbpass.cgi
[Mon May 08 21:17:30.685328 2017] [cgi:error] [pid 23578] [client 192.168.1.1:55099] End of
script output before headers: dvbpass.cgi
[Mon May 08 21:52:06.458293 2017] [:error] [pid 23782] [client 192.36.27.6:16800] script '/WebDisk/http/htdocs/vidiot/wp-login.php'
not found or unable to stat

Here are the lines in the config file dealing with cgi-bin:

    ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
    ScriptAlias /mailman/ "/usr/local/mailman/cgi-bin/"

</IfModule>

#
# "/var/www/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "/home/httpd/cgi-bin">
    AllowOverride None
    Options None
    Require all granted
</Directory>

<Directory "/usr/local/mailman/cgi-bin">
    AllowOverride None
    Options None
    Require all granted
</Directory>

I do not have the mail server up and running yet, nor do I have mailman up,
so I do not know if the mailman cgi-bin stuff will also fail.

The wordpress and mariadb packages are not installed.  I even tried looking
for wp-login.php in /etc, /usr and /var, just to make sure that it wasn't
somewhere on the system.

So, I am confused as to why apache is trying to use wp-login.php.  Or,
by chance is this another selinux thing (which I've used before).

Any tips will be appreciated.

Thanks.

MB
-- 
e-mail: vidiot@vidiot.com | vidiot@vidiot.net            /~\ The ASCII
        6082066843@email.uscc.net (140 char limit)       \ / Ribbon Campaign
Visit - URL: http://vidiot.com/                           X  Against
             http://vidiot.net/                          / \ HTML Email
"You're Sherlock Holmes, wear the damn hat!" - Watson to Sherlock
Sherlock - The Abominable Bride - 1/01/16

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message