WebServer - UserDir

From The TinkerNet Wiki
Revision as of 14:37, 1 January 2022 by Tinker (talk | contribs)
Jump to navigation Jump to search

Sometimes, you might want individual users with accounts on the webserver to have personal pages...

To set up a personal page for the currently logged-in user:

  • mkdir ~/public_html
  • chmod ugo+rX ~/public_html
  • create an index.html file in ~/public_html

Assuming this users name is fred, his page can now be reached at MyServer.MyDomain.net/~fred/