Accidentally replaced index.html in htdocs

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Accidentally replaced index.html in htdocs

Postby jmalmsten » 12. February 2014 03:03

almost brand new to the whole running my own server gig (excepting of course those courses for php-coding I went through about 10 years ago or so).

I Installed XAMPP 1.8.3-2-VC11... Everything went absolutely swimmingly. Local host worked and everything. Then I went ahead and "installed" the WordPress files... ahem... I put installed in quotation-marks because for some reason I didnt extract the files correctly. So when I copied the files over to c:\xampp\htdocs I got a prompt going "Hey! There is already an INDEX.HTML in this directory. Are you SURE you want to replace it?" I was tired and a noob. So I clicked yes without realizing what that file was used for. :)


So now when I go to localhost in my browser I get the configuration-page for wordpress since the regular page is effectively deleted and replaced... I'm facepalming all the way to bed right now because of this mishap (it's 3AM workday over here) :x


So I'm wondering. It was only the index.html in the htdocs that was replaced. So the situation should be salveagable. But I need to find the regular stock- index.html that usually resides there. But is it available outside of the installer? Or else, I am looking at a complete re-install of the whole XAMPP-package I presume?


Well, again. I messed up. But at least I am fairly certain of where it went wrong and how I could fix it. If I only can get hold of that one file... Anyone have any directions I can follow to obtain it?
jmalmsten
 
Posts: 2
Joined: 12. February 2014 02:48
Operating System: Win 7 64 bit

Re: Accidentally replaced index.html in htdocs

Postby fhbc2003 » 12. February 2014 03:36

You didn't lose much. The entire file (with brackets substituted here for the greater/less than symbols) is:
[html][body][h1]It works![/h1][/body][/html]
fhbc2003
 
Posts: 3
Joined: 27. December 2013 23:05
Operating System: Windows 8.1

Re: Accidentally replaced index.html in htdocs

Postby jmalmsten » 12. February 2014 10:36

ok. Then I probably misread something in the instructions I am following ( http://www.adobe.com/devnet/dreamweaver/articles/setup_php.html if anyone is wondering). I'll go back to that and see what I find.
jmalmsten
 
Posts: 2
Joined: 12. February 2014 02:48
Operating System: Win 7 64 bit


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 210 guests