$Log$
+Revision 505.4 2004/02/25 23:00:21 ajc
+* Changed the favicon support to LINK tags in the HEAD of static stuff,
+ to make life easier. (Thanks to prosthetik for this)
+
Revision 505.3 2004/02/25 15:20:11 ajc
* Support for favicon.ico in the static/ directory
1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
* webserver.c: warning fix
-
"?force_close_session=yes HTTP/1.0");
}
- /*
- * favicon.ico can't be in the root...
- */
- if (!strncasecmp(buf, "/favicon.ico", 12)) {
- strcpy(req->line, "GET /static/favicon.ico");
- }
-
/* These are the URL's which may be executed without a
* session cookie already set. If it's not one of these,
* force the session to close because cookies are
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META HTTP-EQUIV="Content-Language" CONTENT="en">
<LINK REL="StyleSheet" HREF="/static/style.css" TYPE="text/css" MEDIA="screen">
+ <LINK REL="shortcut icon" HREF="/static/favicon.ico" TYPE="image/x-icon">
<?REFRESHTAG>
</HEAD>
<?PAGERSCRIPT>
<TITLE>Citadel</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META HTTP-EQUIV="Content-Language" CONTENT="en">
+ <LINK REL="shortcut icon" HREF="/static/favicon.ico" TYPE="image/x-icon">
</HEAD>
<FRAMESET COLS="80, *" FRAMESPACING="0" BORDER="FALSE" FRAMEBORDER="0">