We use apache 2.2.4 and normally download the apache webserver source code and build it and it works fine.We have build in our development box with prefix=/home/userdir1 and it works fine.

In our production setup, when try to copy the apache folder under /home/userdir2 it gives following error

httpd: Could not open configuration file
/home/userdir1/apache2/conf/httpd.conf: Permission denied

but it we try to do in the /home/userdir1 it works fine

Can you help me how to resolve the same,