Usedir
apache2ctl -l
ls -la /etc/apache2
ls -la /etc/apache2/mods-enabled
ls /usr/lib/apache2/modules
apt-cache search libapache2-mod
ls /etc/apache2/mods-enabled
sudo a2enmod userdir
sudo service apache2 restart
nano /etc/apache2/mods-enabled/ userdir.conf
<IfModule mod_userdir.c>
UserDir public_html
UserDir disabled root
<Directory /home/*/public_html>
AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
Require method GET POST OPTIONS
</Directory>
</IfModule>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
UserDir public_html
UserDir disabled root
<Directory /home/*/public_html>
AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
Require method GET POST OPTIONS
</Directory>
</IfModule>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
mkdir /home/alumno100/public_html
Comentarios
Publicar un comentario