Sorry, I didn't get it.
First of all, I didn't use the -subfolder parameter to create a site, why I need -subfolder in my httpauth command?
To my original question, I just use following command to create site (no subfolder)
site httpauth.webinoly.tw -php
It would create an empty folder
/var/www/httpauth.webinoly.tw/htdocs
Now, I created a folder in the /htdocs and would like to protect it by command:
httpauth httpauth.webinoly.tw -path=/folder
Then, the error occurred:
[ERROR] Subfolder parameter not found!
Finally, I got the right command to fulfill my request:
httpauth httpauth.webinoly.tw -path=/folder -subfolder=/folder
It is a little bit confusing. Is that the correct way to protect the folder under /htdocs?
webinoly -version Webinoly version: 1.13.1
Current stack version: 1.5