Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: newburns on February 12, 2013, 09:54:12 PM

Title: Clear Open_BaseDir setting
Post by: newburns on February 12, 2013, 09:54:12 PM
I have a podcast using Wordpress' Powerpress Bluberry Plugin.
I was informed that the cURL has a bug that will not follow some linked files if there are any properties given for Open_BaseDir.
I would like to clear the properties I have set for my ibay that the WordPress application is using.

I have opened a forum remark on the developer's forum in case their is no resolution. Please help in anyway possible.
http://forum.blubrry.com/index.php/topic,4076.msg11860.html#msg11860

I have tried the following code with no avail (with and without an extra space at the end):
Code: [Select]
db accounts setprop mtrosemedia PHPBaseDir
Website is http://mtrosemedia.tk/audio_podcast/
Title: Re: Clear Open_BaseDir setting
Post by: CharlieBrady on February 12, 2013, 10:06:34 PM
I have tried the following code with no avail (with and without an extra space at the end):
Code: [Select]
db accounts setprop mtrosemedia PHPBaseDir

You need either

Code: [Select]
db accounts setprop mtrosemedia PHPBaseDir ''

or

Code: [Select]
db accounts delprop mtrosemedia PHPBaseDir

I suggest you read a bit about shell parameter quoting. e.g. lookup 'empty' here:

http://tldp.org/LDP/abs/html/quotingvar.html
Title: Re: Clear Open_BaseDir setting
Post by: janet on February 13, 2013, 01:48:24 AM
newburns

I suggest you read a bit about shell parameter quoting. e.g. lookup 'empty' here:
http://tldp.org/LDP/abs/html/quotingvar.html

....and read
http://wiki.contribs.org/Db_command_tutorial
which hopefully gives a better understanding of the db command usage.
Although there is no actual delete example given, the concepts are explained, so how to delete a property or key should be able to be deduced.
Title: Re: Clear Open_BaseDir setting
Post by: newburns on February 13, 2013, 10:58:46 PM
New situation.

There wasn't an issue with the Open_BaseDir according to the forum link posted above, which is good because I like having added security where possible. The issue now has something to do with possible byte serving. Does SME support byte serving (I am under the impression that it does because it is HTTP 1.1 compliant)?
Title: Re: Clear Open_BaseDir setting
Post by: TerryF on February 14, 2013, 12:22:51 AM
Bug on docs submitted: http://bugs.contribs.org/show_bug.cgi?id=7348
Title: Re: Clear Open_BaseDir setting
Post by: newburns on February 14, 2013, 05:17:35 AM
I am having more issues. Can anyone verify whether SME supports "byte serving" or not?
Title: Re: Clear Open_BaseDir setting
Post by: Stefano on February 14, 2013, 09:37:10 AM
I am having more issues. Can anyone verify whether SME supports "byte serving" or not?


then, please, open a new topic.. if there's something that should simply work, please raise a bug

finally, remember always to explain your problem and not your solution, thank you
Title: Re: Clear Open_BaseDir setting
Post by: CharlieBrady on February 14, 2013, 02:29:37 PM
Can anyone verify whether SME supports "byte serving" or not?

Yes, it does, as you can confirm by googling for "apache byte serving".