Find hosted directories/ports in Jetty/Apache

Posted by Paul Creasey on Server Fault See other posts from Server Fault or by Paul Creasey
Published on 2010-05-10T15:44:06Z Indexed on 2010/05/10 15:55 UTC
Read the original article Hit count: 229

Filed under:
|
|

Hi,

I first asked this on SO, but i didn't get a response and i think it is probably more appropriate here.

Let say I have a directory which is being hosted by Jetty or Apache (i'd like an answer for both), i know the URL including the port and i can log into the server.

How can i find the directory that is being hosted by a certain port?

I'd also like to go the other way, i have a folder on the server, which i know if being hosted, but i don't know the port so i can't find it in a web browser.

How can i find a list of directories that are being hosted?

This has been bugging me for ages but i've never bothered to ask before!

Thanks.

© Server Fault or respective owner

Related posts about apache

Related posts about jetty