I am migrating an existing WordPress blog into a subdirectory of a new rails 3 app (deployed on Apache2 / Ubuntu 10).
I have PHP/MySQL installed, and I have a standard rails app folder structure in the production env:
/var/www/railsapp/public/
Inside /public/
, I want to copy the Wordpress files into /home/blog/
, so:
../public/home/blog/-wp stuff-
I've already migrated all the files as well as the database, and updated wp-config.php per the directons given in the Wordpress codex.
However, when I try to access the blog: (www.example.com/home/blog
), I get a 403-forbidden message.
I've already ensured my vhost config is setup correctly (I can access the rails app without issue) and the http.d directive is as follows:
<Directory /var/www/railsapp/public/>
Options +FollowSymLinks
AllowOverride all
Order allow,deny
Allow from all
</Directory>
Is there something I'm missing?
My ../home/blog/.htaccess
file is also correct (I believe):
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /home/blog/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /home/blog/index.php [L]
</IfModule>
# END WordPress
What could be the problem?