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 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

Change status to:
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2006-12-07 - WillDeng
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.