I have installed apache2, php and mysql server to my ubuntu 14.04 and was tested and everything is working as expected.
I have application created using codeigniter & was past developed on mac osx, so I create the following in order to run it on my ubuntu:
create new site configuration file inside sites-available named payroll-v1.conf like below:
<VirtualHost *:80>
ServerName payroll.v1
DocumentRoot /home/ahmed-saber/workspace/payroll-v1/
<Directory /home/ahmed-saber/workspace/payroll-v1/>
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>
adding the line below to etc/hosts
127.0.0.1 payroll.v1
although my application not working and always output 403 forbidden even if i trying to access any static html page for test