mod-userdir (user directory module)
The Apache userdir module, mod-userdir is used to link user-based directories into the global namespace of the webserver. mod-userdir (user directory module) is used to access to an account on server by entering server IP or hostname tilde(~) and their username as the uri on a specific host. Some of the modules for apache will be installed as default. To check for the available modules, Go to /etc/httpd/modules or /etc/apache2/modules and list there. The modules which is shown here is installed in your server. To enable just go to your php.ini file and Add the below line, if its not there.