[ http://issues.apache.org/jira/browse/MODPYTHON-6?page=all ] Graham Dumpleton closed MODPYTHON-6: ------------------------------------
> Not possible to have empty value when using PythonOption. > --------------------------------------------------------- > > Key: MODPYTHON-6 > URL: http://issues.apache.org/jira/browse/MODPYTHON-6 > Project: mod_python > Type: Wish > Versions: 3.1.3 > Reporter: Graham Dumpleton > Assignee: Nicolas Lehuen > Priority: Minor > Fix For: 3.2.7 > > When I try and set the variable to an empty string. Ie., > PythonOption Name "" > I get an Apache error: > > Internal Server Error > > > > The server encountered an internal error or misconfiguration and was > > unable to complete your request. > > > > Please contact the server administrator, you at example.com and inform > > them of the time the error occurred, and anything you might have done > > that may have caused the error. > > > > More information about this error may be available in the server error > > log. > > Apache/2.0.51 (Unix) mod_python/3.1.3 Python/2.3 Server at localhost > > Port 8080 > There is also no explicit way to unset a key/value which is inherited from a > directory > higher up in the hierarchy. Not being able to unset a key/value pair or set > the > value to empty, means that to disable an inherited value you have to set it to > some magic value which is taken as meaning that it has no affect. Ie., the > application has to do special interpretation of the value. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira