|
Posted by Rik on 03/14/07 08:11
lawrence k <lkrubner@geocities.com> wrote:
> On Mar 14, 2:16 am, "lawrence k" <lkrub...@geocities.com> wrote:
>> On Mar 13, 2:20 pm, luiheidsgoe...@hotmail.com wrote:
>> > > > e path: /home/httpd/vhosts/monkeyclaus.org/httpdocs/media/audio/
>> > > > AlexSchein/SpeedofLight/TheWhiteFlag.mp3
>>
>> > httpdocs....
>>
>> > > > Warning: file_exists(): open_basedir restriction in effect.
>> File(...httpdocs...) is not within the allowed path(s):
>> (.../httpsdocs/...)
>> > httpSdocs
>> > > <Directory /home/httpd/vhosts/monkeyclaus.org/httpdocs>
>>
>> > Which won't do you any good, as you're not in that directory....
>> > You're in httpSdocs
>> I'm not sure I understand you.
You have a <Directory> here that only is valid in you /httpdocs/ path, not
your httpSdopcs. Any settings/php_flags etc. won't be valid for any code
in /httpsdocs/ as it is a total different directory. That's what I was
trying to say.
> Okay, I found the answer to my own question. Apparently you also have
> to edit the httpd.include file, and add this line to the directory
> directives:
>
> php_admin_value open_basedir none
>
> It is seriously like hunting for a needle in a haystack, trying to
> figure out which configuration file you have to edit.
>
> On my machine, running RedHat and Plesk, there is a httpd.include
> file for every domain, and it is inside the domain folder (which is
> inside of the vhosts folder), in a folder called "conf".
That's extremely well documented in Plesk's manual. If you'd ask: what
files are used in Plesk to configure a specific domain/folder, you'd have
had a answer in minutes.
Golden Rule when using third party applications/programs/software: consult
THAT manual first.
--
Rik Wasmus
Posted on Usenet, not any forum you might see this in.
Ask Smart Questions: http://tinyurl.com/anel
[Back to original message]
|