Solved

xampp

Posted on 2014-04-05
3
414 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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

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…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

920 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