<?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 Is my httpd.conf proxy configuration for SplunkJS correct? in Security</title>
    <link>https://community.splunk.com/t5/Security/Is-my-httpd-conf-proxy-configuration-for-SplunkJS-correct/m-p/180019#M5331</link>
    <description>&lt;P&gt;We have enterprise installed on the same server running apache webserver. We also made the necessary configuration on webserver, but still cannot run the example test_login.html. Here is the configuration on httpd file. Splunk is running on port 8000.&lt;/P&gt;

&lt;P&gt;httpd.conf :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; #ProxyPreserveHost On
ProxyPass /proxy &lt;A href="http://localhost:8000" target="test_blank"&gt;http://localhost:8000&lt;/A&gt;
ProxyPassReverse /proxy &lt;A href="http://localhost:8000" target="test_blank"&gt;http://localhost:8000&lt;/A&gt;

test_login.html
splunkjs.config({
        proxyPath: '/proxy',
        scheme: 'http',
        host: 'localhost',
        port: 8080,
        authenticate: {username: '*****', password: '******'}
    });
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Are the configurations correct?&lt;/P&gt;</description>
    <pubDate>Thu, 19 Mar 2015 00:28:04 GMT</pubDate>
    <dc:creator>subbu_y</dc:creator>
    <dc:date>2015-03-19T00:28:04Z</dc:date>
    <item>
      <title>Is my httpd.conf proxy configuration for SplunkJS correct?</title>
      <link>https://community.splunk.com/t5/Security/Is-my-httpd-conf-proxy-configuration-for-SplunkJS-correct/m-p/180019#M5331</link>
      <description>&lt;P&gt;We have enterprise installed on the same server running apache webserver. We also made the necessary configuration on webserver, but still cannot run the example test_login.html. Here is the configuration on httpd file. Splunk is running on port 8000.&lt;/P&gt;

&lt;P&gt;httpd.conf :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; #ProxyPreserveHost On
ProxyPass /proxy &lt;A href="http://localhost:8000" target="test_blank"&gt;http://localhost:8000&lt;/A&gt;
ProxyPassReverse /proxy &lt;A href="http://localhost:8000" target="test_blank"&gt;http://localhost:8000&lt;/A&gt;

test_login.html
splunkjs.config({
        proxyPath: '/proxy',
        scheme: 'http',
        host: 'localhost',
        port: 8080,
        authenticate: {username: '*****', password: '******'}
    });
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Are the configurations correct?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2015 00:28:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Is-my-httpd-conf-proxy-configuration-for-SplunkJS-correct/m-p/180019#M5331</guid>
      <dc:creator>subbu_y</dc:creator>
      <dc:date>2015-03-19T00:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Is my httpd.conf proxy configuration for SplunkJS correct?</title>
      <link>https://community.splunk.com/t5/Security/Is-my-httpd-conf-proxy-configuration-for-SplunkJS-correct/m-p/180020#M5332</link>
      <description>&lt;P&gt;finally gaveup on proxy . But it is now working with CORS. &lt;BR /&gt;
But again if I use jssdk it cannot work without proxy ?!&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2015 20:51:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Is-my-httpd-conf-proxy-configuration-for-SplunkJS-correct/m-p/180020#M5332</guid>
      <dc:creator>subbu_y</dc:creator>
      <dc:date>2015-03-20T20:51:52Z</dc:date>
    </item>
  </channel>
</rss>

