Hi Nicolas,

You have three choices (I am also an OpenBSD user, so I tried all):

-Install OSSEC inside /var/www (like /var/www/ossec), so that the chrooted
apache will be able to access it (best way).
-Disable chroot on apache by starting it with the -U option (easiest way).
-Re-configure apache to chroot to /var instead of /var/www (lot of work).

Hope it helps.

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



On 1/19/07, Blot Nicolas <[EMAIL PROTECTED]> wrote:
Hi all,

I just discovered OSSEC and his WebUi but I'm having troubles with webui.
I run Ossec server and webui on an OpenBSD 4.0 plateform (i386).
I followed installation instruction for Ossec and Webui, ossec runs
perfectly, my agents to but the webui doesn't work.
I explain:
When I tried to access the webui by typing: http://myserver I get the apache
page...
I tried to type http://myserver/webui/ but I get the directory listed.
When I try to go directly to the main.php or index.php, my browser (FF2) is
displaying the page source.

I know that the apache server on OpenBSD is by default chrooted.
I was wondering what I should do to resolve my problem, because despite my
searches, I didn't found anything.

Many thanks for your help.

Regards,

Nicolas.


Reply via email to