[root@13gems <a href="http://angrynates.com">angrynates.com</a>]# chcon -R -h unconfined_u:object_r:httpd_sys_content_t global_solutions/*<br><br>Then I surfed to <br><a href="http://209.216.9.56/global_solutions/index.py">http://209.216.9.56/global_solutions/index.py</a><br>
<br>[root@13gems <a href="http://angrynates.com">angrynates.com</a>]# tail /var/log/messages<br>Nov  8 04:26:02 13gems syslogd 1.4.1: restart.<br>[root@13gems <a href="http://angrynates.com">angrynates.com</a>]# tail /var/log/httpd/error_log<br>
[Sun Nov 08 05:35:10 2009] [notice] Digest: generating secret for digest authentication ...<br>[Sun Nov 08 05:35:10 2009] [notice] Digest: done<br>[Sun Nov 08 05:35:10 2009] [notice] mod_python: Creating 4 session mutexes based on 10 max processes and 0 max threads.<br>
[Sun Nov 08 05:35:10 2009] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations<br>[Sun Nov 08 07:29:40 2009] [error] [client 66.248.168.98] File does not exist: /var/www/html/<a href="http://angrynates.com/favicon.ico">angrynates.com/favicon.ico</a><br>
[Sun Nov 08 07:29:40 2009] [error] [client 66.248.168.98] (2)No such file or directory: exec of '/var/www/html/<a href="http://angrynates.com/global_solutions/index.py">angrynates.com/global_solutions/index.py</a>' failed, referer: <a href="http://209.216.9.56/global_solutions/">http://209.216.9.56/global_solutions/</a><br>
[Sun Nov 08 07:29:40 2009] [error] [client 66.248.168.98] Premature end of script headers: index.py, referer: <a href="http://209.216.9.56/global_solutions/">http://209.216.9.56/global_solutions/</a><br>[Sun Nov 08 09:38:44 2009] [error] [client 66.248.168.98] File does not exist: /var/www/html/<a href="http://angrynates.com/favicon.ico">angrynates.com/favicon.ico</a><br>
[Sun Nov 08 09:38:44 2009] [error] [client 66.248.168.98] (2)No such file or directory: exec of '/var/www/html/<a href="http://angrynates.com/global_solutions/index.py">angrynates.com/global_solutions/index.py</a>' failed, referer: <a href="http://209.216.9.56/global_solutions/">http://209.216.9.56/global_solutions/</a><br>
[Sun Nov 08 09:38:44 2009] [error] [client 66.248.168.98] Premature end of script headers: index.py, referer: <a href="http://209.216.9.56/global_solutions/">http://209.216.9.56/global_solutions/</a><br><br>TIA,<br>V<br><br>
<div class="gmail_quote">On Sun, Nov 8, 2009 at 12:28 PM, Rami Chowdhury <span dir="ltr"><<a href="mailto:rami.chowdhury@gmail.com">rami.chowdhury@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Sunday 08 November 2009 05:44:31 Victor Subervi wrote:<br>
> [root@13gems <a href="http://angrynates.com" target="_blank">angrynates.com</a>]# chcon -u unconfined_u -r object_r -t<br>
> httpd_sys_content_t global_solutions<br>
> chcon: can't apply partial context to unlabeled file global_solutions<br>
> Please advise.<br>
<br>
</div>Try 'chcon -R -h unconfined_u:object_r:httpd_sys_content_t<br>
global_solutions/*', which should specify the whole context at once and avoid<br>
that error, as well as apply it recursively to all files and subdirectories.<br>
<br>
Also, to narrow down the error, can you let us have the output of:<br>
        tail /var/log/messages<br>
<div class="im">        tail /var/log/httpd/error_log<br>
<br>
</div>HTH,<br>
Rami<br>
<br>
----<br>
<font color="#888888">Rami Chowdhury<br>
"As an online discussion grows longer, the probability of a comparison<br>
involving Nazis or Hitler approaches one." -- Godwin's Law<br>
</font><div><div></div><div class="h5">408-597-7068 (US) / 07875-841-046 (UK) / 0189-245544 (BD)<br>
</div></div></blockquote></div><br>