That's Wierd.
How do you start apache? using apachectl or what ?
BTW (you must put httpd_flags="-u" into your rc.conf)

2007/1/21, Marcus Maciel <[EMAIL PROTECTED]>:

Can you confirm if your apache is compiled with php support ?

On 1/21/07, Blot Nicolas <[EMAIL PROTECTED] > wrote:
>
>
> The web server is chrooted, in /var/www that's why I installed ossec in
> /var/www/ossec.
> By default the Apache user is www if I'm right.
> I edited the /etc/group and put the line: osse:*:1002:www
>
> I think it's correct, but still the Unable to access ossec directory is
> displayed...
>
> Daniel, if you have an idea, it would be great.
> I've tested by launching httpd with the -u option the problem is the
> same.
> I'm totally lost.
>
> Many thanks for your help.
>
> Regards,
>
> Nicolas.
>
> -----Message d'origine-----
> De: [email protected] [mailto:[email protected] ] De
> la
> part de Kayvan A. Sylvan
> Envoyé: dimanche 21 janvier 2007 22:46
> À: [email protected]
> Objet: [ossec-list] Re: WebUI problems
>
>
> On Sun, Jan 21, 2007 at 06:26:50PM +0100, Blot Nicolas wrote:
> >
> > Here they are:
> >
> > # ls -l /var/www/ossec
> > total 36
> > dr-xr-x---  3 root   ossec   512 Jan 21 02:13 active-response
> [...]
> > dr-xr-x---  3 root   ossec   512 Jan 21 02:22 var
>
> If your web server user is indeed in the ossec group (and you are not
> running
> SELinux) then it should work.
>
> Unless your web server is running in a chroot() jail. I don't know
> enough
> about your particular OS to say for certain.
>
>                         ---Kayvan
> --
> Kayvan A. Sylvan          | Proud husband of       | Father to my kids:
> Sylvan Associates, Inc.   | Laura Isabella Sylvan, | Katherine Yelena
> (8/8/89)
> http://sylvan.com/~kayvan <http://sylvan.com/%7Ekayvan> | my beautiful
> Queen.    | Robin Gregory (2/28/92)
>
>


--
Marcus Maciel
Under-Linux.Org




--
Certified LPIC -1
http://under-linux.org/

Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)

Reply via email to