I would like to restrict access to certain URLs with htpasswd files, rather than folders, is this possible? For example, I wish to restrict the URL:
But allow access to other URLs such as:
Is this possible? The "pages" part of the url refers to a pages.php file, and the "id" part is the function name in that file.
The reason for wanting to do this is because of migrating existing restrict lists, in the form of htpasswd files from another site.