• 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: How to make URL shorter?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to make URL shorter?


  • Subject: Re: How to make URL shorter?
  • From: Pierre Frisch <email@hidden>
  • Date: Tue, 18 May 2004 09:01:36 -0700

Why not use a simple header redirect:

<HTML>
         <HEAD>
                 <META HTTP-EQUIV="content-type"
CONTENT="text/html;charset=iso-8859-1">
                 <META HTTP-EQUIV="REFRESH"
CONTENT="0;URL=http://host/cgi-binMyWebApp.woa";>
         </HEAD>
</HTML>

This appears to work all the time.

Pierre

On May 18, 2004, at 7:49, Kieran Kelleher wrote:

> I use a simple HTML file with contents like this to redirect to the
> correct URL. For example the html file may be named "MyWebApp.html"
> and placed in the web server document root and contains:
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
> <html xmlns="http://www.w3.org/1999/xhtml";>
> <head>
> 	<title>MyWebApp</title>
> </head>
>
> <body bgcolor="#FFFFFF">
> 	<script type="text/javascript" language="javascript" charset="utf-8">
> // <![CDATA[
>
> 	location.href="cgi-bin/WebObjects/MyWebApp.woa"
>
> // ]]>
> </script>
> </body>
>
> </html>
>
>
> ________________________________________________________________
> Config = OS X 10.3.3 / Java 1.4.1 /  WO 5.2.2 / XCode v1.1 / MySQL
> 4.0.18 / Connector-J 3.0.11
> Blog: http://webobjects.webhop.org/
>
>
> On May 18, 2004, at 10:03 AM, john XUE wrote:
>
>> Hi All,
>>  I started an App from JavaMonitor,the url for the
>> browser is
>> ,say,"http://host/cgi-bin/WebObjects.exe/AnApp.woa/1",how
>> do I make it like "http://host/webapp"; ? .
>>
>> Thanks!
>>
>> John
>>
>>
>>
>>
>> __________________________________
>> Do you Yahoo!?
>> SBC Yahoo! - Internet access at a great low price.
>> http://promo.yahoo.com/sbc/
>> _______________________________________________
>> 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.
> _______________________________________________
> 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.

[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.


  • Follow-Ups:
    • Re: How to make URL shorter?
      • From: Jeff Ali <email@hidden>
References: 
 >How to make URL shorter? (From: john XUE <email@hidden>)
 >Re: How to make URL shorter? (From: Kieran Kelleher <email@hidden>)

  • Prev by Date: Re: How to make URL shorter?
  • Next by Date: RE: How to make URL shorter?
  • Previous by thread: Re: How to make URL shorter?
  • Next by thread: Re: How to make URL shorter?
  • Index(es):
    • Date
    • Thread