It can list one or more files that Apache should search for in the directory, with the first existing file being returned to the client. This is configured with the DirectoryIndex directive. When a directory is requested, Apache may be configured to send a particular file within that directory automatically. If UseCanonicalName is on, then you need to assure that ServerName is set correctly in order for this redirect to work. Normally, when UseCanonicalName is set off, the name supplied by the client in the Host HTTP request header is used. This is necessary so relative hyperlinks will work in the resulting file.įor this to work, Apache must know the name of the server so that it can send a redirect back to itself. Local search and discovery community Hubbiz is another free U.S. rather than ), then Apache must send a redirect to add the trailing slash to the URL. is an online business and service listing directory that allows you to submit your business information for free. If you request a directory without including the trailing slash in its name (i.e. Here we describe various types of things that the server can send when you request a directory rather than an individual file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |