I am trying to set up HTTP basic auth for the Laravel app in apache `vhost` but it is not working.

It keeps asking for a password after each request made

This is my current `vhost` content for the site and at the moment it is not doing anything. Any help is appreciated

```
ServerAdmin admin@my-site.com
ServerName demo.my-site.com
ServerAlias www.my-site.com
DocumentRoot /var/www/demos/my-site/client/public

<Directory "/var/www/demos/my-site/client">
    Options +FollowSymLinks +MultiViews +Indexes
    AllowOverride All
    Order allow,deny
    Allow from all

    AuthType Basic
    AuthName "Protected Area! Please login!"
    AuthUserFile /var/www/.htpasswd
    Require valid-user
</Directory>

```