Getting Data In

Web proxying with Splunk

PaulEscher
Explorer

Enabling web proxy via apache through splunk.

**I have configured the web.conf as such:** 
[settings] 
enableSplunkWebSSL = 0 
root_endpoint = /splunk 
[general] 
serverName = myserver 
trustedIP = 127.0.0.1

**and my apache.conf is as such:**
# proxy configuration 
ProxyRequests Off 
<Proxy *>   
Order deny,allow   
Allow from all 
</Proxy> 
ProxyPass /splunk/ http://www.myserver.com:8000/ 
ProxyPassReverse /splunk/ http://www.myserver.com:8000/

And I am unable to get everything working. Am I missing something simple?

With some settings I can get the login, but the CSS's are not coming in, and in other configurations I get the login (with the CSS's), but then I get a login error during submittal.

Any suggetions welcome.

My goal is to use https://www.myservername.com/splunk/ to replace http://www.myservername.com:8000/splunk/

Thanks.

Paul

Tags (1)
1 Solution

ziegfried
Influencer

The proxy-pass should look like this:

ProxyPass /splunk http://www.myserver.com:8000/splunk
ProxyPassReverse /splunk http://www.myserver.com:8000/splunk

View solution in original post

0 Karma

ziegfried
Influencer

The proxy-pass should look like this:

ProxyPass /splunk http://www.myserver.com:8000/splunk
ProxyPassReverse /splunk http://www.myserver.com:8000/splunk
0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...