<% local uci = require("luci.model.uci").cursor() local json = require("luci.jsonc") local header_rules_data = uci:get("ua3f", "main", "header_rewrite") or "[]" local body_rules_data = uci:get("ua3f", "main", "body_rewrite") or "[]" local url_redirect_rules_data = uci:get("ua3f", "main", "url_redirect") or "[]" %>
<%:Header Rewrite%>
<%:Rewrite HTTP Request and Response Headers%>
<%:Enabled%> <%:Index%> <%:Type%> <%:Match Value%> <%:Action%> <%:Actions%>
<%:Body Rewrite%>
<%:Rewrite HTTP Request and Response Body%>
<%:Enabled%> <%:Index%> <%:Type%> <%:Match Value%> <%:Action%> <%:Actions%>
<%:URL Redirect%>
<%:Redirect HTTP Requests to Different URLs%>
<%:Enabled%> <%:Index%> <%:Type%> <%:Match Value%> <%:Action%> <%:Actions%>
<%:Rules will be matched and executed in order from top to bottom. Rewrite rules only take effect in rule mode. NFQUEUE mode is temporarily unavailable.%>