Title: cgi-bin problem
Last modified: August 31, 2016

---

# cgi-bin problem

 *  Resolved [colinlam](https://wordpress.org/support/users/colinlam/)
 * (@colinlam)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/cgi-bin-problem/)
 * It seems like BPS security is preventing me from running a mail script in my 
   cgi-bin.
 * I can only get access to the cgi-bin if I remove the line
    RewriteCond %{QUERY_STRING}
   cgi etc etc from the .htaccess file (written by BPS)
 * Once I remove this line my forms can access the mail script in the cgi-bin.
 * Is there a reason for this please and is there a better solution.
 * Thanks again
 * [https://wordpress.org/plugins/bulletproof-security/](https://wordpress.org/plugins/bulletproof-security/)

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

 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/cgi-bin-problem/#post-7301468)
 * You can safely remove that cgi security rule/code. It is just a general security
   rule and is not really that important or critical to use. To permanently save
   your modification/edit do the steps below.
 * 1. Copy your modified BPS Query String Exploits code to this BPS Root Custom 
   Code text box: CUSTOM CODE BPSQSE BPS QUERY STRING EXPLOITS
    2. Click the Save
   Root Custom Code button. 3. Go to the Security Modes tab page, click the Create
   secure.htaccess File AutoMagic button, select the Activate Root Folder BulletProof
   Mode Radio button and click the Activate|Deactivate button.
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/cgi-bin-problem/#post-7301540)
 * Did this answer all of your questions? If so, please resolve this thread. If 
   not, please post any additional questions you may have. Thanks.
 * Thread Start Date: 4-20-2016
    Current Date: 4-21-2016
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/cgi-bin-problem/#post-7301586)
 * Assuming all questions have been answered – the thread has been resolved. If 
   the issue/problem is not resolved or you have additional questions about this
   specific thread topic then you can post them at any time. We still receive email
   notifications when threads have been resolved.
 * Thread Start Date: 4-20-2016
    Thread Resolved/Current Date: 4-22-2016

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

The topic ‘cgi-bin problem’ is closed to new replies.

 * ![](https://ps.w.org/bulletproof-security/assets/icon-128x128.png?rev=1731938)
 * [BulletProof Security](https://wordpress.org/plugins/bulletproof-security/)
 * [Support Threads](https://wordpress.org/support/plugin/bulletproof-security/)
 * [Active Topics](https://wordpress.org/support/plugin/bulletproof-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bulletproof-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bulletproof-security/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [AITpro](https://wordpress.org/support/users/aitpro/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/cgi-bin-problem/#post-7301586)
 * Status: resolved