?
Solved

Apache question

Posted on 2015-02-15
1
Medium Priority
?
75 Views
Last Modified: 2015-02-28
when i type the URL i am getting index.php page loaded.

I have to type http://ip-address/index.html to go to the main page every time

what i need to change in Apache configuration to get this working.

Currently i noticed my setting as follows

#DirectoryIndex index.html index.htm index.php
DirectoryIndex index.html
0
Comment
Question by:linuxperson
[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
1 Comment
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 2000 total points
ID: 40611238
That should use 'index.html' as the default page instead of 'index.php'.  Have you restarted Apache since you made that change?  Apache only reads the configuration once when it starts.  In general, I suggest you only have one 'index' page in a directory.  Use a different name for the other files.
0

Featured Post

Industry Leaders: 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

This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.
Suggested Courses

777 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