> test1 and test2 *must* be symlinks to 'public' directories. The manual
> shows an example of setting up an application for sub-URI deployment.
Hi, Thanks for the quick reply!
I did see the bits about a 'public' directory in the documentation but
was hoping that wasn't a hard requirement. I think you have made a bad
assumption about rack applications with that requirement. Just look
at
http://coderack.org/ and you see some great ideas of things to do
with rack that don't have any public assets.
My use case is some very simple web services/rack apps (10-20 lines of
code) that don't have a 'public' folder. They just parse some GET
vars and return some XML.
I have been running these before as follows with no problem:
<VirtualHost *:80>
ServerName foo-test1
DocumentRoot /Users/john/webapps/test1
PassengerAppRoot /Users/john/webapps/test1
</VirtualHost>
<VirtualHost *:80>
ServerName foo-test3
DocumentRoot /Users/john/webapps/test2
PassengerAppRoot /Users/john/webapps/test2
</VirtualHost>
I'd really like to consolidate these into a single virtual host with
sub URI's.
Do you have any ideas how I could get these as sub URI's without
making fake 'public' folders that serve no purpose?
Thanks!
John