Go Back   GIDForums > Web Hosting Forums > Apache Web Server Forum
User Name
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
Thread Tools Search this Thread Rate Thread
Old 11-Oct-2017, 09:24
erasmas erasmas is offline
New Member
Join Date: Oct 2017
Location: Australia / China
Posts: 1
erasmas is on a distinguished road

Content of /var/www/html not loading

I have undertaken numerous installs of apache over the years and they worked without incident (in the main). I have recently attempted to configure apache 2.4 on F25. The permissions of the subject directory (and the directories above) are correct as indeed are the permissions on the files.

Without an index.html file in the subject directory the server defaulted to the ../noindex directory in /usr/share..dada as per the welcome.conf file in conf.d When a syntactically correct index.html file was placed into the subject directory apache reported with a "you don't have permission ... " error.

setsebool -P httpd_can_network_connect 1

"seemed" to overcome this annoyance but it enabled a view of /var/www/html as one would view a "normal" directory; i.e. in text with subdirectories appearing in blue.

In other words apache displays the content of index.html as if it were a text file.

Upon removing (or rather renaming index.html to no-index) index.html the "default" page is no longer displayed; indeed the "apparent" test display prevails.

Opera, Firefox and vivaldi display identical behaviour

resetting httpd_can_network_connect 0 has had no effect either.

As an aside I configured a Mac without incident (modifying various files as necessary) although apache, on the mac did not work "out of the box"

I would be grateful for any comments or remarks.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Any good Hosts for Adult Content sites? lwiceland Web Hosting Forum 1 07-Sep-2017 00:58
Apache Access Log Content jyotirma Apache Web Server Forum 0 07-Aug-2017 01:02
Why after changing of web page content domain invisible from Google SERP? shilparawat Search Engine Optimization Forum 3 22-Mar-2017 04:58
How to Avoid Duplicate Content Own Site? phpdevelopment Search Engine Optimization Forum 11 22-Feb-2017 05:51
How do I design a site that prevents content from being ripped off? albertday Web Design Forum 3 04-Sep-2003 08:30

Network Sites: GIDNetwork · GIDApp · GIDBlog · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 01:03.

vBulletin, Copyright © 2000 - 2018, Jelsoft Enterprises Ltd.