试图帮助朋友让他的 ProcessWire 站点正常运行。htacess 中有这样一行:
# PW-PAGENAME
# -----------------------------------------------------------------------------------------------
# 16A. Ensure that the URL follows the name-format specification required by PW
# See also directive 16b below, you should choose and use either 16a or 16b.
# -----------------------------------------------------------------------------------------------
RewriteCond %{REQUEST_URI} "^/~?[-_.a-zA-Z0-9/]*$"
他想从该单个特定条件中排除特定目录“/images/”,然后继续处理其他条件。
我尝试了很多不同的东西,但都没有奏效,但它似乎应该很简单,我应该知道该怎么做:-) 但我一辈子都想不通。
任何帮助将非常感激!