![]() 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 version of Apache is our latest GA release of the new generation 2.4.x branch of Apache HTTPD and represents fifteen years of innovation by the project, and is recommended over all previous releases For details, see the Official Announcement and the CHANGES2.4 and CHANGES2.4.57 lists. 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. For example, dir /h will display hidden files. Dir alsos take special arguments to sort and select what kinds of files and folders are displayed. 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. Run dir in Command Prompt to list all of the files and folders in the current directory. rather than ), then Apache must send a redirect to add the trailing slash to the URL. 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 |