Re: how to basic auth by httpd

2017-05-17 Thread Tuyosi T
thaks for your kind and correct answer . # htpasswd /var/www/htpasswd.conf user-X Password: Retype Password: # chown www /var/www/htpasswd.conf # chmod 600 /var/www/htpasswd.conf again # /etc/httpd.conf ext_addr="*" server "default" { listen on * port 80 authenticate "secure a

Re: how to basic auth by httpd

2017-05-17 Thread Wiremu Demchick
You'll find what you need to add here: http://man.openbsd.org/httpd.conf.5#SERVERS So, for example, you might have in your configuration: server "default" { listen on * port 80 authenticate "secure area" with "/htpasswd.conf" } You then need to setup the htpasswd.conf

Re: how to basic auth by httpd

2017-05-17 Thread Tuyosi T
thx demchick . my /etc/httpd.conf is very simple . - ext_addr="*" server "default" { listen on $ext_addr port 80 } -- regards

Re: how to basic auth by httpd

2017-05-17 Thread Wiremu Demchick
Tēnā koe, Would be helpful if you could post your httpd.conf file. Also, you may wish to consider posting to the misc@ group for this issue, as I doubt it is ARM-specific. But, they will definitely want to see your config file. Best regards On 5/18/17, Tuyosi T wrote: > Hi all . > > i set up

how to basic auth by httpd

2017-05-17 Thread Tuyosi T
Hi all . i set up sshd server & www server by raspberry pi 3 . it is difficult to use nginx , so i use httpd (openbsd's default www server) . but i cannot setup basic auth . please show some hints . --- regards http://openbsd-akita.blogspot.jp/2017/05/arm-server.html http://openbsd-akita.blogsp