Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have recently installed Red Hat Linux 8, as i want to set a computer as aserver in a university project. the problem is that after i set up the server, the page comin up is the test page. i try to locate the test page in order to delete it and so place my site.
right on the dot, there should be a conf file (i think /etc/httpd.conf or /etc/init.d/httpd.conf)
or just find: find / -name httpd.conf
inside your httpd.conf file should be commented / un commented module lines and down below (use your fav editor to search) there should be something that tells what apache goes for in a dir first. if you use php and other things you'll have to add index.php in there also.
I have had the same problem with Apache. When I went through the GUI and set up Apache to use index.html as my default file it seemed to have actually DELETED the index.html. What I mean is after applying the changes through the GUI i went into my httpd.conf and found this line
with no index.html after it. I simply added index.html after DirectoryIndex and it worked fine. I think this is just a bug in the Server Configuration GUI.
there should be a conf file (i think /etc/httpd.conf or /etc/init.d/httpd.conf)
In redhat 8 it is /etc/httpd/conf/httpd.conf
I think this is just a bug in the Server Configuration GUI.
I reccomend not using this tool, as it does more harm than good. Everytime you run it it overwrites httpd.conf with a new one, so any adustments you make will be lost...try to edit by hand (you will learn more about apache configuration anyway, which is a good thing... )
Ahhh!! I have been tring to figure out this problem for weeks. My config file just had DirtoryIndex it was missing the index.html. I put that in there and it worked fine. Man that is nerve racking. Thanks for posting this!!!!