<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic spotlight_search results in &amp;quot;The requested URL was not found on this server.&amp;quot; Splunk behind reverse proxy in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/spotlight-search-results-in-quot-The-requested-URL-was-not-found/m-p/707369#M21183</link>
    <description>&lt;P&gt;Hello all, I have the following case:&lt;BR /&gt;Splunk accessible on &lt;A href="https://dh2.mydomain.com/sendemail931" target="_blank" rel="noopener"&gt;https://dh2.mydomain.com/sendemail931&lt;/A&gt; with "enable_spotlight_search = true" in &lt;STRONG&gt;web-features.conf.&lt;/STRONG&gt;&amp;nbsp;If I search for anything and a result/match is shown upon clicking I get "The requested URL was not found on this server.", because the &lt;STRONG&gt;root_endpoint&lt;/STRONG&gt; is being removed from the URL. Splunk is behind a reverse proxy (httpd) and an applicaiton load balancer. So upon clicking on the result, I'm being redirected to:&amp;nbsp;&lt;A href="https://dh2.mydomain.com/manager/launcher/admin/alert_actions/email?action=edit," target="_blank" rel="noopener"&gt;https://dh2.mydomain.com/manager/launcher/admin/alert_actions/email?action=edit,&lt;/A&gt;&amp;nbsp;but it should be&amp;nbsp;&amp;nbsp;&lt;A href="https://dh2.mydomain.com/manager/launcher/admin/alert_actions/email?action=edit," target="_blank" rel="noopener"&gt;https://dh2.mydomain.com/&lt;STRONG&gt;sendemail931&lt;/STRONG&gt;/en-US/manager/launcher/admin/alert_actions/email?action=edit&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dstoev_0-1734688970945.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/33921i466055AB4CC2DD2E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dstoev_0-1734688970945.png" alt="dstoev_0-1734688970945.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm pretty sure that the redirect is happening internally, because I cannot see any relevant logs on the apache.&lt;BR /&gt;&lt;BR /&gt;I've tried to add the following to the &lt;STRONG&gt;web.conf,&lt;/STRONG&gt; but the result is the same:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="java"&gt;tools.proxy.base = https://dh2.mydomain.com/sendemail931/
tools.proxy.on = true&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This is the only case were &lt;STRONG&gt;root_endpoint&lt;/STRONG&gt; is &lt;STRONG&gt;not&lt;/STRONG&gt; preserved.&lt;BR /&gt;&lt;BR /&gt;I've tried to reverse-engineer why this could happen and found that the request is handled by&amp;nbsp;&lt;STRONG&gt;common.min.js,&amp;nbsp;&lt;/STRONG&gt;I guess somewhere here:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;{title:(0,r._)("Alert actions"),id:"/servicesNS/nobody/search/data/ui/manager/alert_actions",description:(0,r._)("Review and manage available alert actions"),url:"/manager/".concat(e,"/alert_actions"),keywords:[]}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;+ here:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;{var o=m.default.getSettingById(r);if(void 0===o)return;return(0,b.default)(o.title,o.url,O.length),n=o.url,void(window.location.href=n)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Dec 2024 13:16:52 GMT</pubDate>
    <dc:creator>dstoev</dc:creator>
    <dc:date>2024-12-20T13:16:52Z</dc:date>
    <item>
      <title>spotlight_search results in "The requested URL was not found on this server." Splunk behind reverse proxy</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/spotlight-search-results-in-quot-The-requested-URL-was-not-found/m-p/707369#M21183</link>
      <description>&lt;P&gt;Hello all, I have the following case:&lt;BR /&gt;Splunk accessible on &lt;A href="https://dh2.mydomain.com/sendemail931" target="_blank" rel="noopener"&gt;https://dh2.mydomain.com/sendemail931&lt;/A&gt; with "enable_spotlight_search = true" in &lt;STRONG&gt;web-features.conf.&lt;/STRONG&gt;&amp;nbsp;If I search for anything and a result/match is shown upon clicking I get "The requested URL was not found on this server.", because the &lt;STRONG&gt;root_endpoint&lt;/STRONG&gt; is being removed from the URL. Splunk is behind a reverse proxy (httpd) and an applicaiton load balancer. So upon clicking on the result, I'm being redirected to:&amp;nbsp;&lt;A href="https://dh2.mydomain.com/manager/launcher/admin/alert_actions/email?action=edit," target="_blank" rel="noopener"&gt;https://dh2.mydomain.com/manager/launcher/admin/alert_actions/email?action=edit,&lt;/A&gt;&amp;nbsp;but it should be&amp;nbsp;&amp;nbsp;&lt;A href="https://dh2.mydomain.com/manager/launcher/admin/alert_actions/email?action=edit," target="_blank" rel="noopener"&gt;https://dh2.mydomain.com/&lt;STRONG&gt;sendemail931&lt;/STRONG&gt;/en-US/manager/launcher/admin/alert_actions/email?action=edit&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dstoev_0-1734688970945.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/33921i466055AB4CC2DD2E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dstoev_0-1734688970945.png" alt="dstoev_0-1734688970945.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm pretty sure that the redirect is happening internally, because I cannot see any relevant logs on the apache.&lt;BR /&gt;&lt;BR /&gt;I've tried to add the following to the &lt;STRONG&gt;web.conf,&lt;/STRONG&gt; but the result is the same:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="java"&gt;tools.proxy.base = https://dh2.mydomain.com/sendemail931/
