Difference between revisions of "Login-Only Repository"

From EPrints Documentation
Jump to: navigation, search
 
Line 1: Line 1:
 
  (move index.xpage to home.xpage, add this to vhost)
 
  (move index.xpage to home.xpage, add this to vhost)
In [[/archives/ARCHIVEID/cfg/lang/en/static/]] rename index.xpage to home.xpage
+
In [[archives/ARCHIVEID/cfg/lang/en/static/]] rename index.xpage to home.xpage
  
 
Run generate_static
 
Run generate_static
  
Add this to [[/archives/ARCHIVEID/cfg/]]apachevhost.conf (use your site URL in the last bit)
+
Add this to [[archives/ARCHIVEID/cfg/]]apachevhost.conf (use your site URL in the last bit)
  
 
   <Location "">
 
   <Location "">

Revision as of 12:38, 10 January 2007

(move index.xpage to home.xpage, add this to vhost)

In archives/ARCHIVEID/cfg/lang/en/static/ rename index.xpage to home.xpage

Run generate_static

Add this to archives/ARCHIVEID/cfg/apachevhost.conf (use your site URL in the last bit)

 <Location "">
   AuthName "Documents Area"
   AuthType "Basic"
   PerlAuthenHandler EPrints::Apache::Auth::authen
   PerlAuthzHandler EPrints::Apache::Auth::authz
   require valid-user
   AuthName "Documents Area"
 </Location>
 <Directory "/opt/eprints3/archives/mbi/html/en/images">
   order allow,deny
   allow from all
   satisfy any
 </Directory>
 <Directory "/opt/eprints3/archives/mbi/html/en/style">
   order allow,deny
   allow from all
   satisfy any
 </Directory>
 <LocationMatch "^/$">
   Redirect / http://mbiprints.ecs.soton.ac.uk/cgi/users/login?target=/home.html
 </LocationMatch>

Restart apache.