I'm trying to enable userdir in Apache2 but I only receive a blank page.
I used:
a2enmod userdir
service apache2 restart
My conf file /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>
I only can list files and directories, php pages is blank.
I check in /var/www/html and works, but not in user home dir.
How can configure to enable userdir?