I need to run apache as root ( I know this is unadvised but I need to since this is a test server and I don't really care for security).
I have edited the following in httpd.conf:
export APACHE_RUN_USER=root export APACHE_RUN_GROUP=root
When I restart apache I get the error:
Apache has not been designed to serve pages while running as root. There are known race conditions that will allow any local user to read any file on the system. If you still desire to serve pages as root then add -DBIG_SECURITY_HOLE to the CFLAGS env variable and then rebuild the server. It is strongly suggested that you instead modify the User directive in your httpd.conf file to list a non-root user.
httpd (pid 28449) already running
I need to know how to rebuild the server, I cant find the ./configure script since I used yum install httpd on centos.
If I can get directions on how to do this I'd really appreciate it!