Forum Moderators: mack
Because this file needs to be accessed and written to by the Password
Management script the owner must be the Apache user that the script will
run as. For example if your Apache username is apache:
chown /var/www/files/.htpassword apache
what is the apache username. When I use my cpanel username, I get "invalid user" error.
Step 6: Apache Configuration. Finally you need to verify that Apache's
configuration is ready to support this feature. Look in your Apache
configuration file, httpd.conf, for the following (where /var/www/html is
your own document root):
<Directory "/var/www/html">
A few lines below this entry, find the line:
AllowOverride None
Change this to:
AllowOverride AuthConfig.
After you have saved your changes you need to restart Apache for the new
configuration to take effect.
there's no way to guess it really. If you have command line access, you can type in:
ps aux¦grep http
or
ps aux¦grep apache
and you should be able to guess the username from the results.
if not, and your paypal integration will allow trial and error, try the first two names above.
For the last two, sorry, I don't know cpanel. Look for something like 'system processes' or something. Maybe you don't even have access to apache reboot on cpanel - that would be system wide and would be impolite on a shared server. In which case your host needs to do that.