Virtualmin - Added Virtual Server - Stopped access to Rails app?
- by Dan
Hi,
Sorry if this sounds pretty simple, I'm new to Virtualmin and running servers in general.
I recently purchased a VPS and installed Virtualmin with no problems. I then installed mod_rails and uploaded my first rails app, which I got working by adding the following to my apache httpd.conf file:
<VirtualHost *:80>
ServerName testing.mydomain.com
DocumentRoot /home/myapp/public
<Directory /home/myapp/public>
Allow from All
AllowOverride all
Options -MultiViews
</Directory>
RailsBaseURI /
</VirtualHost>
I then tried adding a virtual server through Virtualmin, using mydomain.com. Now, the site this created (plus several sub-servers) and working as expected. However, my original Rails app is no longer accessible.
The URL now sends me to the parent application (ie mydomain.com)
The Rails app is not located within the parent's application directory, would this be a problem?
Can anyone help?
Any advice appreciated.
Thanks.