• 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
Shorter URL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Shorter URL


  • Subject: Shorter URL
  • From: Dave Elsner <email@hidden>
  • Date: Thu, 9 Mar 2006 14:56:29 +1100

Hi,

I know this issue has been covered many times before but I still can't seem to find a solution to:

How to remove the "cgi-bin/WebObjects/appName.woa" from the URL permanently ?

I have set up Apaches modRewrite so I can navigate to the Domain name, but as soon as I navigate from the front page the site the URL goes back to using " cgi-bin/WebObjects/appName.woa" How came I change the application so that all hyperlinks and form submit return a URL like:

http://mydomain/appname.woa/blahblah that will be translated by apache to http://mydomain/cgi-bin/WebObjects/appname.woa/blahblah

My rewrite rule would look some thing like: RewriteRule ^/ appname.woa.* /cgi-bin/WebObjects/appname.woa$1 [L,PT]

Can I do this in appendToResponce ? pageWithName? or changing the Monitors path to the WO Adaptor?


Regards Dave


_______________________________________________ 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
  • Follow-Ups:
    • Session timeout behavior curiosity
      • From: Gavin Eadie <email@hidden>
    • Re: Shorter URL
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Calendar to add events, reminders etc
  • Next by Date: Re: Shorter URL
  • Previous by thread: Re: Calendar to add events, reminders etc
  • Next by thread: Re: Shorter URL
  • Index(es):
    • Date
    • Thread