2012.10.11 18:59 James B. Byrne rašė: > This problem has existed for years but I am finally annoyed enough > with it to inveastigate. We continually see this message in our http > files: > > webmail_ssl_access.log-20121007:65.95.69.194 - - [06/Oct/2012:16:23:08 > -0400] "GET /favicon.ico HTTP/1.1" 302 310 > > This tells me that: > 1. there is a redirect happening; and > 2. the redirect enters a loop and never completes. > > > Our Squirrelmail web site requires https which is accomplished thus: > > <Directory /usr/share/squirrelmail> > RewriteEngine on > RewriteCond %{HTTPS} !=on > RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} > </Directory> > > The site itself is defined thus: > > ServerName webmail.hamilton.harte-lyne.ca > DocumentRoot /usr/share/squirrelmail > ErrorLog /var/log/httpd/webmail_ssl_error.log > LogLevel warn > TransferLog /var/log/httpd/webmail_ssl_access.log > > Alias /webmail /usr/share/squirrelmail > > <Directory /usr/share/squirrelmail> > Order allow,deny > allow from all > Options +Indexes > </Directory> > > > Our favicon.ico file does indeed reside in /usr/share/squirrelmail: > > ll /usr/share/squirrelmail/favicon.ico > -rw-r--r--. 2 root root 800 Mar 27 2012 > /usr/share/squirrelmail/favicon.ico > > > Interestingly if I manually look for the favicon.ico file using this > url I find it: > > https://webmail.harte-lyne.ca/webmail/favicion.ico > > 216.185.71.44 - - [11/Oct/2012:11:26:52 -0400] "GET > /webmail/favicon.ico HTTP/1.1" 200 800 > > But > > https://webmail.harte-lyne.ca/webmail/src/login.php give this: > > 216.185.71.44 - - [11/Oct/2012:11:27:53 -0400] "GET /favicon.ico > HTTP/1.1" 302 310 > > This is likely an Apache configuration issue but I cannot determine > exactly how one would resolve this. I presume some of you have and I > would appreciate being informed as to what I must do to fix this. your web browser looks up icon in webmail.harte-lyne.ca website root folder and /usr/share/squirrelmail is not your website root. Alias /favicon.ico /usr/share/squirrelmail/favicon.ico Or add meta header for favicon location. See http://www.w3.org/2005/10/howto-favicon -- Tomas ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users