This article was reproduced from: http://hotsunshine.iteye.com/blog/857485Using Javax.activation.MimetypesFileTypeMapNeed to introduce Activation.jar this jar package, he can get http://java.sun.com/products/javabeans/glasgow/jaf.html from this
A well-written CSS file is not loaded using IE, but it can be displayed normally using a browser such as Firefox. Read this article Method 2 just know, use IE local directly open then call file protocol when the CSS does not load, put the written
To obtain the mime type of the file below php5.3.0, the general method is to use the mime_content_type () method, but this method is outdated, so it is best to use fileinfo instead. I am using a windows environment. The following describes the
To obtain the mime type of the file below php5.3.0, the general method is to use the mime_content_type () method, but this method is outdated, so it is best to use fileinfo instead. I am using a windows environment. The following describes the
This article mainly introduces how to obtain the mime type of a file in php. The example analyzes various common techniques for obtaining the mime type of a file in php, which is of great practical value. For more information, see
This article
Configuration files control all aspects of the server, so you need to set these three files for normal operation of the server.
In addition to these three settings files, Apache uses the mime. types file to identify different files.For the
Apache server configuration overview (1)
The configuration file of the Apache server is located in the/usr/local/apache/conf/directory. Traditionally, three configuration files are used: httpd. conf, access. conf and srm. conf to configure the
A profile controls all aspects of the server, so the three files need to be set up to run the server properly.
In addition to these three settings files, Apache uses the Mime.types file to identify different files
The corresponding MIME type, the
Apache Operating mechanism Analysis:1. b/S Interactive processInteractive procedures for browsers (BROWSER) and servers (WEB server):1. The browser makes an HTTP request to the server (request).2, the server receives the browser request data, after
ServerRoot "/usr/local"
ServerRoot is used to specify the running directory of the daemon httpd, httpd will automatically change the current directory of the process to this directory after it is started, so if the file or directory specified in the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.