Solved

xampp

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PHP Register global 21 87
AWS Advice on using WHM/cPanel 1 76
Generic Rule to Redirect and Rewrite URL using .htaccess 8 82
exchange 2010 turning off 3des ciphers 2 195
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

773 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