"code from my home." i am thinking from your house
after read it again yeah maybe from /home/urfolder if it right , you need to setup VirtualHost
follow this way as example
//////in the shell///
adduser mike
su - mike
cd /home/mike
mkdir -p /home/mike/public_html/cgi-bin
mkdir -p /home/mike/logs
ln -s public_html www
chmod 755 public_html
chmod a+r public_html/*
cd /home/
chmod 711 mike
//////end in the shell///
//now edit your httpd.conf//
<VirtualHost *:80>
ServerName mike.server.com
ServerAdmin
mike@server.com
DocumentRoot /home/mike/www
TransferLog /home/mike/logs/access-log
ScriptAlias /cgi-bin/ /home/mike/www/cgi-bin/
</VirtualHost>
///end//////////////
to check your config correct or not execute this command in shell
apachectl configtest
hope this help so u can work from your home