<Directory "/usr/share/apache2/htdocs">
root@imx6qxelk:~#
=== PHP ===
For demonstration purposes the PHP info page is loaded as the home page for our web server running on the system:
<pre>
root@imx6qxelk:~# cat /usr/share/apache2/htdocs/.htaccess
DirectoryIndex phpinfo.php
root@imx6qxelk:~# cat /usr/share/apache2/htdocs/phpinfo.php
<?php
phpinfo();
?>
root@imx6qxelk:~#
</pre>
In this way, the PHP info page is shown when the web browser is started on localhost.
=== Graphical backend ===
root@imx6qxelk:~# google-chrome https://chrome.google.com/webstore/detail/virtual-keyboard/pflmllfnnabikmfkkaddkoolinlfninn
==Results==
===Use case #1: PHP ===
For demonstration purposes the PHP info page is loaded as the home page for our web server running on the system:
<pre>
root@imx6qxelk:~# cat /usr/share/apache2/htdocs/.htaccess
DirectoryIndex phpinfo.php
root@imx6qxelk:~# cat /usr/share/apache2/htdocs/phpinfo.php
<?php
phpinfo();
?>
root@imx6qxelk:~#
</pre>
In this way, the PHP info page is shown when the web browser is started on localhost.