我试图让这个 htaccess 代码工作:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^fld/(.*) http://example.com/fld/$1?proxy=http://example.com [P]
RewriteRule ^/?$ http://example.com/fld/app/cobra/847?remoteaddr=%{REMOTE_ADDR}&proxy=http://mydomain.com/customfolder [QSA,P]
</IfModule>
mod_rewrite 已启用,但有人告诉我 mod_proxy 在 Litespeed 上未启用/可用。
是否有 PHP 解决方法来运行它?
谢谢