Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am having trouble with a web application; it works fine in the Visual Web Developer IDE, and not at all on the server. My plan is to run the application from the web browser without the IDE being involved by dropping it into the localhost directory and running it from the browser.

But I can't find where this directory is. Does anyone know how to find out?

share|improve this question
    
I'm assuming you want to find the local folder that is served through your HTTP server when you put localhost into your browser? If so, what HTTP server are you using? –  Oliver Salzburg Sep 14 '12 at 14:40
    
@OliverSalzburg, yes, that is correct, and I have no idea. Whatever comes as standard with Windows-XP, I would suspect. –  Brian Hooper Sep 14 '12 at 14:45
    
I'm assuming Visual Web Developer has an HTTP server built in. So when you're running your application, it runs inside of Visual Web Developer. Windows XP does not come with an HTTP server installed by default. You can run netstat -bn on the command line to see which process is listening on which port on your local machine. Maybe that'll allow you to dig deeper :) –  Oliver Salzburg Sep 14 '12 at 15:09
    
@OliverSalzburg, righto. Thanks for your help. –  Brian Hooper Sep 14 '12 at 15:11
add comment

1 Answer

up vote 1 down vote accepted

There is no such thing as a localhost directory by default. You first have to install a web server, and then drop your files in the directory that is specified in the configuration. The default for Apache is C:\Program Files\Apache Software Foundation\htdocs, for instance, but it completely depends on your configuration.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.