Virtual host deployment question

2009-05-07 Thread Mitchel Roider

Hello,

So I have everything working on my deployment server.
Two independent pairs of wotaskd and womonitor along with separate  
siteconfig.xml files.

Everything seems to be working properly .

My last bit of configuration needs to restrict access of a WO app to  
just one virtual domain.
For example  www.a.com/cgi-bin/WebObjects/A.woa www.b.com/cgi-bin/WebObjects/B.woa 
.

Right now I can access both WO apps from either domain.

Is there a straightforward way of implementing this restriction?  I  
have already attempted it by moving the
WebObjectsConfig http://localhost:1085 10   directive within the  
virtual host configuration file and limiting which wotaskd it can see.

This did not work.

If anyone has any time tested solution for this I would be grateful.


Thanks

Mitch


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

This email sent to arch...@mail-archive.com


Re: Virtual host deployment question

2009-05-07 Thread Chuck Hill


On May 7, 2009, at 10:46 AM, Mitchel Roider wrote:


Hello,

So I have everything working on my deployment server.
Two independent pairs of wotaskd and womonitor along with separate  
siteconfig.xml files.

Everything seems to be working properly .

My last bit of configuration needs to restrict access of a WO app to  
just one virtual domain.
For example  www.a.com/cgi-bin/WebObjects/A.woa www.b.com/cgi-bin/WebObjects/B.woa 
.

Right now I can access both WO apps from either domain.

Is there a straightforward way of implementing this restriction?  I  
have already attempted it by moving the
WebObjectsConfig http://localhost:1085 10   directive within the  
virtual host configuration file and limiting which wotaskd it can see.

This did not work.

If anyone has any time tested solution for this I would be grateful.


Apache rewrite rules with re-directs.

Chuck

--
Chuck Hill Senior Consultant / VP Development

Come to WOWODC'09 in San Fran this June!
http://www.wocommunity.org/wowodc09/

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

This email sent to arch...@mail-archive.com


Re: Virtual host deployment question

2009-05-07 Thread Tim Worman


On May 7, 2009, at 10:51 AM, Chuck Hill wrote:



On May 7, 2009, at 10:46 AM, Mitchel Roider wrote:


Hello,

So I have everything working on my deployment server.
Two independent pairs of wotaskd and womonitor along with separate  
siteconfig.xml files.

Everything seems to be working properly .

My last bit of configuration needs to restrict access of a WO app  
to just one virtual domain.
For example  www.a.com/cgi-bin/WebObjects/A.woa www.b.com/cgi-bin/WebObjects/B.woa 
.

Right now I can access both WO apps from either domain.

Is there a straightforward way of implementing this restriction?  I  
have already attempted it by moving the
WebObjectsConfig http://localhost:1085 10   directive within the  
virtual host configuration file and limiting which wotaskd it can  
see.

This did not work.

If anyone has any time tested solution for this I would be grateful.


Apache rewrite rules with re-directs.

Chuck


Rewrite cheat sheet:

http://www.addedbytes.com/apache/mod_rewrite-cheat-sheet

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

This email sent to arch...@mail-archive.com


Re: Virtual host deployment question

2009-05-07 Thread Mr. Frank Cobia
I also made a modification to the WebObjects adaptor for Apache 2.2  
that allows you to specify which apps you are allowed to hit from a  
domain. Email me if you are interested in the source code.


Frank
On May 7, 2009, at 2:30 PM, Tim Worman wrote:



On May 7, 2009, at 10:51 AM, Chuck Hill wrote:



On May 7, 2009, at 10:46 AM, Mitchel Roider wrote:


Hello,

So I have everything working on my deployment server.
Two independent pairs of wotaskd and womonitor along with separate  
siteconfig.xml files.

Everything seems to be working properly .

My last bit of configuration needs to restrict access of a WO app  
to just one virtual domain.
For example  www.a.com/cgi-bin/WebObjects/A.woa www.b.com/cgi-bin/WebObjects/B.woa 
.

Right now I can access both WO apps from either domain.

Is there a straightforward way of implementing this restriction?   
I have already attempted it by moving the
WebObjectsConfig http://localhost:1085 10   directive within the  
virtual host configuration file and limiting which wotaskd it can  
see.

This did not work.

If anyone has any time tested solution for this I would be grateful.


Apache rewrite rules with re-directs.

Chuck


Rewrite cheat sheet:

http://www.addedbytes.com/apache/mod_rewrite-cheat-sheet

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/frank.cobia%40f2technology.com

This email sent to frank.co...@f2technology.com



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

This email sent to arch...@mail-archive.com