Hey,

That would be a great information to have on our wiki :) Any good soul
interested in putting
it in there? Remember, the wiki is a community wiki, so everyone is
very welcome to update
it...

Thanks,

--
Daniel B. Cid
dcid ( at ) ossec.net

On Fri, Mar 28, 2008 at 12:05 PM, rloaderro <[EMAIL PROTECTED]> wrote:
>
>  I installed the WebUI and came across the "Unable to access ossec
>  directory" problem. It turned out I had open_basedir restriction in
>  effect for that domain.
>
>  - You can check the open_basedir value by creating a file such as
>  info.php in the ossec httpdocs directory with "<?php phpinfo(); ?>" in
>  the document body - then access the file from your browser:
>  http://yourdomain.com/ossec/info.php
>
>  - If you are running PHP in safe mode than the open_basedir is
>  probably in effect.
>
>  - In order to relax the open_basedir you need to edit httpd.conf (or
>  vhost.conf depending on your setup), something like (YMMV):
>
>  <Directory /var/www/vhosts/ossec/httpdocs>
>         php_admin_flag engine on
>         php_admin_value open_basedir "/var"
>  </Directory>
>
>  Anyway, just thought I would mention it since no one else has. Hope it
>  helps!
>

Reply via email to