所以我不明白从htaccess到hiawatha的转换是如何工作的。你能推荐一本好网站或一本好书来讨论这个话题吗?
我的问题是以下转换:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^((?s).*)$ index.php?_url=/$1 [QSA,L]htaccess
RequestURI exists Return
Match ^((?s).*)$ Rewrite /index.php?_url=/$1伊瓦塔
但是匹配重写声明是错误的..。
发布于 2015-10-15 13:31:16
hiawatha URL工具包的解决方案是:
RequestURI exists Return
Match ^/(.*) Rewrite /index.php?_url=/$1这会将所有内容重定向到index.php。例如,http://host/get/123重写到http://host/index.php?_url=/get/123
https://stackoverflow.com/questions/33103681
复制相似问题