Is it possible to exclude certain paths from a location?
# first location
<Location /folder1>
# second location
<Location /folder1/folder2>
Locations are merged and this causes problems for my configuration.
What I want to achieve is that the first or the second Location is used to prevent merging.
Can I do this using LocationMatch?
Maybe this:
(taken more or less from LocationMatch to allow a main url excluding specific sub folder )
# first location
<LocationMatch ^/folder1/(?!folder2).*>
# second location
<Location /folder1/folder2>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.