I have a meteor application I deployed using this method Deploy a meteor app which works fine and which now runs on mydomain.com:3000 but I want to have access to it on mydomain.com/myapp. For that I try to use apache2 with mods, following what I have read on the web my configuration is :
<VirtualHost *:80>
ServerName mydomain.com
Alias /myapp /home/me/Documents/myapp/bundle/public
<Location /memo>
PassengerBaseURI /myapp
PassengerAppRoot home/me/Documents/myapp/bundle
PassengerAppType node
PassengerStartupFile main.js
</Location>
<Directory /home/me/Documents/myapp/bundle/public>
Allow from all
Options -MultiViews
</Directory>
ProxyPass /myapp http://localhost:3000/
ProxyPassReverse /myapp http://localhost:3000/
</VirtualHost>
but when I go on mydomain.com/myapp I have a blank page while on mydomain.com:3000 this is working fine.
What's bad ?
EDIT: I'm wondering if the problem doesn't come from the meteor application because I have the title of the window at the top of my page (from my ) but the rest of the page is always empty.
So the redirection is working a little bit..
Could it be possible that my meteor app have difficulties to find his ressources because of the mydomain/myapp sub-uri and a mistake in the app configuration ? I have defined the ROOT_URL environment variable to mydomain.com/myapp