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: Atli Páll Hafsteinsson <email@hidden>
- Date: Wed, 01 Jun 2011 19:59:03 +0000
Thanx guys, will give this a try on friday.
Atli Páll Hafsteinsson
email@hidden
On Wed, Jun 1, 2011 at 4:07 PM, Jon Nolan <email@hidden> 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@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
>
_______________________________________________
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