diff --git a/Repositories/otago_eprints/otago_eprints/cfg/apachevhost_src.conf b/Repositories/otago_eprints/otago_eprints/cfg/apachevhost_src.conf new file mode 100755 index 0000000..ae1ba0b --- /dev/null +++ b/Repositories/otago_eprints/otago_eprints/cfg/apachevhost_src.conf @@ -0,0 +1,19 @@ +# +# apachevhost.conf include file for otago_eprints +# +# If this file exists then it will not be over written by +# the generate_apacheconf command. +# +# Directives in this file are interpreted inside the virtualhost +# configuration for this archive. +# + + +# Prevent access to the registration page from computers not on the Otago +# campus network (IP address 139.80.x.x) + + Order Deny,Allow + Deny from All + Allow from 139.80.0.0/16 + ErrorDocument 403 /error403_register.html +