Redirect to Litespseed 403 page

#1
Hi,
I've written a strange IP detection script and if such IP is detected, is there a way to redirect to Litespeed 403 page? I want to make the impression that it happened on the server level, not on the PHP level. Any suggestions?

Regards,
Jaro
 

Pong

Administrator
Staff member
#2
it is your script and it should be on PHP level return. LSWS will detect it's own 403. You can not pretend to be server level 403. Every 403 will write to server error_log when server detected.
 
Top