Hire a senior Perl / Python programmer today; download my up-to-date resume (PDF)
John Bokma MexIT
freelance Perl programmer

Comments: Password Protecting a single file with .htaccess

0 comments

Today I needed to password protect a single CGI program written in Perl using Basic authentication. I was, like most people, aware of how to protect an entire directory using the .htaccess file on an Apache HTTP server. But is there a way to password protect a single file in the cgi-bin directory? The answer is yes.

Read the rest of Password Protecting a single file with .htaccess.

Post a comment

Note that your comment doesn't show up immediately. I review each comment before I add it to this site.

Check the Follow this page option if you want to receive an email each time a comment is posted to this page, including yours. A link to turn this option off will be included with each email.

Internet adresses will be converted automatically. You can use the following notation to specify anchor text for a link: [url=http://example.com/]example text[/url].