nginx htpasswd directory h5ai don't show my files

I use h5ai (0.28.1) https://larsjung.de/h5ai/ ubuntu server 16.04, nginx1.11.3, php7-fpm

h5ai setup directory = /var/webhard/_h5ai

I hope my directory protect to /var/webhard/test

my nginx .conf file code

server { listen 80; server_name localhost; server_name 192.168.1.100; server_name exid.download; root /var/webhard;

charset koi8-r;

access_log /var/log/nginx/log/host.access.log main;

location / { index /_h5ai/public/index.php; }

location ^~ /test { auth_basic "RESTRICTED ACCESS"; auth_basic_user_file /etc/nginx/passwd/.htpasswd; } I succeed protect test folder.

my h5ai website visit - h5ai - test folder click - id/passwd input >> test folder opened!!!

but, h5ai don't show my files. TT test folder not empty. (but my h5ai site don't show my files).

screen shots nginx htpasswd directory h5ai don't show my files

Replay

Category: server Time: 2016-07-31 Views: 0
Tags: php nginx server

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.169 (s). 12 q(s)