29.17. Setting Up User Web Directories
On a system with many UNIX users, you may want to allow each user to create his own set of web pages. Instead of creating a subdirectory for each user under some document root directory, you can instead designate a subdirectory in each user's home directory as a location for web page files. Typically, this subdirectory is called public_html and its contents are made available at a URL like http://www.example.com/~username/.
The special ~username path in the URL is converted by Apache to a directory under the home of the user named username, no matter what document root directory is being used for the rest of the files on the website. It is also possible for files in the user's actual home directory to be ...
Get Managing Linux® Systems with Webmin™ System Administration and Module Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.