tools.proxy.on = true&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This is the only case were &lt;STRONG&gt;root_endpoint&lt;/STRONG&gt; is &lt;STRONG&gt;not&lt;/STRONG&gt; preserved.&lt;BR /&gt;&lt;BR /&gt;I've tried to reverse-engineer why this could happen and found that the request is handled by&amp;nbsp;&lt;STRONG&gt;common.min.js,&amp;nbsp;&lt;/STRONG&gt;I guess somewhere here:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;{title:(0,r._)("Alert actions"),id:"/servicesNS/nobody/search/data/ui/manager/alert_actions",description:(0,r._)("Review and manage available alert actions"),url:"/manager/".concat(e,"/alert_actions"),keywords:[]}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;+ here:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;{var o=m.default.getSettingById(r);if(void 0===o)return;return(0,b.default)(o.title,o.url,O.length),n=o.url,void(window.location.href=n)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2024 13:16:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/spotlight-search-results-in-quot-The-requested-URL-was-not-found/m-p/707369#M21183</guid>
      <dc:creator>dstoev</dc:creator>
      <dc:date>2024-12-20T13:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: spotlight_search results in "The requested URL was not found on this server." Splunk behind reverse proxy</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/spotlight-search-results-in-quot-The-requested-URL-was-not-found/m-p/747391#M22341</link>
      <description>&lt;P&gt;This is the official reply from the Splunk team:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"The Splunk team was reported with the similar issue "search settings" in 'settings' doesn't work - Page not found error" just few months before you reported the issue. Whereas the issue was with a different version and not with the Europium instance. The bug was fixed for the upcoming versions but not for the europium release.

The Splunk team was able to reproduce the issue, but only without the proxy. Due to some limitations, the team was not able to reproduce the issue with respect to the proxy. Hence, the developer required additional details to find the cause for the bug as the developer doesn't have the access to your stack.

The bug was reported and fixed recently. Hence, the issue is not mentioned over any of the release notes. Currently, we do not have any ETA regarding this issue to be documented for affected versions (9.2.x,9.3.x and 9.4.x)."&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 03 Jun 2025 11:12:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/spotlight-search-results-in-quot-The-requested-URL-was-not-found/m-p/747391#M22341</guid>
      <dc:creator>dstoev</dc:creator>
      <dc:date>2025-06-03T11:12:44Z</dc:date>
    </item>
  </channel>
</rss>

