Apache Reference Manual (5)

Source: Internet
Author: User
<FilesMatch>
Syntax: <filesmatch regex> ... </FilesMatch>
Context:server config, virtual host,. htaccess
Status:core
Compatibility:only available in Apache 1.3 and above.
The <FilesMatch> directive provides for access control by filename, just as the <Files> directive does. However, it accepts a regular expression. For example:
<filesmatch ". (gif|jpe?g|png) $ ">
Would match most common Internet graphics formats.
Also:how Directory, Location and Files sections work for a explanation of how to different sections are When a the request is received
--------------------------------------------------------------------------------
Group directive
Syntax:group Unix-group
Default:group #-1
Context:server Config, virtual host
Status:core
The group directive sets the group under which the server would answer requests. In order to use this directive, the stand-alone server must is run initially as root. Unix-group is one of:
A Group Name
Refers to the given group by name.
# followed by a group number.
Refers to a group by its number.
It is recommended this you set up a new group specifically for running the server. Some Admins use user Nobody, but the this are not always possible or desirable.
Note:if you start the server as a non-root user, it'll fail to the specified group, and'll instead continue To run as the group of the original user.
Special Note:use of this directive in <VirtualHost> requires a properly configured suexec. When used inside a <VirtualHost> in this manner, only the "group" CGIs are run as is affected. NON-CGI requests are still processed as the group specified in the main group directive.
Security:see User for a discussion to the security considerations.
--------------------------------------------------------------------------------

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.