Anyone has done the passwd protect for the LAS? I tried to do so , but not success. Any hints?
This is what I did:
1) create a users (user, passwd) file using htpasswd, under /etc/httpd/conf/users
2) insert these lines in httpd.conf:
<Directory /home/yuy/las>where /home/yuy/las is the LAS directory I want to protected.
AddHandler cgi-script .pl
Options +ExecCGI
AuthName "LAS restricted data"
AuthType Basic
AuthUserFile /etc/httpd/conf/users
require user yuy
</Directory>
I got java exceptions when tried it.
additional question:
The httpd passwd protection is for apache service, not the servlet
service. Therefore, before the very end step of displaying data at LAS
when apache server is not touched yet, the passwd protection can not be
applied. Is that right? If so, is there a way to protect the servlet service?
Thanks,
--
(Bob) Yunyue YU
Code 971, Goddard Space Flight Center
Greenbelt, MD 20771
(301)614-6850 yuy@nemo.gsfc.nasa.gov