Find hosted directories/ports in Jetty/Apache
- by Paul Creasey
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.