After you install appserv in ubuntu and copy your project into /var/www you most change permission; otherwise this error will be ther:

Forbidden
You don't have permission to access on this server.
Apache/2.2.12 (Ubuntu) Server at localhost Port 80

To change permissions you just have to type this in a terminal:

sudo chmod -R 777 /var/www