RE: Help installing Bugzilla 3.0 on Red Hat Enterprise Linux 5 - Mozilla

This is a discussion on RE: Help installing Bugzilla 3.0 on Red Hat Enterprise Linux 5 - Mozilla ; Anseljh, It really does not matter where you have your Bugzilla directory installed or your DocumentRoot; Just make sure the owner and group of your "DocumentRoot" is what you have specified as User and Group in your httpd.conf. Also make ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: RE: Help installing Bugzilla 3.0 on Red Hat Enterprise Linux 5

  1. RE: Help installing Bugzilla 3.0 on Red Hat Enterprise Linux 5

    Anseljh,

    It really does not matter where you have your Bugzilla directory
    installed or your DocumentRoot; Just make sure the owner and group of
    your "DocumentRoot" is what you have specified as User and Group in your
    httpd.conf. Also make sure you have an account for that User in your
    /etc/passwd

    Thanks-Fauzi



    -----Original Message-----
    From: support-bugzilla-bounces@lists.mozilla.org
    [mailto:support-bugzilla-bounces@lists.mozilla.org] On Behalf Of anseljh
    Sent: Friday, August 03, 2007 11:49 AM
    To: support-bugzilla@lists.mozilla.org
    Subject: Re: Help installing Bugzilla 3.0 on Red Hat Enterprise Linux 5

    On Aug 3, 6:35 am, Max Kanat-Alexander wrote:
    > On Fri, 03 Aug 2007 02:38:09 -0700 anseljh wrote:
    >
    > > It really does smell like a SELinux problem to me. However, setting
    > > the SELinux contexts that way doesn't help me. Here are the

    details.
    >
    > > * Bugzilla is in: /var/www/bugzilla-3.0

    >
    > Wrong place. The directory needs to be in /var/www/html/ for
    > SELinux. (Make sure you also do "restorecon -Rv" on the directory

    after
    > you move it.)
    >
    > Does it help if you do "setenforce 0" (thus turning off
    > SELinux)?
    >
    > -Max


    Thanks for the reply, Max.

    * I moved bugzilla to: /var/www/html/bugzilla-3.0

    * I ran: restorecon -Rv /var/www/html/bugzilla-3.0/

    * I modified my bugzilla.conf to point to the new location:

    AddHandler cgi-script .cgi
    Options +Indexes +ExecCGI +FollowSymLinks
    DirectoryIndex index.cgi
    AllowOverride Limit
    #AllowOverride All

    Alias /bugzilla/ /var/www/html/bugzilla-3.0/

    * I restarted Apache.

    I still get the same errors in the logs and if I run index.cgi
    directly.

    I also tried setenforce 0, and it didn't change anything either.

    Hmm....?

    _______________________________________________
    support-bugzilla mailing list
    support-bugzilla@lists.mozilla.org
    https://lists.mozilla.org/listinfo/support-bugzilla
    PLEASE put support-bugzilla@lists.mozilla.org in the To: field when you
    reply.



  2. Re: Help installing Bugzilla 3.0 on Red Hat Enterprise Linux 5

    On Aug 3, 12:14 pm, "Fauzi Ashurex" wrote:
    > Anseljh,
    >
    > It really does not matter where you have your Bugzilla directory
    > installed or your DocumentRoot; Just make sure the owner and group of
    > your "DocumentRoot" is what you have specified as User and Group in your
    > httpd.conf. Also make sure you have an account for that User in your
    > /etc/passwd
    >
    > Thanks-Fauzi



    Hi Fauzi,

    Thanks for the suggestion, but I don't think that's the problem
    either. I tried changing both the user and group to apache, but it
    didn't change the result. Also, checksetup.pl fixes the permissions,
    and it set the user owner to root, and group to apache, which I think
    should be fine.

    Thanks, though! Does anyone else have other ideas?

    -Ansel


+ Reply to Thread