dslreports logo
 
    All Forums Hot Topics Gallery
spc
Search similar:


uniqs
813
Gabyhd
join:2014-01-29

Gabyhd

Member

[dedicated] Apache help

Steps to run Apache under a specific account?

GILXA1226
MVM
join:2000-12-29
Dayton, OH

1 recommendation

GILXA1226

MVM

Can you elaborate? On most systems Apache already runs as the apache user. Do you need to switch the user it runs on? What kind of server are we dealing with? Have you tried reading the apache documentation?
LittleBill
join:2013-05-24

1 recommendation

LittleBill to Gabyhd

Member

to Gabyhd
what os?

openvz_ca
join:2008-12-13
canada

openvz_ca to Gabyhd

Member

to Gabyhd
On CentOS:

vim /etc/httpd/conf/httpd.conf

Around line ~240

You'll see this:

User apache
Group apache

Edit to your preferred user. Just ensure they have proper permissions to read and execute files in your web root.