<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.sophos.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>URL redirect to an absolute URL (inc. query string)</title><link>https://community.sophos.com/utm-firewall/f/web-server-security/114089/url-redirect-to-an-absolute-url-inc-query-string</link><description>I&amp;#39;d like to use the Webserver Protection module to handle a very specific redirection. Basically, we&amp;#39;re in the process of preparing a multilingual site that will handle different domains internally, but until then I&amp;#39;d like to create a manual redirection</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: URL redirect to an absolute URL (inc. query string)</title><link>https://community.sophos.com/thread/410105?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2019 17:42:41 GMT</pubDate><guid isPermaLink="false">4be5eb7d-caa4-4ff5-8e60-8f9463545a35:0b98a52f-eb30-472f-8802-84f611754c36</guid><dc:creator>DouglasFoster</dc:creator><description>&lt;p&gt;Also, recent testing has shown that the reverseproxy.conf file is regenerated every time that you make a configuration change. &amp;nbsp; So it is not really a viable option to apply manual edits.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: URL redirect to an absolute URL (inc. query string)</title><link>https://community.sophos.com/thread/410093?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2019 16:16:25 GMT</pubDate><guid isPermaLink="false">4be5eb7d-caa4-4ff5-8e60-8f9463545a35:60ba6232-3126-4257-ae9c-1b7b48b8fe4a</guid><dc:creator>Jaydeep</dc:creator><description>&lt;p&gt;Thanks for the update.&lt;/p&gt;
&lt;p&gt;It looks like we have reached a limitation on the redirect configuration part. It wouldn&amp;#39;t accept&amp;nbsp;&lt;strong&gt;? &lt;/strong&gt;in a valid redirect path.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: URL redirect to an absolute URL (inc. query string)</title><link>https://community.sophos.com/thread/410072?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2019 15:05:18 GMT</pubDate><guid isPermaLink="false">4be5eb7d-caa4-4ff5-8e60-8f9463545a35:21f56fe7-476f-4e5e-9884-3adb1055f074</guid><dc:creator>Mateusz Bender</dc:creator><description>&lt;p&gt;I got the green light from support to try this, however the actual problem this was meant to solve was... already resolved (the target server was reconfigured to handle the domain names, and in the short interim I spun up an IIS server with a redirect).&lt;/p&gt;
&lt;p&gt;Still, since I got the green light I went ahead and tested the proposed solution on some test DNS names, and sadly, it didn&amp;#39;t work. It seemed as if my change in the configuration file wasn&amp;#39;t being used at all (the Sophos admin panel didn&amp;#39;t show the changed link and the redirection kept using the old link without the question mark). Perhaps some service needed to be restarted to re-load the file? Obviously any changes via the UI would overwrite the manual changes in the configuration file, so that&amp;#39;s a dud.&lt;/p&gt;
&lt;p&gt;Still, thank you for the suggestion.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: URL redirect to an absolute URL (inc. query string)</title><link>https://community.sophos.com/thread/409493?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2019 07:24:06 GMT</pubDate><guid isPermaLink="false">4be5eb7d-caa4-4ff5-8e60-8f9463545a35:7785607d-166d-4dbb-a12b-f9d3ff7d2bcc</guid><dc:creator>Mateusz Bender</dc:creator><description>&lt;p&gt;Thanks for the response. I&amp;#39;d try that, but we do have a Sophos licence, so as per your suggestion I&amp;#39;ll contact them first.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: URL redirect to an absolute URL (inc. query string)</title><link>https://community.sophos.com/thread/409481?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2019 05:02:45 GMT</pubDate><guid isPermaLink="false">4be5eb7d-caa4-4ff5-8e60-8f9463545a35:edb95fc9-9b9e-4554-9c20-ea18d916af29</guid><dc:creator>Jaydeep</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/mateusz-bender"&gt;Mateusz Bender&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;It won&amp;#39;t be possible to do that from GUI options. However, you can modify the&amp;nbsp;&lt;strong&gt;/var/chroot-reverseproxy/usr/apache/conf/reverseproxy.conf&lt;/strong&gt; and the line&amp;nbsp;&lt;strong&gt;RedirectMatch&amp;nbsp;&lt;/strong&gt;to do this. First, configure the request redirect without &lt;strong&gt;?&amp;nbsp;&lt;/strong&gt;in the path and then modify the file and edit the line.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Note:&lt;/strong&gt; Please reach out to Sophos Support before trying this step if you have a licensed product. If you have a home license, feel free to try this as long as you are comfortable changing things back.&lt;br /&gt;&lt;br /&gt;Hope this helps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>