Dans fichier
/etc/httpd/conf.d/private_hipscat.conf
:
# Protecting access to Gaia HiPS catalogue
<LocationMatch ".*HiPSCatService.*">
AuthName "Private HiPS catalogue service access"
AuthType Basic
AuthUserFile "/etc/httpd/conf/passwords/.private_hipscat_htpassword"
Require valid-user
</LocationMatch>
<LocationMatch ".*cds.service.hips.cat.*">
AuthName "Private HiPS catalogue service access"
AuthType Basic
AuthUserFile "/etc/httpd/conf/passwords/.private_hipscat_htpassword"
Require valid-user
</LocationMatch>
Génération password :
htpasswd -c /etc/httpd/conf/passwords/.private_hipscat_htpassword gaia
/etc/init.d/httpd reload
pour que la modif soit prise en compte
http://cdsxmatch3.u-strasbg.fr/HiPSCatService/hiplist
demande désormais un mot de passe
--
ThomasBoch - 2016-09-01