in reply to Password Protection for Web Page.
I run a password-protected Wiki clone under Apache, using something like the following .htaccess
Because the posting page is itself produced by a .CGI, and contains some magic stuff in hidden fields, I don't need to limit POST requests. Raw data pages are kept in a subdirectory. The .htaccess in that subdirectory readsOptions Includes ExecCGI AuthType Basic AuthName "Conference Forum" AuthUserFile /usr/home/dws/.htpasswd ErrorDocument 401 /aye/noauth.html <Files ~ "\.cgi$"> <Limit GET> require valid-user </Limit> </Files>
Order deny,allow Deny from all
|
|---|