티스토리 뷰

OpenSUSE 11 Apache2 Enable userdir


Enable userdir

 

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>


3. Access to 'http://(your server's name or IP address)/~suse/index.php

저작자 표시 비영리 변경 금지
신고

'EN > OpenSUSE 11' 카테고리의 다른 글

OpenSUSE 11 Apache2 SSL Settings  (0) 2016.05.08
OpenSUSE 11 Apache2 Virtual Hostings  (0) 2016.05.08
OpenSUSE 11 Apache2 Enable userdir  (0) 2016.05.08
OpenSUSE 11 Apache2 Use Python Scripts  (0) 2016.05.08
OpenSUSE 11 Apache2 Use Ruby Scripts  (0) 2016.05.08
OpenSUSE 11 Apache2 Use PHP Scripts  (0) 2016.05.08
댓글