httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Brown <>
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.

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] 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] End of
script output before headers: dvbpass.cgi
[Mon May 08 21:52:06.458293 2017] [:error] [pid 23782] [client] 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/"


# "/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 "/usr/local/mailman/cgi-bin">
    AllowOverride None
    Options None
    Require all granted

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.


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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message