• 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: Setting URL for application to just my IP.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting URL for application to just my IP.


  • Subject: Re: Setting URL for application to just my IP.
  • From: Miguel Arroz <email@hidden>
  • Date: Thu, 2 Mar 2006 14:00:57 +0000

Hi!

Nice! But that only works for the app "front page", right? If you generate an URL with something like:

String url = context().completeURLWithRequestHandlerKey("wa", directActionName, args, false, 0);

The URL will be a "normal" URL with /cgi-bin/WebObjects/ AppName.woa/etc, right?

  Yours

Miguel Arroz

On 2006/03/02, at 03:44, Chuck Hill wrote:

Using Apache? You can probably do it using an Apache redirect. Myself, I always use mod_rewrite and a rewrite rule to do this. Make sure that mod_rewrite is loaded _after_ mod_webobjects if you are using mod_webobjects:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^/$ /cgi-bin/Webobjects/ netBrackets.woa [last,passthrough]
</IfModule>



Chuck


On Mar 1, 2006, at 6:33 PM, Jeffrey Schmitz wrote:

I'd like just my simple domain (http://www.netbrackets.com) to bring up my application automatically instead of having to add in all the cgi-bin/Webobjects/... stuff, and without having to do forwarding on my DNS. I tried using a redirection index.html page (<meta HTTP-EQUIV="REFRESH" content="0; url=http:// www.netbrackets.com/cgi-bin/Webobjects/netBrackets.woa"> in by document root directory, but that causes a session timeout message to come up. Is there another way to do this, perhaps without having to use a redirection page?

Thanks,
Jeff
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net


This email sent to email@hidden

--
Coming in 2006 - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro


Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/ practical_webobjects




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40guiamac.com


This email sent to email@hidden


      "GUERRA E' PAZ
       LIBERDADE E' ESCRAVIDAO
       IGNORANCIA E' FORCA"       -- 1984

Miguel Arroz
http://www.ipragma.com



_______________________________________________
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:
    • Re: Setting URL for application to just my IP.
      • From: Chuck Hill <email@hidden>
References: 
 >Setting URL for application to just my IP. (From: Jeffrey Schmitz <email@hidden>)
 >Re: Setting URL for application to just my IP. (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: WOBuilder / XCode 2.1 bug
  • Next by Date: Re: Setting URL for application to just my IP.
  • Previous by thread: Re: Setting URL for application to just my IP.
  • Next by thread: Re: Setting URL for application to just my IP.
  • Index(es):
    • Date
    • Thread