Solved

xampp

Posted on 2014-04-05
3
422 Views
Last Modified: 2014-04-05
I am using xampp on windows 7 ultimate - working perfectly well

I need to be able to tell the software to use the .html extension as well as the .php, .htm etc

If I type in the following in my web browser:
http://localhost/website/
If the index page is index.htm then it opens
if it is index.html it will not open automatically unless I use the full path:
http://localhost/website/index.html
0
Comment
Question by:doctorbill
[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 35

Accepted Solution

by:
Dan Craciun earned 500 total points
ID: 39980255
Go to XAMPP control panel, then click on Config->Apache(httpd.conf) on the Apache line.

Search for "DirectoryIndex". It should look like this:

DirectoryIndex index.php index.pl index.cgi index.asp index.shtml index.html index.htm

If index.html is not there (as I suspect), add it, save the file, then restart Apache (click on Stop then on Start).

HTH,
Dan
0
 

Author Closing Comment

by:doctorbill
ID: 39980293
solved
0
 
LVL 35

Expert Comment

by:Dan Craciun
ID: 39980296
Glad I could help!
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
What You Need to Know when Searching for a Webhost Provider
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

724 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