I have CGI-handled PHP server and basic authentication is not working since PHP_AUTH_USER returns empty string.
I've searched a lot and there was only one solution to this: using .htaccess
rewriterule.
The problem is I can't edit .htaccess
for some reasons. I want to know if there's a way to do the authentication without changing the htaccess file?