Solved

Apache Server: Default File

Posted on 2000-03-21
3
262 Views
Last Modified: 2010-04-20
I installed Apache server and it is working.  I just wanted to change the default file from index.html.en to something else but I can not find it.  I looked at /www/conf/httpd.conf and it does not point to a file just to the directory which is /www/htdocs.  I also looked at the srm.conf and it just has comments.  What do I need to do?
0
Comment
Question by:wchance
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
dserna earned 25 total points
ID: 2641695
There is a directive called DirectoryIndex inside of the httpd.conf which you can change. The default value is index.html. So, just edit your httpd.conf and look for a line that says:

DirectoryIndex index.html

Change the index.html to what you want, save your changes and restart apache.

That should do it.

Hope that helps.
0
 

Author Comment

by:wchance
ID: 2641795
I have a question, when I look in the directory they are a few files that say index.html.en, index.html.es, index.html.xx how does it know to go to index.html.en?
0
 
LVL 1

Expert Comment

by:dserna
ID: 2642073
It knows to go use index.html.en because of the directive in the httpd.conf that I mentioned above. Most likely the DirectoryIndex directive is set to index.html.en

0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question