Issue with remote access to /status

#1
Hello,

according to documentation at: https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:config:real-time-stats
"Starting from 5.2.3, a new feature has been added to allow query from trusted IP set through Apache httpd.conf at server level"
After adding thoose exact lines to included configuration file (/etc/httpd/conf/httpd.conf) - its not working.
Load Apache Configuration Yes
Auto Reload On Changes (deprecated) Yes
Apache Binary Path Not Set
Apache Configuration File /etc/httpd/conf/httpd.conf

Currently im using version: 5.3.7 while localhost connections are working fine:
127.0.0.1 - "webadmin" [13/Jun/2019:09:16:54 +0200] "GET /status?rpt=detailHTTP/1.1" 200 95 "-" "curl/7.29.0"
Remote is returning access denied.
2019-06-13 10:01:23.151518 [INFO] [X.X.X.X:18605:HTTP2-1] [ACL] Access to context [/status] is denied!

Connections to anything beside /status from remote IP at port 7080 are also fine.

Please review this problem.

Regards,
 
Last edited by a moderator:
#2
Ok, its all about syntax, using LiteSpeed for short period of time kidna used to Apache and 'Apache style config' at doc made me make a mistake in syntax, was simply missing letter 'T' at the end, looks like all trusted networks are set like that in ls :)

Code:
<IfModule Litespeed>
allow from 192.168.1.1T
</IfModule>
And all is working great!
 
Last edited by a moderator:
Top