Mobile app version of vmapp.org
Login or Join
Phylliss660

: What will occur depends on how you have setup your web server. A web server may be setup to display an index page - that is a page that is displayed when a directory is accessed. In this

@Phylliss660

What will occur depends on how you have setup your web server.

A web server may be setup to display an index page - that is a page that is displayed when a directory is accessed. In this case, the server will typically try all the files listed (e.g. index.htm, index.html, index.php, etc) in the order listed, and display the first one that is available, or an error if none are available. While 'index.*' is commonly used, it is not required. Web servers typically allow you to specify the index file, and will load the corresponding file.

Alternatively, your web server could be setup to display the content of a directory - in this case, it will not serve the index page, but rather a listing of all the files in the directory.

Of course, your server could be setup to do something completely different, such as redirect the user to a specific page or another site.

You should be able to check your access (and error) logs to determine what exactly occurs for your particular scenario.

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Phylliss660

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme