One approach is to use redirection. If your root is in some/other/folder , you can create a top-level index.html like this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Redirecting</title> <meta http-equiv="REFRESH" content="0;url=some/other/folder"> </head> <body> <center> Redirecting to the real root folder. </center> </body> </html>
Obviously, you do not need to include anything between the <body> and </body> tags.
The only drawback is that additional directory names will be displayed as part of the URL in the browser. But if the path is long, you can shorten it with a symbolic link.
Neil steiner
source share