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.

Re: [EP-tech] Restricting Creation of Accounts

From: "Arnoud Jippes" <arnoud.jippes AT gmail.com>
Date: Thu, 16 Oct 2008 14:54:19 +0200


Threading: [EP-tech] Restricting Creation of Accounts from franc AT ncsi.iisc.ernet.in
      • This Message

*** 
http://www.eprints.org/tech.php/id/%3C34673cab0810160554t6c9e1c5bg5fc862048a2059ce%40mail.gmail.com%3E
*** EPrints community wiki - http://wiki.eprints.org/

Did you find a solution Francis?

I would like to restrict /cgi/user to our intranet by ip ranges, but
the perl handler seems to override my deny all en allow from?

Thanks,

  Arnoud.

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