<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[ACL with multi Action]]></title><description><![CDATA[<p dir="auto">Hi all, looking for some help getting some specific rules working</p>
<p dir="auto">in raw HA the config is</p>
<pre><code>frontend Threadfin
        bind                    *my ip*:34400 name *my ip*:34400
        bind                    *my int ip*:34400 name *my int ip*:34400
        mode                    http
        log                     global
        option                  http-keep-alive
        timeout client          30000
        acl                     http    var(txn.txnpath) -m sub -i images
        acl                     https   var(txn.txnpath) -m sub -i images
        http-request set-var(txn.txnpath) path
        http-request replace-value Host (.*):34400 \1:443
        http-request redirect location https://%[req.hdr(Host)]%[capture.req.uri]  if  https
        use_backend Threadfin_ipvANY  if  !http
</code></pre>
<p dir="auto">the issue is getting</p>
<pre><code>http-request replace-value Host (.*):34400 \1:443
http-request redirect location https://%[req.hdr(Host)]%[capture.req.uri]  if  https
</code></pre>
<p dir="auto">in to one rule, i can get the first line in just not the seccond<br />
<img src="/assets/uploads/files/1749126506590-1928ebd7-8bff-4b73-8d5a-f098a078d25e-image.png" alt="1928ebd7-8bff-4b73-8d5a-f098a078d25e-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.netgate.com/topic/197718/acl-with-multi-action</link><generator>RSS for Node</generator><lastBuildDate>Mon, 15 Jun 2026 08:05:41 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/197718.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 05 Jun 2025 12:28:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ACL with multi Action on Thu, 05 Jun 2025 13:05:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jonny190">@<bdi>jonny190</bdi></a> said in <a href="/post/1216829">ACL with multi Action</a>:</p>
<blockquote>
<p dir="auto">in to one rule, i can get the first line in just not the seccond</p>
</blockquote>
<p dir="auto">So add a second one.<br />
The original config has also two rule for what you want.</p>
<p dir="auto">BTW: the original rule looks a bit different than yours. It seems, to also replace the last octet of the IP.</p>
]]></description><link>https://forum.netgate.com/post/1216834</link><guid isPermaLink="true">https://forum.netgate.com/post/1216834</guid><dc:creator><![CDATA[viragomann]]></dc:creator><pubDate>Thu, 05 Jun 2025 13:05:12 GMT</pubDate></item></channel></rss>