我有网址http://page/并且有htaccess
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !(.*)/$
RewriteRule ^(.*[^/])$ $1/ [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
但我的CMS需要没有slug的搜索网址,例如site.com/search?query =
如何编写自定义网址规则?
答案 0 :(得分:0)
您可以制定规则来忽略Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\TesetPyNet\bin\Debug\lib\ctypes\__init__.py", line 10, in <module>
from _ctypes import Union, Structure, Array
ImportError: DLL load failed: The specified module could not be found.
URI:
/search