Troubleshooting Apache HTTP Server Configuration on Linux

  • Thread starter Thread starter karthik3k
  • Start date Start date
  • Tags Tags
    Linux
Click For Summary

Discussion Overview

The discussion revolves around troubleshooting the configuration of the Apache HTTP Server on a Linux system, specifically regarding the display of a custom index.html file instead of the default test page. Participants explore potential misconfigurations in the server's document root settings.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant indicates that the Apache server is showing a test page instead of the expected index.html file located in /var/www/html.
  • Another participant suggests checking the configuration file to verify the document root, implying it may not be set to /var/www/html.
  • A different participant asserts that the document root is indeed set to /var/www/html, contradicting the previous suggestion.
  • One participant provides a link to an external resource that may assist with the configuration issue.
  • A later post reiterates the suggestion to check the configuration file, humorously noting the off-topic nature of the discussion.

Areas of Agreement / Disagreement

Participants express disagreement regarding the correct document root configuration, with some asserting it is set correctly while others question this assumption. The discussion remains unresolved.

Contextual Notes

There may be limitations related to the visibility of configuration settings, potential overrides in other configuration files, or the presence of additional Apache modules affecting the server's behavior.

karthik3k
Messages
149
Reaction score
0
My RH9 is preinstalled with Apache http server.
If i connect to 127.0.0.1 its showing the test page. But i have an index.html file in /var/www/html/ folder. And this folder path is given as the document root in httpd.conf file.

I donno from where that test page comes out and i donno how to display my index.html file.
It doesn't work even if i use 127.0.0.1/index.html

Somebody please help...
Thanx
 
Computer science news on Phys.org
check the .conf file to see where Apache's root directory is. It apparently isn't /var/www/html.

- Warren
 
No. It is /var/www/html
 
Maybe this will help:

http://myy.helia.fi/~karte/kurssit/lamp-linux-apache-mysql-php-quickstart.html
 
Last edited by a moderator:
chroot said:
check the .conf file to see where Apache's root directory is. It apparently isn't /var/www/html.
An Unfortunate off-track :-p
 
Last edited:

Similar threads

  • · Replies 4 ·
Replies
4
Views
6K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
14K
  • · Replies 6 ·
Replies
6
Views
10K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
6K
Replies
2
Views
2K
Replies
3
Views
5K
  • · Replies 19 ·
Replies
19
Views
10K