Softaculous


Topic : Retain PW Protected Directories on Update


Posted By: gPowerHost on May 20, 2013, 4:20 pm
If a user uses current cPanel functionality and sets up the admin area as a PW Protected Area, the PW protection is often wiped out in the upgrade process due to the .htaccess file being missing or not containing that code. Locking down the .htaccess with something like 400 or 404 permissions doesn't help either.

Not sure if this would be better handled by either keeping all current .htaccess by default (or if permissions are 400 or 404?) or searching for the occurrences of:
AuthType Basic
AuthName...
AuthUserFile ...
require valid-user

in a current .htaccess and ensuring that it remains.

Posted By: Brijesh on May 21, 2013, 7:18 am | Post: 1
Hi,

This happens when there is a .htaccess file in the default package of the script.

We will discuss this with our developers and see if we can add the functionality to retain the contents of the .htaccess file.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.