Troubleshooting Apache HTTP Server Configuration on Linux

  • Thread starter Thread starter karthik3k
  • Start date Start date
  • Tags Tags
    Linux
AI Thread Summary
The Apache HTTP server on RH9 is preinstalled and shows a default test page when accessing 127.0.0.1, despite having an index.html file in the expected document root at /var/www/html. The issue may stem from a misconfiguration in the httpd.conf file, which should specify the document root. Users are advised to check the configuration file to confirm the correct root directory for Apache, as it may not be set to /var/www/html. Accessing the file directly via 127.0.0.1/index.html does not resolve the issue.
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:
Thread 'ChatGPT Examples, Good and Bad'
I've been experimenting with ChatGPT. Some results are good, some very very bad. I think examples can help expose the properties of this AI. Maybe you can post some of your favorite examples and tell us what they reveal about the properties of this AI. (I had problems with copy/paste of text and formatting, so I'm posting my examples as screen shots. That is a promising start. :smile: But then I provided values V=1, R1=1, R2=2, R3=3 and asked for the value of I. At first, it said...
Sorry if 'Profile Badge' is not the correct term. I have an MS 365 subscription and I've noticed on my Word documents the small circle with my initials in it is sometimes different in colour document to document (it's the circle at the top right of the doc, that, when you hover over it it tells you you're signed in; if you click on it you get a bit more info). Last night I had four docs with a red circle, one with blue. When I closed the blue and opened it again it was red. Today I have 3...
Back
Top