open project / object not found

Problems with the Linux version of XAMPP, questions, comments, and anything related.

open project / object not found

Postby mostafa-hashem » 13. November 2021 12:16

i installed xampp-linux-x64-8.0.12-0 , and it installed corectly
when i tried to open my project using this link
www.localhost//home/mostafa_hashem/development/linkedin/Php/learning-php/Ex_Files_Learning_PHP/Exercise Files/01_02_printing/indext.php
it gives me the error [object not found , error 404 ]
i want to open my project in any directory in home not just the " htdoc "
.
.

if there is no other way to open another directory except " htdoc " how to add my project to it
mostafa-hashem
 
Posts: 1
Joined: 13. November 2021 12:06
XAMPP version: xampp-linux-x64-8.0.12-0
Operating System: linux mint 19

Re: open project / object not found

Postby Nobbie » 13. November 2021 21:32

mostafa-hashem wrote:i want to open my project in any directory in home not just the " htdoc "
.
.

if there is no other way to open another directory except " htdoc " how to add my project to it


Of course you can, simply change the value of "DocumentRoot" in your Apache configuration. In Xampp default installation, it points to c:/xampp/htdocs, but you can change that to your needs. And please, read the Apache Documentation about DocumentRoot at least.

P.S.: Do not use "www.localhost", instead simply use "localhost".
Nobbie
 
Posts: 13176
Joined: 09. March 2008 13:04


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 55 guests