Title: Options -ExecCGI
Last modified: December 17, 2024

---

# Options -ExecCGI

 *  [johannes2024](https://wordpress.org/support/users/johannes2024/)
 * (@johannes2024)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/options-execcgi/)
 * Hi,
 * the Options -ExecCGI in the .htaccess has a negative side effect
 * As side effect the apache directive 
   AllowOverride All or (more detailed)AllowOverride
   AuthConfig Indexes Limit Options=Indexes,……,**ExecCGI** Fileinfo=RewriteEngine,……
   needs enabled
 * The Admin needs enable on all vhosts ExecCGI Override with all the security risk(
   Attacker can create a .htaccess with Options +ExecCGI) only to allow the -ExecCGI
   in the .htaccess
 * Unfortunately there is no apache directive AllowOverride …… Options=**-ExecCGI**
   only 
   There is a option Nonfatal=All but this has another security side effect.
 * I don’t know a <IfOption ExecCGI> like <IfModule mod_bla> or any other way to
   pre check the option allowed or make the option non fatal.

The topic ‘Options -ExecCGI’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-cerber_77a9bf.svg)
 * [WP Cerber Security, Anti-spam & Malware Scan](https://wordpress.org/plugins/wp-cerber/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-cerber/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-cerber/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-cerber/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-cerber/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-cerber/reviews/)

## Tags

 * [htaccess](https://wordpress.org/support/topic-tag/htaccess/)

 * 0 replies
 * 1 participant
 * Last reply from: [johannes2024](https://wordpress.org/support/users/johannes2024/)
 * Last activity: [1 year, 7 months ago](https://wordpress.org/support/topic/options-execcgi/)
 * Status: not a support question