Hi, I'm trying to use double quotes (") in the extra apache directives, yet they get changed to single quotes. Is there any way to use them? I need them in a directive for setting a path for python PythonPath "['/var/www/web4'] + sys.path" The directive seems to need double quotes. I tried replacing them and leaving them out, but it doesn't work. Thanks, Simon
What about escaping the special char's with a \ Code: PythonPath [\'/var/www/web4\'] \+ sys.path Or shouldn't the + sign be changed to a = sign?
'fraid not, no. Here's the syntax for the directive: http://modpython.org/live/current/doc-html/dir-other-pp.html
I dont think that there is code in ISPConfig that changes double quotes to single quotes in the apache directives field. But you may have a look at the isp_isp_web.lib.php file.
Hmm thats odd. Every double quote i use in the apache directives get changed to a single quote on saving the form. I couldn't find anything suspicious in that file, till. If its not ispconfig, what could be causing that?
Magic quotes are off, but that shouldn't replace double quotes with single quotes. In fact i've never heard of a setting that does this. No-one has seen this kind of behavior before? I'm using the latest stable version of ispconfig by the way.
I made a mistake. This behaviour is caused by the ISPConfig code. Please try to comment out line numeber 83: in the file /home/admispconfig/ispconfig/lib/classes/ispconfig_doc.lib.php
Thanks till, that was the culprit indeed. So far i've not run into side-effects, but i'll report back here when/if i do.