Deploying web-application on apache2 server

18,409

Solution 1

move DemoWebApp into html folder and it should work

Solution 2

Set DocumentRoot in /etc/httpd/httpd.conf to /var/www or move DemoApp folder to /var/www/html

Share:
18,409
Sandeep Chatterjee
Author by

Sandeep Chatterjee

#SOreadytohelp You can find me here

Updated on June 05, 2022

Comments

  • Sandeep Chatterjee
    Sandeep Chatterjee almost 2 years

    I have installed/setup PHP5 and Apache2 server on Ubuntu and trying to deploy a dummy project on it.

    enter image description here

    The server is up and running.but the URL http://localhost/DemoWebApp gives me

    Apache/2.4.7 (Ubuntu) Server at localhost Port 80.

    enter image description here

    What am I doing wrong or how do I set it up correctly?

    Edit:

    Project structure:

    enter image description here