Enable userdir2015/12/03 |
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_default authz_user authn_dbm autoindex cgi dir env expires include log_config mime negotiation setenvif ssl suexec userdir php5 reqtimeout php53 |
[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 |
|