On 11/30/12 03:37, Grant wrote: > > I like this idea since it means I don't need to mess with another domain > name. The only problem I'm running into is one of the applications on > the server doesn't work with www.example.com/jackjill/app > <http://www.example.com/jackjill/app>, it only works with > www.example.com/app <http://www.example.com/app>. I set up a > RewriteRule to rewrite /jackjill/app to /app, and that makes the > application work, but then <Location /jackjill> doesn't work. Is there > any way around this? >
Fix the app =) If that's not possible, the vhost solution may be the simplest solution. You're allowed to mangle environment variables with each rewrite rule -- that might allow you to chain together your restrictions, but it would be ugly. http://jackjill.example.com/app http://johnjacob.example.com/app Seem like a good idea at that point.