We usually see personal web pages like http://a-site.com/~someone/, in this case, someone is a user of a-site. How to enable this by default, so whenever we add a new user foo, then http://a-site.com/~foo/ is created automatically? Is the tilde in ~someone optional, customizable?Software environment:Webserver: Apache or Yaws (Erlang based webserver)
Creating a public document directory for a normal user
apache httpd;webserver;multiuser
For Yaws, you're looking for the tilde_expand configuration option.There is nothing magical about the ~ character, but it is so common that I wouldn't recommend trying to circumvent it. If you want to forgo it completely, then give users the ability to edit content in /var/www/htdocs/<username>/ themselves.