Is there a way to "unset" an arbitrary Apache directive such as by repeating it verbatim but with Unset
or something in front of it?
For example let's say at the server config level I have:
ScriptAliasMatch "^/cgi-bin(.*)" "/usr/local/apache/cgi-bin$1"
At for one of the VirtualHosts I'd like to be able to put something like the following:
Unset ScriptAliasMatch "^/cgi-bin(.*)" "/usr/local/apache/cgi-bin$1"
If there's a specific approach for this directive that I'm missing, I'm interested in that as well (the best I can think of is to block access to that pattern via mod_rewrite), but I'm especially interested in whether there is a way to unset as that might be handy to know for the future.