Security

Is my httpd.conf proxy configuration for SplunkJS correct?

subbu_y
Engager

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.

httpd.conf :

 #ProxyPreserveHost On
ProxyPass /proxy http://localhost:8000
ProxyPassReverse /proxy http://localhost:8000

test_login.html
splunkjs.config({
        proxyPath: '/proxy',
        scheme: 'http',
        host: 'localhost',
        port: 8080,
        authenticate: {username: '*****', password: '******'}
    });

Are the configurations correct?

0 Karma
1 Solution

subbu_y
Engager

finally gaveup on proxy . But it is now working with CORS.
But again if I use jssdk it cannot work without proxy ?!

View solution in original post

0 Karma

subbu_y
Engager

finally gaveup on proxy . But it is now working with CORS.
But again if I use jssdk it cannot work without proxy ?!

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...