views:

135

answers:

3

Hi guys,

I decided to learn HTML so I installed apache on windows vista. Everything seems to work fine; when I go to http://localhost:8080 the sample webpage installed by apache shows. Apache is configured at port 8080.

So far so good. Since my DocumentRoot is c:\pub, I made another folder inside, e.g., c:\pub\test. What I'm trying to figure out is why the page at http://localhost/test:8080 cannot load? It has index.html and apache is working fine.

Any ideas?

+4  A: 

You are specifying port in the wrong location. The format is:

protocol://domain:port/path

So, try:

http://localhost:8080/test
Brenton Alker
I see. Thank guys. It works!
Princess Innah
A: 

The port goes right after the host: http://localhost:8080/test

Ignacio Vazquez-Abrams
Interesting. I'll admit that this is not the first time I got a downvote for a correct answer, but it is the first time I've gotten a downvote for an *obviously* correct answer.
Ignacio Vazquez-Abrams
A: 

try http://localhost:8080/test

Pierreten