Solved

xampp

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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

831 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