|
That would be the directory pointed to by the DocumentRoot directive. For example:
DocumentRoot /www/abc/htdocs
So you would make your image be /www/abc/htdocs/favicon.ico
It's whatever directory your DocumentRoot points to.
-SK
On 9/23/19 11:36 PM, Jim Franz wrote:
I want to add a favicon.ico to a cgi website.
Everything google says to put it in the "root" directory.
What is the root directory of a server instance?
If my instance is abc and Apache set up as /www/abc
and added /www/abc/favicon.ico
getting log errors ZSRV_MSG0016:
read that i can put header directive to my images directory
<link rel="shortcut icon" type="image/x-icon"
href="/abc/images/favicon.ico" />
still getting error
ZSRV_MSG0016: URI in request GET /abc/images/favicon.ico HTTP/1.1 is not
valid
Where can i put this file to work but not open up that directory to the web?
Jim
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.