Re: [CentOS] Apache 2.2 itk - 404 not found

2015-05-08 Thread John
On 15-05-08 08:55 AM, Eric Lehmann wrote: Please also check for the proper security context. Do ls -Z /var/www/html/index.html. The context type httpd_sys_content_t should be present. Regards 2015-05-08 14:32 GMT+02:00 Richard : More specifically -- when you get the "not found" in the browser

Re: [CentOS] Apache 2.2 itk - 404 not found

2015-05-08 Thread Eric Lehmann
Please also check for the proper security context. Do ls -Z /var/www/html/index.html. The context type httpd_sys_content_t should be present. Regards 2015-05-08 14:32 GMT+02:00 Richard : > More specifically -- when you get the "not found" in the browser > there should be an entry logged in the e

Re: [CentOS] Apache 2.2 itk - 404 not found

2015-05-08 Thread Richard
More specifically -- when you get the "not found" in the browser there should be an entry logged in the error log. E.g., tail the error log, issue a request, and see what you see. The error log entry will show the details of what is being requested and generally gives strong hints as to why it can'

Re: [CentOS] Apache 2.2 itk - 404 not found

2015-05-08 Thread John
On 15-05-07 04:52 PM, Richard wrote: What is showing in the apache error log? Original Message Date: Thursday, May 07, 2015 04:28:16 PM -0400 From: John Directories permissions: 755 Files permissions: 644 On 15-05-07 04:21 PM, John wrote: I forgot to mention it. A

Re: [CentOS] Apache 2.2 itk - 404 not found

2015-05-07 Thread Richard
What is showing in the apache error log? Original Message > Date: Thursday, May 07, 2015 04:28:16 PM -0400 > From: John > > Directories permissions: 755 Files permissions: 644 > > On 15-05-07 04:21 PM, John wrote: >> I forgot to mention it. All the files under /var/ht

Re: [CentOS] Apache 2.2 itk - 404 not found

2015-05-07 Thread John
I understand that an I agree. I will correct it after my access problem is solved. On 15-05-07 04:32 PM, John R Pierce wrote: On 5/7/2015 1:21 PM, John wrote: I forgot to mention it. All the files under /var/html are owned by apache:apache thats actually a bad practice, as you do NOT want th

Re: [CentOS] Apache 2.2 itk - 404 not found

2015-05-07 Thread John R Pierce
On 5/7/2015 1:21 PM, John wrote: I forgot to mention it. All the files under /var/html are owned by apache:apache thats actually a bad practice, as you do NOT want the web server to have write access to the main content... if someone hacks your web scripts, having write access means they can

Re: [CentOS] Apache 2.2 itk - 404 not found

2015-05-07 Thread John
Directories permissions: 755 Files permissions: 644 On 15-05-07 04:21 PM, John wrote: I forgot to mention it. All the files under /var/html are owned by apache:apache On 15-05-07 04:07 PM, Eric Lehmann wrote: Have you checked the file rights under your document root ? Your apache group need r

Re: [CentOS] Apache 2.2 itk - 404 not found

2015-05-07 Thread John
I forgot to mention it. All the files under /var/html are owned by apache:apache On 15-05-07 04:07 PM, Eric Lehmann wrote: Have you checked the file rights under your document root ? Your apache group need reading right. Am 07.05.2015 21:42 schrieb "John" : Hi all, Freshly installed apache 2.

Re: [CentOS] Apache 2.2 itk - 404 not found

2015-05-07 Thread Eric Lehmann
Have you checked the file rights under your document root ? Your apache group need reading right. Am 07.05.2015 21:42 schrieb "John" : > Hi all, Freshly installed apache 2.2 with httpd-itk (from epel). When I > try to access apache's document root from a browser on local network, it > always serve

[CentOS] Apache 2.2 itk - 404 not found

2015-05-07 Thread John
Hi all, Freshly installed apache 2.2 with httpd-itk (from epel). When I try to access apache's document root from a browser on local network, it always serve me the Apache welcome page, even if I have a index.html and a phpinfo.php file in the /var/www/html folder. If point the browser specific