Hi Atli,

in your global virtual_host config add:

<Location /cgi-bin/WebObjects/>
        Order Deny,Allow
        Deny from all
</Location>

to deny every access to any WO app on any virtual host. Change the location URI 
to the one you are using for your WO installation.
Then add to a specific virtual host configuration the app(s) you want to be 
accessible on that domain:

<Location /cgi-bin/WebObjects/MyWOAppIsHere.woa>
        Allow from all
</Location>

That's it :)

jw


Am 01.06.2011 um 16:52 schrieb Atli Páll Hafsteinsson:

> Hi
> 
> We have a WO setup with multiple application and a subdomain for each
> application configured via apache virtualhosts.
> 
> How can I limit application access to only one application (using
> mod_rewrite ? ) so that http://awesome.xx.is would only allow access
> to http://awesome.xx.is/Apps/WebObjects/Awesome.woa but stop things
> like http://awesome.xx.is/Apps/WebObjects/NotAsAwesome.woa or
> http://awesome.xx.is/Apps/WebObjects/JavaMonitor.woa Ð
> 
> Regards,
> Atli Páll Hafsteinsson
> [email protected]
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/jw%40oyosys.de
> 
> This email sent to [email protected]
> 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to