Install and Serve a Rails Application from PHP Subdirectory Using Apache, Phussion Passenger and Ruby Enterprise Edition
Here is how to install a Rails application out of a subdirectory (rather than as a subdomain) with the Apache web server(Apache2). In this example I'm going to use my own blog which is a Wordpress installation and serve a Rails application from the subdir...
Written by Sean Behan on 06/17/2012
Wildcard VirtualHost with Apache2
Set your ServerAlias directive to *.domain.tld - Here is a quick example. <VirtualHost> ServerName example.com ServerAlias *.example.com DocumentRoot /var/www/path/to/site </VirtualHost> Now everything.example.com and anything.example.co...
Written by Sean Behan on 06/17/2012