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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/chill% 40global-village.net

This email sent to [EMAIL PROTECTED]

--
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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/arroz% 40guiamac.com

This email sent to [EMAIL PROTECTED]


      "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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to