Forum Moderators: mack

Message Too Old, No Replies

What is the Apache username.

Apacher system user.

         

mlalex

6:33 pm on May 2, 2005 (gmt 0)

10+ Year Member



I tried to configure my site for subscription payment through paypal I did everything fine till I got here.

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.

2. where will I find httpd.conf file in cpanel

After you have saved your changes you need to restart Apache for the new
configuration to take effect.

3. How do I restart apache server.

wheel

9:30 pm on May 2, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



the apache username could be anything - and is system dependent. Normally on a linux box it's one of something like 'apache', 'nobody', or 'noone'. I think the first two are common.

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.

mlalex

3:19 am on May 3, 2005 (gmt 0)

10+ Year Member



wheel, thanks for the reply.

I have sent a request to my host.