Question
I've already got my TWiki web up and running.How do I protect the configuration page from viewing for the public ? The password to make changes on the configuration age was already set up, but I want to protect it by allowing only administrators to access. Please help! Thanks!
Environment
--
WillDeng - 06 Dec 2006
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
put this into the bin/.htaccess
change localhost to your ip
<FilesMatch "configure.*">
SetHandler cgi-script
Order Deny,Allow
Deny from all
allow from localhost
</FilesMatch>
--
SteveStark - 06 Dec 2006
The alternative is to name a user in the .htpasswd file; example:
<FilesMatch "configure.*">
require user WillDeng
</FilesMatch>
--
PeterThoeny - 06 Dec 2006
It works! Thanks so much for the help!
--
WillDeng - 07 Dec 2006