Linux Debian Apache2: Habilitar Páginas personales de los usuarios /~user/
https://www.server-world.info/en/note?os=Debian_10&p=httpd&f=6
Apache2 : Enable Userdir 2019/08/01 |
Enable userdir, users can create websites with this setting. | |
[1] | Configure Apache2. |
root@www:~# a2enmod userdir Enabling module userdir. To activate the new configuration, you need to run: systemctl restart apache2root@www:~# systemctl restart apache2 |
[2] | Create a test page with a common user and access to it from client PC with web browser. It's OK if following page is shown. |
debian@www:~$ mkdir ~/public_html debian@www:~$ vi ~/public_html/index.html <html> <body> <div style="width: 100%; font-size: 40px; font-weight: bold; text-align: center;"> UserDir Test Page </div> </body> </html> |
No hay comentarios:
Publicar un comentario