DietPi-Software | Phpsysinfo login?

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
Gigabit
Posts: 27
Joined: Fri Dec 23, 2016 6:28 pm

DietPi-Software | Phpsysinfo login?

Post by Gigabit »

Currently when using Phpsysinfo when typing in the web address it directs you to Phpsysinfo where the info is displayed. This is not ideal as it's exposed to the web. Apparently the default install has the ability to have a login page. How do I enable login page?
User avatar
Fourdee
Site Admin
Posts: 2783
Joined: Tue Feb 06, 2007 1:36 pm

Re: DietPi-Software | Phpsysinfo login?

Post by Fourdee »

Gigabit wrote:Currently when using Phpsysinfo when typing in the web address it directs you to Phpsysinfo where the info is displayed. This is not ideal as it's exposed to the web. Apparently the default install has the ability to have a login page. How do I enable login page?
Your router has a firewall, prevents external access into your local network. The only way an external user could access the device and webpage, is if you enabled port forwarding (tcp 80) on the router, pointing towards the IP of the DietPi device.
Apparently the default install has the ability to have a login page.
Not that I can see, the only way would be to create a password protected directory at webserver level:

Code: Select all

/var/www/phpsysinfo
https://www.cyberciti.biz/tips/lighttpd ... ories.html
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Post Reply