• 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: /wa/favicon.ico ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: /wa/favicon.ico ?


  • Subject: Re: /wa/favicon.ico ?
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 13 May 2009 10:27:12 -0700


On May 13, 2009, at 9:50 AM, Jeremy Rosenberg wrote:

Just to close the loop, this worked for us. According to my Apache guy the secret was in the [PT] passthrough flag there. He didn't know about that trick.

I think I made him nervous with the suggestion that I might want to do such things in other circumstances, but it certainly solves this issue for now.

There are lots of useful things you can do with rewrite rules! Your Apache guy will love you. :-)


You could also make that rule simpler as
RewriteRule favicon.ico$ /favicon.ico [PT]

And if you don't want an icon
RewriteRule favicon.ico$ - [F]

Just to get you thinking...

RewriteRule ^/login$ /cgi-bin/WebObjects/YourApp.woa/wa/login [PT]

Parameters are easily handled.

Chuck

On May 12, 2009, at 1:20 AM, email@hidden wrote:

From: Guido Neitzer <email@hidden>
Date: May 11, 2009 5:03:47 PM PDT (CA)
To: WebObjects-Dev Apple <email@hidden>
Subject: Re: /wa/favicon.ico ?


On May 11, 2009, at 4:42 PM, Joe Moreno wrote:

You could try my "solution" - I see the exception in the logs and, realizing it's just a call for the favicon.ico, just ignore it. Pretty lazy, eh?

I've been toying with the idea of creating a direct action with this name to return something.

As I said:

     <IfModule mod_rewrite.c>
             RewriteEngine On
             RewriteCond %{REQUEST_METHOD} ^TRACE
             RewriteRule .* - [F]
             RewriteRule /.*/favicon.ico /favicon.ico [PT]

		# more rules ...
	</IfModule>

and be done with it. I have an image in the root folder of the domain and that works just fine.

Guido

= ======================================================================
Jeremy Rosenberg
Application Developer
Institutional, Collaborative, and Academic Technologies
IT Services
Simon Fraser University
Burnaby, BC, Canada V5A 1S6


Email:  email@hidden

"ICAT: Of great importance to your academic success and SFU's global achievement"










_______________________________________________ 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


-- Chuck Hill Senior Consultant / VP Development

Come to WOWODC'09 in San Fran this June!
http://www.wocommunity.org/wowodc09/

_______________________________________________
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


References: 
 >Re: /wa/favicon.ico ? (From: Jeremy Rosenberg <email@hidden>)

  • Prev by Date: Re: /wa/favicon.ico ?
  • Next by Date: Re: WebObjects 5.3 Leopard
  • Previous by thread: Re: /wa/favicon.ico ?
  • Next by thread: ajax and popup ?action
  • Index(es):
    • Date
    • Thread