Re: Limiting apache virtual host to only one WO application
Re: Limiting apache virtual host to only one WO application
- Subject: Re: Limiting apache virtual host to only one WO application
- From: Johann Werner <email@hidden>
- Date: Wed, 01 Jun 2011 17:43:33 +0200
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@hidden
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden