Were the existing servers created on older OS's? IIRC, there were Apache changes made in 7.2 or 7.3.
-----Original Message-----
From: Dean Eshleman [mailto:Dean.Eshleman@xxxxxxxxxxxx]
Sent: Monday, July 10, 2017 10:32 AM
To: web400@xxxxxxxxxxxx
Subject: [WEB400] Apache log question
We have various web services served thru Apache(v2.4) and Websphere Application server (v8.5) on the IBM i. These web services are for internal use. We have implemented security on these web services using the <Location> directive and specifying the ip addresses of the servers that are allowed to call them. This has worked successfully for many years. This past week, we started to implement two new servers. I entered the ip addresses in the config file like normal to grant access to the web services they needed. They were receiving a 403 error (forbidden) and we couldn't figure out why. Then, we looked at the Apache log access log file and discovered that the server name was showing up in the log file instead of the ip address.
Ex.
10.4.0.99 - - [10/Jul/2017:09:31:36 -0400] "POST /GWInnovueWebInquiry/services/MyWebService1 HTTP/1.1"
Ntserver999.everence.com - - [10/Jul/2017:09:31:42 -0400] "POST /PVRateCalcWebInquiry/services/MyWebService2 HTTP/1.1"
The first line is what we are used to seeing. The second line is what started showing up for the new server. I added the server name to the Apache config file to give it access, but we are confused why the name would start showing up instead of the ip address. Anyone have any ideas?
Dean Eshleman
Software Development Architect
Everence
1110 North Main Street
PO Box 483
Goshen, IN 46527
(800) 348-7468 ext. 3528
(574) 533-9515 ext. 3528
everence.com<
http://www.everence.com/>
______________________________________________________________________
Confidentiality Notice: This information is intended only for the individual or entity named. If you are not the intended recipient, do not use or disclose this information. If you received this e-mail in error, please delete or otherwise destroy it and contact us at (800) 348-7468 so we can take steps to avoid such transmission errors in the future. Thank you.
As an Amazon Associate we earn from qualifying purchases.