How to address the htaccess file in custom php script in cyberpanel host?

I have custom php script that wont work in cyberpanel but its work fine on cpanel

I want to know how address should I use for this htaccess code?

AuthType Basic
AuthName "Dashboard Login"
AuthUserFile C:\xampp\htdocs\dashboard\admin\.htpasswd
require valid-user