Apache_userdir


Table of Contents
1. Apache mod_userdir (userdir)
1.1. What is Apache mod_userdir?
1.2. Screenshot
1.3. Using Apache mod_userdir
1.4. Using SFTP to create public_html and upload documents

1. Apache mod_userdir (userdir)

1.1. What is Apache mod_userdir?

Apache mod_userdir is a module of the Apache webserver enabled to allow users defined in the FreedomBox system to expose a set of static files on the FreedomBox filesystem as a website to the local network and/or the internet according to the network and firewall setup.

Read more about Apache mod_userdir in the Apache documentation.

Available since: version 0.9.4


1.3. Using Apache mod_userdir

The module is always enabled and offers no configuration from the Plinth web interface. Currently its existence is not even visible in the Plinth web interface.

Using the modules capability to serve documents requires just to place the documents in the designated directory in a Plinth user's home directory in the filesystem.

This directory is: public_html

Thus the absolute path for the directory of a user named fbx with home directory in /home/fbx will be /home/fbx/public_html. Apache mod_userdir will serve documents placed in this directory when requests for documents with the URI path "~fbx" are received. For the the example.org domain thus a request for the document example.org/~fbx/index.html will transfer the file in /home/fbx/public_html/index.html.