Welcome to WebmasterWorld Guest from 18.104.22.168
AuthName Authorized User
This returns a 403 error at the point I want the user/passwd request to come up. This pop.php file is only read to display the content I want to restrict. the pop.php file is called using href with arguments from another file called catalogue.php
How do I get the user/passwd to display? Any help much appreciated.
Two things to check:
The AuthUserFile path doesn't look right. It is usually a full path from root (/) to the file, like
Also, you can cut the problem in half... Make a simple html page protected by your password-related code, and use that to get authorization working without all the complexities of actually running the script. Once that works, change the <Files> directive to protect the script instead.