Tags:
create new tag
view all tags

SID-00187: Control access to /twiki/pub without httpd.conf

Status: Answered Answered TWiki version: 4.2.0 Perl version: 5.008008 (linux)
Category: CategoryAccessControl Server OS: Linux 2.6.18-53.1.14.el5pae Last update: 16 years ago

My hosting provider doesn't give me root access and therefore I can't make changes to httpd.conf.

Unrestricted access to /twiki/pub is not an option for my TWiki. I know it is possible to redirect /twiki/pub/ access to the viewfile script.

I copied the code described in the doc to a .htaccess file but this did'nt work as alias and scriptalias can't be used in this context.

Is there any other way I could control access to /twiki/pub/ using only a .htaccess file and still use the TWiki authentication system. If possible, I would like to avoid using Apache's basic authentication.

-- GregoireLeclair - 12 Mar 2009

Discussion and Answer

Securing attachments is described at TWikiAccessControl. Without root access I see no way to secure the attachments. Look into changing your hosting provider.

-- PeterThoeny - 13 Mar 2009

      Change status to:
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.
SupportForm
Status Answered
Title Control access to /twiki/pub without httpd.conf
SupportCategory CategoryAccessControl
TWiki version 4.2.0
Server OS Linux 2.6.18-53.1.14.el5pae
Web server Apache/1.3.33
Perl version 5.008008 (linux)
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2009-03-13 - PeterThoeny
 
  • 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.