I just migrated 11 sites from a self-rolled EC2 instance onto a Bitnami AMI after hearing some of my fellow EC2 enthusiasts rave about it. Here’s my general setup:
- WordPress AMI for US-West 64-bit EBS-backed instance used
- Followed instructions in http://wiki.bitnami.com/Components/Apache#How_to_create_a_Virtual_Host.3f
- Created multiple directories under /home/bitnami/apps/wordpress/htdocs, a la /home/bitnami/apps/wordpress/htdocs/site1, /home/bitnami/apps/wordpress/htdocs/site2 (and yes, I realize these are all aliases of /opt/bitnami/apps, etc).
- Created vhosts in /home/bitnami/apps/wordpress/conf for the sites.
- Copied via tar.gz and untar
- Migrated databases via MySQL import/export
- Set permissions following http://jamesfishwick.com/proper-bitnami-wordpress-permissions/ for all 11 sites
- Tested all sites via homepage & wp-admin -> all 11 checked out
Silly me - I forgot to check things like permalinks. These are broken on all 11 sites. I’ve tried:
- zeroing out .htaccess
- Adding “Allow Override” to virtual hosts -> disallowed
- changing .htaccess permissions to 660, 744 and updating permalinks options via wp-admin dashboard Settings / Permalinks
- changing .htaccess permissions to 440 after making those changes
- setting .htaccess ownership as either bitnami:daemon or daemon:daemon
Apache error_log shows:
AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace.
access_log doesn’t show anything.
Any ideas? Help is appreciated.