I'm trying to set up a web-server running phpBB for the 1st time on CentOS 5.6. I installed apache, php, & mysql with no problems. When I installed phpBB I got permission errors on the cache directory when I tried to access the bb for the 1st with a browser. phpBB is installed in account bb01 so the directory is /home/bb01/public_html/phpBB3. The ./cache directory is owned by bb01.bb01 and permissions is 770.

I changed permissions to 777 and it worked but the files within ./cache are owned by account apache, the account httpd runs under. What I want to know is how to make the files created in ./cache are owned by account bb01. I assume something has to be done in the httpd.conf file but I can't figure it out. Any help will be appreciated.