Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
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.
First I just want to thank everyone who helps others in this forum. We all need help from time to time.
Ok this should be easy for someone with the knowledge of configuring the Apache 2.2 server file httpd.conf
All I want to do is get my index.html page up and running on my Fedora 5 server. But I'm not understanding what parts of the "httpd.conf" file I need to configure. I got my domain name up and running just need to have it pin point to my index.html page.
I have my Index.html file in this directory "/var/www/html/index.html"
I don't know what I'm supposed to enable or disable in the httpd.conf and edit. I've looked online at documentation but it has got me stumped.
DocumentRoot - this should be set to the base directory containing your website, /var/www/html in your case
DirectoryIndex - this directive is processed when a directory is requested. The first filename that matches is returned. Make sure index.html appears in the list - although it should be there by default in a standard installation
Note that capitalisation matters - Index.html is NOT the same as index.html. Web conventions generally stick to lowercase.
I already have the Document Root set to my path /var/www/html & Directory index to Index.html with the capitalisation. It still won't work. On the page it say's this cdhgee.
If you are the website administrator:
You may now add content to the directory /var/www/html/. Note that until you do so, people visiting your website will see this page, and not your content. To prevent this page from ever being used, follow the instructions in the file /etc/httpd/conf.d/welcome.conf
I've follow the instructions using the comments # the /etc/httpd/conf.d/welcome.conf says this
#
# This configuration file enables the default "Welcome"
# page if there is no default index page present for
# the root URL. To disable the Welcome page, comment
# out all the lines below.
#
#<LocationMatch "^/+$">
# Options -Indexes
# ErrorDocument 403 /error/noindex.html
#</LocationMatch>
Note that I've put comments in like it says to. so without the comments it would look like this.
#
# This configuration file enables the default "Welcome"
# page if there is no default index page present for
# the root URL. To disable the Welcome page, comment
# out all the lines below.
#
<LocationMatch "^/+$">
Options -Indexes
ErrorDocument 403 /error/noindex.html
</LocationMatch>
I hope you can help me with this cus I'm stumped. I thank you who reply vary much.
Ok I figured it out. I just want to let you all know this ok.
I put Index.html with the capitalisation and edit my httpd.conf file with the capitalisation. I recommend using lower case so you don't run into problems.
I changed my Index.html file to index.html and my httpd.conf file to lower case for the DirectoryIndex to index.html
BAM it came up just fine.
I want to thank you all who gave me a reply to help me with my problem and you did. We worked together and now we all know what to do when this happens to us. Thanks Kaltwasser
Feel free to check out my site its under construction right now but if you want to see it click me.
i m new here in the LQ..even dont know how to put up my first query!..anyway after installing REDHAT linux AS4 . i m facing continious problems in configuring apache server...
whenever i m viewing my page in browser...it displays APACHE test page!!!!
help me pls...i m set all the path correctly of document root ...thanks in advance
Make a point in future of not asking new questions in existing lists, because it gets everything confused. You can simply start a new post. You select the relevant forum from the toolbar under the penguins and you should see an option to start a new thread.
Now, do you have a file called index.html in your documentroot directory? To be safe, make sure there isn't another file with a similar name there.
have you configured this apache through webmin or simply extracted from rpm package any thing it may just check that index.html which may be in other keyrings that is case sensitive "/var/www/html/index.html" but in linux it take default extension as index.htm better you can try with index.htm
even i have changed my configuration file by overwriting the orignal one..still the same problem..no case sensitive issue yet..everything is ok..do u think i need to reinstall AS4??
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.