Tags:
create new tag
view all tags

Question

Hello, I configured twiki with .htaccess. I have two issues. FYI...I am able to restrict view page for the authentication but not configure page. I restricted the view page from lib/LocaSite.cfg, but wasn't able to restrict configure from there. 1. I am unable to restrict configure from the browser for the outside world. it is viewable to all the users, i want to restrict it by asking for authentication. how i can achieve it? - I have made the changes in .htaccess to restrict the files as "configure"


SetHandler cgi-script Order Deny,Allow Deny from all Allow from all Require user admin Satisfy Any
also the htpasswd is at the correct location. Whenever somebody access configure page it should ask for the authentication, so how I can accomplish?

2. I have redirected /var/html/index.html to view page using symlink but when I access my host in the browser http://www.teno.com it opens up the view script in the browser instead of going to the view page and asking for authentication as I have restricted view page as well. I also tried in the root in .htaccess with Redirect command but is not working. cd /var/www/html ln -s /var/www/cgi-bin/bin/view index.html

Any help would be highly appreciated

Environment

TWiki version: TWikiRelease04x02x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: CentoS 4.5
Web server: Apache 2.0
Perl version: 5.8
Client OS: Centos 4.5
Web Browser: Firefox
Categories: Htaccess

-- MubashirAnsari - 21 Feb 2008

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.

hello, i have resolved this. it was because i made a mistake in httpd.conf and due to some reason overwritten it disabling .htaccess. After enabling it again by replacing AllowOverride to All i was able to accomplish the security.. Thank you

-- MubashirAnsari - 24 Feb 2008

Change status to:
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2008-02-24 - MubashirAnsari
 
  • 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.