Tech List

[index] [prev] [next] [options] [help]
See the Mailing Lists Page for how to subscribe and unsubscribe.

eprints_tech messages

Please note: this page shows emails that have been sent to the eprints_tech mailing list. Some of these may be spam emails we have failed to filter.

[EP-tech] Restricting Creation of Accounts

From: Francis Jayakanth <franc AT ncsi.iisc.ernet.in>
Date: Fri, 26 Sep 2008 15:32:20 +0530 (IST)


Threading:      • This Message
             Re: [EP-tech] Restricting Creation of Accounts from arnoud.jippes AT gmail.com
             Re: [EP-tech] Restricting Creation of Accounts from franc AT ncsi.iisc.ernet.in
             RE: [EP-tech] Restricting Creation of Accounts from J.Salter AT leeds.ac.uk
             [EP-tech] Re: Restricting Creation of Accounts from franc AT ncsi.iisc.ernet.in

*** 
http://www.eprints.org/tech.php/id/%3CEMEW-k8PAfJa91478b8456470c104fbffda2df946ac-Pine.LNX.4.64.0809261459530.10345%40ncsi.iisc.ernet.in%3E
*** EPrints community wiki - http://wiki.eprints.org/

For our repository, we want to restrict creation of user accounts only to 
requests coming from the machines on our Intranet. I have been trying to 
implement this by inserting the <Files> Directive in the 
'auto-apache.conf' file, but so far I have not been successful. I would 
appreciate if somebody can let me know the right approach to implement 
this feature.

The location of 'auto-apache.conf is:

/opt/eprints3/archives/ArchiveID/var

The 'auto-apache.conf' file  already has the following entries:

<Directory "/opt/eprints3/cgi">
     SetHandler perl-script
     PerlHandler ModPerl::Registry
     PerlSendHeader Off
     Options ExecCGI FollowSymLinks
</Directory>

I have introduced the <Files> directive and the <Directory> entry 
now 
reads as below:

<Directory "/opt/eprints3/cgi">
     SetHandler perl-script
     PerlHandler ModPerl::Registry
     PerlSendHeader Off
     Options ExecCGI FollowSymLinks
     <Files  "register">
      Order deny,allow
      Deny from all
      Allow from 10.0.0
     </Files>
</Directory>

Introducing the <Files> directive in the main apache configuration file 
has also not helped. We are using Apache 2.2.4 and Eprints 3.1

Thanks very much for your attention.

  - Francis

NCSI, IISc
Bengaluru, India

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


[index] [prev] [next] [options] [help]