<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Aptos;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Aptos",sans-serif;
        mso-ligatures:standardcontextual;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        font-size:10.0pt;
        font-family:"Courier New";
        mso-ligatures:none;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        mso-ligatures:standardcontextual;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Aptos",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        mso-ligatures:none;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Thank you, that was the clue I needed. I confirmed that when I ran the following command on the index.cgi file I got the following output<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"># ls -Z index.cgi<o:p></o:p></p>
<p class="MsoNormal">bugzilla-5.2]# ls -Z index.cgi<o:p></o:p></p>
<p class="MsoNormal">unconfined_u:object_r:httpd_sys_content_t:s0 index.cgi<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">What I should have got is the following:<o:p></o:p></p>
<p class="MsoNormal">bugzilla-5.0.6]# ls -Z index.cgi<o:p></o:p></p>
<p class="MsoNormal"><span style="background:yellow;mso-highlight:yellow">-rwxr-x---. root apache</span> unconfined_u:object_r:etc_t:s0   index.cgi<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-family:"Calibri",sans-serif;mso-ligatures:none">From:</span></b><span style="font-family:"Calibri",sans-serif;mso-ligatures:none"> support-list <support-list-bounces@bugzilla.org>
<b>On Behalf Of </b>David Miller<br>
<b>Sent:</b> Saturday, December 14, 2024 1:51 PM<br>
<b>To:</b> support-list@bugzilla.org<br>
<b>Subject:</b> [EXTERNAL] Re: index.cgi denied permission when attempting to access Bugzilla via Website<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p>Do you have SELinux enabled? If you don't have the SELinux context set correctly on the Bugzilla directory it can do that, too.  /var/log/audit should be able to tell you if that's getting tripped.<span style="font-size:12.0pt;mso-ligatures:none"><o:p></o:p></span></p>
<div>
<p class="MsoNormal">On 12/14/24 10:43 AM, Hunt, Ron (PERATON) wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">I have just completed my install of RHEL 8, MySql 8 and Bugzilla 5.2 and ran .checksetup.pl script with success. When I attempt to access Bugzilla website via URL I am getting the following error:<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><b>Internal Server Error</b><o:p></o:p></p>
<p class="MsoNormal">The server encountered an internal error or misconfiguration and was unable to complete your request.<o:p></o:p></p>
<p class="MsoNormal">Please contact the server administrator at <a href="mailto:name@company.com">
name@company.com</a> to inform them of the time this error occurred, and the actions you performed just before this error.<o:p></o:p></p>
<p class="MsoNormal">More information about this error may be available in the server error log.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">ssl_error_log:<o:p></o:p></p>
<p class="MsoNormal">[Sat Dec 14 09:32:18.796299 2024] [cgid:error] [pid 1208958:tid 140685705258752] [client 10.236.7.209:58477] AH01241: error spawning CGI child: exec of '/var/www/html/bugzilla-5.2/index.cgi' failed (Permission denied): /var/www/html/bugzilla-5.2/index.cgi<o:p></o:p></p>
<p class="MsoNormal">[Sat Dec 14 09:32:18.796611 2024] [cgid:error] [pid 1208958:tid 140685705258752] [client 10.236.7.209:58477] End of script output before headers: index.cgi<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">I have double checked all permissions under the bugzilla-5.2 directory to ensure owner is root and group is apache but still no luck. I also made sure that the current permission for the index.cgi file is set to 0750.
<o:p></o:p></p>
<p class="MsoNormal">-rwxr-x---.  1 root apache  2171 Sep  3 09:36 index.cgi<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">I have gone through bugzilla_5.2 directory to ensure permissions are set to owner root and group apache. Any thoughts on what else could be causing the permission denied error?<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Thanks,<br>
Ron<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;mso-ligatures:none"><br>
<br>
<o:p></o:p></span></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>support-list mailing list<o:p></o:p></pre>
<pre><a href="mailto:support-list@bugzilla.org">support-list@bugzilla.org</a><o:p></o:p></pre>
<pre><a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.bugzilla.org_listinfo_support-2Dlist&d=DwMFaQ&c=YC-d702opsuYKpiO2BmlzoCJLBBaYgI2o4jaaBXxW1A&r=_11PJmUyrZSTpWNUTvbOl4XURRwYPDaHjN6ItLonIpk&m=YM-3mhxMEqB0oVsrekMFOeoCz4XN_L9c-QFS5FGE4cBXT4CvYDzk6xrKXk598xRq&s=CCdeJFIFwjhoTpIk6VeIQi1WbHwNIFb3Y47Djv2C5tM&e=">https://lists.bugzilla.org/listinfo/support-list [lists.bugzilla.org]</a><o:p></o:p></pre>
</blockquote>
<div>
<div>
<table class="MsoNormalTable" border="0" cellspacing="3" cellpadding="0" width="300" style="width:225.0pt">
<tbody>
<tr>
<td width="106" style="width:79.5pt;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="font-size:12.0pt;mso-ligatures:none"><img border="0" width="100" height="100" style="width:1.0416in;height:1.0416in" id="Picture_x0020_1" src="cid:image001.png@01DB4F98.54D2B540" alt="[Bugzilla Logo]"></span><span style="font-size:12.0pt;mso-ligatures:none"><o:p></o:p></span></p>
</td>
<td style="padding:.75pt .75pt .75pt .75pt">
<div>
<p class="MsoNormal"><strong><span style="font-size:13.0pt;font-family:"Aptos",sans-serif;mso-ligatures:none">Dave Miller</span></strong><span style="font-size:12.0pt;mso-ligatures:none"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;mso-ligatures:none">Project Leader<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><strong><span style="font-size:12.0pt;font-family:"Aptos",sans-serif;mso-ligatures:none">Bugzilla Project</span></strong><span style="font-size:12.0pt;mso-ligatures:none"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;mso-ligatures:none"><a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__bugzilla.org_&d=DwMFaQ&c=YC-d702opsuYKpiO2BmlzoCJLBBaYgI2o4jaaBXxW1A&r=_11PJmUyrZSTpWNUTvbOl4XURRwYPDaHjN6ItLonIpk&m=YM-3mhxMEqB0oVsrekMFOeoCz4XN_L9c-QFS5FGE4cBXT4CvYDzk6xrKXk598xRq&s=zSRcqid7Sa5OJTpQrJ4sgIdUlJL3u7LztQO8ccjC-F8&e=" target="_blank">https://bugzilla.org/
 [bugzilla.org]</a><o:p></o:p></span></p>
</div>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="font-size:12.0pt;mso-ligatures:none"><o:p> </o:p></span></p>
</div>
</div>
</div>
</body>
</html>