Enable Userdir2015/11/28 |
Enable userdir, users can create websites with this setting.
|
|
[1] | Configure Apache2. |
www:~ # a2enmod userdir www:~ # a2enmod -l actions alias auth_basic authn_file authz_host authz_groupfile authz_user autoindex cgi dir env expires include log_config mime negotiation setenvif ssl socache_shmcb userdir reqtimeout authn_core authz_core php5 |
[2] | Create a test page with a user and access to it from client PC with web browser. It's OK if following page is shown. |
suse@www:~>
vi public_html/index.php <html>
<body> <div style="width: 100%; font-size: 40px; font-weight: bold; text-align:center;"> <?php print "Userdir Test Page"; ?> </div> </body> </html> |
Sponsored Link |