OSA has been upgraded from 6.0 to 7.0.
During the upgrade, a brand was migrated to a new host, dedicated for hosting brands, per the upgrade workflow procedures.
The brand hosted a protected page, served by Apache basic authentication module, e.g. a secured proxy-store web page https://brand.com/store.
<Directory "/usr/local/pem/vhosts/100001/webspace/httpsdocs/store"> Require valid-user AuthType basic AuthUserFile /usr/local/pem/vhosts/100001/webspace/pd/1 AuthName "Please provide user password" </Directory>
New configuration in
/etc/httpd/conf.d/brand_brand.com.conf does not include the same settings.
All customized Apache configuration for branded sites should be backed up and re-applied after the upgrade to 7.0, as the approach to hosting brands has been completely re-worked.
In order to restore the basic authentication for a particular page, e.g. brand.com/store, follow the steps below:
create store directory in the website root:
# mkdir /var/www/brands/brand.com/store
copy the file storing user passwords for Apache authentication from the original node, e.g.
/usr/local/pem/vhosts/100001/webspace/pd/1/.htpasswd, and save it as
/var/www/brands/mbntest.cb.nsc.no/store/.htaccessfile with the following content:
require valid-user AuthType basic AuthUserFile /var/www/brands/brand.com/store/.htpasswd AuthName "Please provide user password"