Hi Daniel, I just reinstalled my BSD server with a fresh OpenBSD 4.0 install (packages problems with the previous one after upgrade...) So I reinstalled my OSSEC server and WebUI. I installed php5. I changed the installation directory to /var/www/ossec. It's better but it still doesn't work I changed in the ossec_conf.php the path to access ossec but when I type: http://myserver/webui/ I get the interface with Unable to access ossec directory. I think it could be a rights problem but where? When I ran the setup.sh script to install the webui, I created the user Nicolas with a password and changed the /etc/group to: ossec:*:1002:Nicolas
If you have any idea, it would be great. Many thanks for your help and sorry for my dummy questions, I'm a pretty noob to BSD way of life lol. Regards, Nicolas. -----Message d'origine----- De : [email protected] [mailto:[EMAIL PROTECTED] De la part de Daniel Cid Envoyé : samedi 20 janvier 2007 04:01 À : [email protected] Objet : [ossec-list] Re: WebUI problems 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. > >
