Permalinks break cgi-bin! (7 posts)

  1. bryan868
    Posted 9 years ago #

    Alrighty... I justed moved my wordpress to its own directory, re-activated permalinks and realized my cgi-bin scripts do not work (403 Forbidden error). When I get rid of the permalinks, the cgi-bin scripts work again.

    Why would the .htaccess file that WP created be interfering with my cgi-bin? I've done a search and found others with this problem with no definite fix. Help would be much appreciated! There has to be some .htaccess fix for this.

  2. DianeV
    Posted 9 years ago #

    Hard to guess without seeing what's in the .htaccess file.

  3. bryan868
    Posted 9 years ago #

    Just the standard, here:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END WordPress
  4. bryan868
    Posted 9 years ago #

    Any ideas?

  5. bryan868
    Posted 9 years ago #

    Can anybody help? This is becoming a huge problem for me.

    How can I exclude the /cgi-bin/ from being affected by the .htaccess?

  6. bryan868
    Posted 9 years ago #

    Someone suggesting using this code right above the rewrite base line, but it didn't work.

    RewriteCond %{REQUEST_URI} !^/cgi-bin/

    Any other thoughts?!

  7. defendthyself
    Posted 8 years ago #

    Is there anyone here who can help??? There are a lot of people having this cgi error issue. please help us.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.