We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
How can I create a restricted folder for a test environment
-
- Posts: 1
- Joined: Mon Jun 11, 2018 2:21 pm
- Os: CentOS 4x
- Web: apache + nginx
How can I create a restricted folder for a test environment
Hi,
I'd like to create a folder with restricted access (user + password), to install inside a test environment, so when I try to access to the test WP website inside that directory, I'll have to introduce username and password. How could I do it in Vestacp?
I'd like to create a folder with restricted access (user + password), to install inside a test environment, so when I try to access to the test WP website inside that directory, I'll have to introduce username and password. How could I do it in Vestacp?
-
- Support team
- Posts: 1111
- Joined: Tue Jul 30, 2013 10:18 pm
- Contact:
- Os: CentOS 6x
- Web: nginx + php-fpm
Re: How can I create a restricted folder for a test environment
You can't do this with Vesta but you can do this via console - create .htpasswd file with required user(s) and edit nginx config (or apache if you dont install nginx).