[greenstone-users] Controlling access to the gsdl site

From Azael Barrera, Ph.D.
DateSat, 05 Jun 2004 13:57:33 -0500
Subject [greenstone-users] Controlling access to the gsdl site
In-Reply-To (000c01c44aff$1867fac0$59a2d2aa-unsj-edu-ar)
One question on controlling access to the Greenstone site:

I read some postings last year that to control access to collections one
may have to change the c++ code to change aspects of a particular mycol.
Now I have had problems compiling gsdl 2.50 with my RedHat Linux 9w/apache
so I prefer to find a simpler solution. (btw, older 2.40a compiled with RHL 8).

Q.  How do I control by password the access to the site, say
      http://mysite/gdsl/cgi-bin/library
      The user sould be prompted for a username/password combination once
      browser access the site.

      If I had to use apache options, in the .htaccess file I must add lines,
      likes the one suggested generically in apache.org?:

        Options +ExecCGI
        AddHandler cgi-script cgi pl
  
      I understand that for this directive to work I must first add in httpd.conf file
      the following
           AllowOverride Options
      plus
         AllowOverride AuthConfig
 
     if one is going to use basic authentication.  Is it needed in this case?
     
      Then, how changes will be made best in the case of gsdl/cgi-bin/library?

   Where and how should I add the AllowOverride directive, in the Alias part that
      was added at install (eg., AllowOverride None)?

      I appreciate all suggestions.



****************************************************************************************
Azael Barrera, Ph.D.                            barreraal@cwpanama.net
Professor -
ICT Technology Transfer and Capacity Building
****************************************************************************************