- Product: Aleph
- Product Version: 20, 21, 22, 23
- Relevant for Installation Type: Dedicated-Direct, Direct, Local, Total Care
A "403 forbidden" error occurs in Restful APIs.
Aleph 22 AIK creates default server.xml file that includes the line:
<Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="127\.0\.0\.1|10\.1\.49\.40"/>
This means that only local IPs are allowed. To allow access to all IPs, remove this line from $aleph_dev/ng/aleph/home/system/thirdparty/tomcat/conf/server.xml.
To allow specific IPs, add IPs to this file in Regular Expression.
- Article last edited: 15-May-2016