1.First of all make sure that your server can parse both php and rails application.
-
Make a blog directory in side the public folder of rails application.
-
Deploy all WordPress content inside blog directory.
-
Configure your database connection at wp-config.php file .
5.Then just paste the following code in the apache config file
<VirtualHost ...>
ServerName ...
DocumentRoot ...
<Location /blog>
PassengerEnabled off
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>
</Location>
</VirtualHost>
Posted by Sandheep to Sandheep's deck (2013-05-10 18:33)