I have still a problem with the document root I applied all the solution, also change my operating system, completely remove XAMPP and install Apache & MySQL locally this method not work for me and then I reinstall xampp then try to run the app but noting gets change.
Now the home page loaded but when I visited any link it shows me this error
`` Object not found! The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.
If you think this is a server error, please contact the webmaster.
Error 404 localhost Apache/2.4.37 (Unix) OpenSSL/1.0.2q PHP/7.1.26 mod_perl/2.0.8-dev Perl/v5.16.3 ``
here are those link in which I define my problem