if you want a command to set or configure your apache configuration for the working directory is very simple

all you have to do is use the following commmand

# httpd -d /home/web/html

in the above example command, we set the /home/web/html directory to the default working directory for the apache server