Tags:
create new tag
, view all tags

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

TWiki version: TWikiRelease04x00x05
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: WindowsXP
Web server: Apache 3.0
Perl version: 5.0
Client OS:  
Web Browser:  
Categories: Security

-- WillDeng - 06 Dec 2006

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list 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

 
Change status to:
Topic revision: r4 - 2006-12-07 - WillDeng
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.