Copyright © 2008-2018, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.
Date: 2018apr2 Product: Apache Q. How does Apache set the ContentType for files it sends? A. There is a line in conf.http:TypesConfig /etc/mime.typesWhich sends Apache to /etc/mine.types to find get ContentType based on file extension. eg:text/plain txtSo a .txt file gets:ContentType: text/plainIn the http header.
Add a commentSign in to add a comment