Jump to content
Wiki Home
EPrints Home
Bazaar
Files
Main menu
Main menu
move to sidebar
hide
Navigation
Front Page
EPrints 3 Manual
EPrints Training Course
EPrints Glossary
Installing EPrints
How-to Configure EPrints
EPrints 3.2+ API
EPrints 3 Reference
EPrints Plugins
Wiki
All categories
Recent changes
Main Page
Help
EPrints Documentation
Search
Search
Appearance
Log in
Request account
Personal tools
Log in
Request account
Pages for logged out editors
learn more
Contributions
Talk
Editing
Miscellaneous Config Options
(section)
Page
Discussion
British English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== L == * '''login_required_for_cgi''' ** '''enable''' - Whether users need to be logged in to access <code>/cgi/...</code> pages (<code>/cgi/users/...</code> pages always required being logged in). (Without a setting login is not required, set to <code>1</code> to enable). ** '''exceptions''' - Array reference of paths that are excluded from needing login. (Without a setting all CGI scripts require login, if <code>enabled</code> is set to <code>1</code>. This would cause a problem if your <code>login_required_url</code> is <code>/cgi/users/login</code> and therefore at least <code>users/login</code> should be added). * '''login_required_for_eprints''' ** '''enable''' - Whether users need to be logged in to access eprint abstract/summary pages. (Without a setting login is not required, set to <code>1</code> to enable). * '''login_required_for_static''' (EPrints 3.4.7+) ** '''enable''' - Whether users need to be logged in to access static pages (e.g. the homepage, information and help pages. etc.). (Without a setting login is not required, set to <code>1</code> to enable). ** '''exceptions''' - Array reference of paths that are excluded from needing login. (Without a setting all static require login, if <code>enabled</code> is set to <code>1</code>. All paths requires leading <code>/</code>. So information page would be <code>/information.html</code> and hompage would be just <code>/</code>. If some static pages are excepted, some of their resources will also need to be, e.g. <code>/favicon.ico</code>, <code>/images/.*</code> and <code>/style/images/.*</code>). * '''login_required_for_views''' ** '''enable''' - Whether users need to be logged in to access browse view pages. (Without a setting login is not required, set to <code>1</code> to enable). * '''login_required_url''' - URL for page to be redirected to if login is required. This is different to <code>get_login_url</code> as it is only applicable to pages that are affected by <code>login_required_for_cgi</code>, <code>login_required_for_eprints</code> and <code>login_required_for_views</code>. (Typically, this should be set to ths default login URL <code>/cgi/users/login</code>. If this is not set the pages will try redirecting to themselves and get stuck in a loop).
Summary:
Please note that all contributions to EPrints Documentation may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
EPrints Documentation:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)