Thanx guys, will give this a try on friday. Atli Páll Hafsteinsson [email protected]
On Wed, Jun 1, 2011 at 4:07 PM, Jon Nolan <[email protected]> wrote: > Atli, > > This might have an error or two but it should get you started. You'll need > conditions like the first one for static resource directories, etc. > > RewriteEngine On > > RewriteCond $1 > !^/Apps/WebObjects/Awesome.woa > RewriteCond %{SCRIPT_FILENAME} !-f > RewriteCond %{SCRIPT_FILENAME} !-d > RewriteRule ^(.*)$ /errors/404.html [R,L] > > Good luck. > > Jon > > > > > > > On 6/1/11 8:52 AM, Atli Páll Hafsteinsson wrote: >> >> 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/lists%40lochgarman.com >> >> 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/atlipall%40gmail.com > > 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]
