Tags:
create new tag
, view all tags
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

Topic revision: r1 - 2016-09-01 - ThomasBoch
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback