Cloud9では、プライベートプロジェクトでもサーバーを「Public」に設定することで、外部の人に見せることができます。
ただし、BASIC認証をかけておこうと次のような .htaccessを書くと Internal Server Errorが発生します。
<Files ~ "^\.(htaccess|htpasswd)$">
deny from all
</Files>
AuthUserFile .../.htpasswd
AuthGroupFile /dev/null
AuthName "Please enter your ID and password"
AuthType Basic
require valid-user
order deny,allow
Cloud9のサーバーでは「AuthGroupFile」の記述が不要のようです。以下のようになります。
<Files ~ "^\.(htaccess|htpasswd)$">
deny from all
</Files>
AuthUserFile .../.htpasswd
AuthName "Please enter your ID and password"
AuthType Basic
require valid-user
order deny,allow