Run WordPress and Ruby on Rails using Apache


Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home/www/danfolkes.com/wp-content/plugins/wp-syntax/wp-syntax.php on line 383

Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home/www/danfolkes.com/wp-content/plugins/wp-syntax/wp-syntax.php on line 383
  1. Install a LAMP server with apache 2.
  2. Install Rails
  3. Install and Setup WordPress
  4. You should see wordpress here: http://example.com
  5. Then, add this to your apache config’s Virtualhost section:
    1. ProxyPass /fakerubypath http://127.0.0.1:3000
  6. Now, start your rails server
    1. ./script/rails server
  7. You should now be able to see your ruby site on: http://example.com/fakerubypath

I set mine up: wordpress and rails