WordPress default URLをrootに変更する方法
かなりハマりました。
insideofpapaya.comでアクセスがあったらinsideofpapaya.com/wordpress/に飛ばす方法をあれこれ探して試してみたのですが、自分の今の設定だと、結局、bitnamiのドキュメントに従うのがベストでした。
http://wiki.bitnami.org/Applications/BitNami_Wordpress#How_to_change_the_default_URL_to_root.3f
/opt/bitnami/apps/wordpress/conf/wordpress.conf で以下の設定をします。
# Uncomment the following lines to see your application in the root
# of your URL. This is not compatible with more than one application.
RewriteEngine On
RewriteRule ^/$ /wordpress/ [PT]
んで、ターミナルから $ sudo /opt/bitnami/ctlscript.sh restart apache を実行すればOK! 他の方法だと無限ループに陥っちゃうのよね。 というわけで、ひとつ解決!