Solved

xampp

Posted on 2014-04-05
3
413 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
  • 2
3 Comments
 
LVL 34

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 34

Expert Comment

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

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

708 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now