... | ... | @@ -41,11 +41,11 @@ Add `vhost` directory directive in `/etc/httpd/conf.d/staging.digitec.io.conf`. |
|
|
|
|
|
```apache.conf
|
|
|
|
|
|
# Begin {org} Block
|
|
|
# Begin {Org} Block
|
|
|
# ---------------------------------------------------
|
|
|
<Directory "/www/staging.digitec.io/disney">
|
|
|
<Directory "/www/staging.digitec.io/{org}">
|
|
|
AuthType Basic
|
|
|
AuthName "Digitec RHS-1 Staging Server - Disney"
|
|
|
AuthName "Digitec RHS-1 Staging Server - {Org}"
|
|
|
AuthUserFile /etc/httpd/secure/staging.digitec.io/disney.htpasswd
|
|
|
Require valid-user
|
|
|
<FilesMatch "\.(mp4|flv|webm|ogg|pdf)$">
|
... | ... | @@ -58,8 +58,7 @@ Add `vhost` directory directive in `/etc/httpd/conf.d/staging.digitec.io.conf`. |
|
|
|
|
|
```
|
|
|
|
|
|
#### Add Password Protection to New `vhost` Entry
|
|
|
|
|
|
Add password protection to new vhost entry
|
|
|
|
|
|
htpasswwd
|
|
|
|