• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using mod_rewrite
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using mod_rewrite


  • Subject: Re: Using mod_rewrite
  • From: Pierre Frisch <email@hidden>
  • Date: Wed, 14 Jul 2004 07:49:33 -0700

Hello,

I am currently looking in this issue. With WO as supplied by Apple you =20=

must have the word WebObjects in the URL as is used in the adaptor and =20=

in the Java  code to decode and encode the URL. To remove this =20
constrain you must do two things recompile the adaptor and overwrite a =20=

private class from the framework (WODynamicURL). The problem is that =20
there is no single place to do this so you have to create you own =20
subclass of WOResponse, WORequest and WOContext. But apart form this =20
this is appears perfectly doable.

Cheers

Pierre
--
Pierre Frisch
sPearWay Ltd.
sPearCat Web Catalogs,
Custom designed in-house
with the click of a mouse.
http://www.spearcat.com/


On Jul 13, 2004, at 18:44, Arturo P=E9rez wrote:

> On Jul 13, 2004, at 9:04 PM, Greg Kick wrote:
>
>> I think this might be what you're looking for, and it saves you the =20=

>> trouble of mod_rewrite...
>>
>> Taken from:  =20
>> http://developer.apple.com/documentation/WebObjects/Deployment/=20
>> Deploying_Applications/index.html
>>
>> Setting an Alias for cgi-bin in the WebObjects URL
>>
>> The following list explains how to change the cgi-bin part of the URL =
=20
>> used to connect to an application instance to Store in the Apache, =20=

>> NSAPI, and CGI adaptors:
>> 	=15 	Apache: In the apache.conf file, change the line
>>
>> WebObjectsAlias /cgi-bin/WebObjects
>>
>> to
>>
>> WebObjectsAlias /Store/WebObjects
>
> That's for the standard adaptors that come with WO.  Does the Project =20=

> Wonder have more, less or equal ability in this respect?  The main =20
> thing is that with the standard adaptors you have to have WebObjects =20=

> in the URL.  Is this something embedded deep within the framework?
>
> ----
> WO in philadelphia - wanna cheesesteak with that?
> Please visit webobjects.meetup.com.
> _______________________________________________
> webobjects-dev mailing list | email@hidden
> Help/Unsubscribe/Archives: =20
> http://www.lists.apple.com/mailman/listinfo/webobjects-dev
> Do not post admin requests to the list. They will be ignored.

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Using mod_rewrite (From: Amorya North <email@hidden>)
 >Re: Using mod_rewrite (From: Arturo Pérez <email@hidden>)
 >Re: Using mod_rewrite (From: Greg Kick <email@hidden>)
 >Re: Using mod_rewrite (From: Arturo Pérez <email@hidden>)

  • Prev by Date: Re: Automated/load testing for WO apps
  • Next by Date: Re: Problem with commit while deleting rows from table
  • Previous by thread: Re: Using mod_rewrite
  • Next by thread: Re: Using mod_rewrite
  • Index(es):
    • Date
    • Thread