I've got a server that is running Linux Debian and have apache2 and php5 installed but I have no control over its apache configuration. If I create a .htaccess file on the server to do for instance a basic authentication on a directory it works. However if I want to use any extension to be executable as PHP such as file.abc with AddType it makes it downloadable. Although PHP extensions such as php1, php2, php3, php4, php5 and phtml are perfectly executable as PHP on this server.
My Question is If Basic Auth is working but any.ext cannot be executable as PHP does that mean AllowOverride is set to None? Then how basic Auth is working? And am I able to make any.ext executable as PHP on this server?