hello everybody,
i'm using knppix 3.7 and want to use it as a server, but from my understanding its not smart to run as root, so what i was thinking in making public_html dir's in the user acounts, and according to my start-up page when i go to my localhost, its supported...
but i dont understand it says:
User directories are enabled, and user documents will be looked for in the public_html directory of the users' homes. These dirs should be under /home, and users will not be able to symlink to files they don't own.
now how does it work? just make the map public_html, in the /home/ dir? or in the /home/username/ dir?
and if its the first one, how does it know witch public_html is owned by who?,
please help, i'm desperate in getting this to work
edit) ife got this working but now its this url:
http://localhost/~user/phpinfo.php
and i want just the type in localhost and then get the contents of the public_html of the current user, how do i do that???

(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray
$174.99
Apple Mac Mini M2 8-Core 512GB SSD 8GB Unified RAM 10-Core GPU READ
$400.00
Clear Touch Interactive Module CTI PCMOD PC55 ST i5 6core,8GB DDR4,256GB SSD NEW
$225.00
Intel Core i9-11900K 3.5GHz 8-Core 16 Thread LGA 1200 11th Gen Desktop CPU SRKND
$250.00
AMD Ryzen 7 9800X3D 8-Core 16-Thread AM5 Zen 5 Desktop Processor NEW
$395.00
Apple Macbook Pro 13" M1 8-Core 16GB 512GB - Good
$464.99
Used & Tested Intel Xeon W-2255 SRGV8 3.70GHz 19.25MB 10-Core CPU Processor
$194.99
Intel Core i9-9900 SRG18 3.10GHz 8-Core Desktop CPU Prcoessor LGA1151
$165.00
Apple Macbook Pro 13" A2338 M1 8-core CPU, 8-core GPU, 16GB, 1TB Logic Board
$295.00
AMD Ryzen 7 5800X3D 8-Core Socket AM4 CPU 3.4GHz 96MB L3 3200MHz
$350.00