rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: Predictor on July 29, 2006, 03:43:36 AM

Title: How can I hide the root directory
Post by: Predictor on July 29, 2006, 03:43:36 AM
Does anyone how I can hide the fact that a webserver is running on the server by hiding the default purple page on the root directory?
Title: How can I hide the root directory
Post by: Predictor on July 29, 2006, 03:51:42 AM
So I actually mean how to remove the root.
Title: How can I hide the root directory
Post by: Predictor on July 29, 2006, 03:56:03 AM
To be clearer, I mean to have the root actually begin at a virtual folder like like http://255.255.255.255/newroot/ and that the real root doesn't expose anything
Title: How can I hide the root directory
Post by: rejetto on August 05, 2006, 04:07:55 PM
such hiding is impossible.
you can actually hide the root, but can't hide the webserver itself.
the reason is: the folder is specified only after the connection with the webserver is established.

to have a poor hiding, you can put an empty index.html file in the root, and set the default file mask to show it.