• I’ve searched the archives as well as I know how, but couldn’t find the answers, so…

    Here’s my issue: I have WP installed in my root directory. I’m trying to install the Dada mail program in my cgi-bin directory. When I try to browse to /cgi-bin/dada/mail.cgi, I get a 404 page in my WordPress installation.

    I imagine it’s an .htaccess problem… but what’s the fix? Here’s my .htaccess:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    Thanks for any help

Viewing 2 replies - 1 through 2 (of 2 total)
  • I don’t think WordPress has anything to do with your CGI script. If you’re trying to access that mail.cgi file and are getting a 404, that looks to me like a CGI problem, not a WordPress problem. Can you run any other CGI scripts? That would be a good way to test if something wrong with that particular script.

    I’m having the same problem with dada mail… however it worked fine when my WP instal was not in my root folder.

    If you search through the forums you will see scores of threads about WP .htaccess casuing problems with cgi-bins, a number of posters report that disabling permalinks allows cgi access… (that happens for me too) seems to me its wordpress and not a cgi error

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Can’t Access CGI-BIN’ is closed to new replies.