Closed (fixed)
Project:
Global Redirect
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Aug 2007 at 16:14 UTC
Updated:
23 Jul 2008 at 10:56 UTC
Frontpage redirection does not work properly under the Lighttpd web server when accessing the site using Firefox (2.0.0.6, Linux). It appears that GlobalRedirect is trying to redirect to the base URL without a trailing slash. Firefox, however, automatically appends a trailing slash to all base URLs, resulting in an infinite loop and no page display (eventually Firefox generates an error).
If the following code is commented out the front page will display, ableit without the nifty redirection.
// If current path is also the frontpage, redirect to http://www.mysite.com.
if(drupal_is_front_page()) {
drupal_goto('', $query_string, NULL, 301);
}
Comments
Comment #1
nicholasthompsonI'll look into this... Maybe the drupal_goto needs a slash on it... But I dont think it should.
Have you tried DRUPAL-5 version (rather than DRUPAL-5--1-1)?
Comment #2
nicholasthompsonI'm running Lighttpd on my blog (ThingyMaJig) and I dont have this problem... Marking as fixed for now (I'm using DRUPAL-5 rather than DRUPAL-5--1-1) as there has been no reply in nearly a year.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.