Redirect Loop Installing Drupal 7.23
Added by Bod2 over 11 years ago
Hi. I'm trying to install Drupal to a subdomain of website handled by a lighttpd server. It's a society server I didn't set up. When trying to run the install script from any browser, I get a redirect loop. Firefox says it's repeatedly sending me to the install.php page via http. Backing up the Drupal install.php file and replacing its contents with the word "test", the redirect loop still occurs, which suggests a lighttpd configuration problem to me.
The lighttpd version is 1.4.28, running on Debian Squeeze.
lighttpd.conf: http://pastebin.com/mcc9RmeG
Replies (5)
RE: Redirect Loop Installing Drupal 7.27 - Added by stbuehler over 11 years ago
- you might want to think about migrating to Debian
LennyWheezy (sry) - although you load mod_redirect in the config, I didn't see any redirect rules - so i doubt lighttpd is redirecting you. also please test with curl (use the -v option.)
RE: Redirect Loop Installing Drupal 7.27 - Added by Bod2 over 11 years ago
Thanks for your reply,
Unfortunately I don't have admin privileges on the host server, so I can only politely suggest that they upgrade.
Here's the output of curl -v, although I don't think it shows anything new: http://pastebin.com/B72jEMy2
RE: Redirect Loop Installing Drupal 7.27 - Added by stbuehler over 11 years ago
X-Powered-By: PHP/5.3.3-7+squeeze16 Location: http://test.domain.co.uk/install.php
This means PHP handled the request, and the redirect comes from php, not lighttpd.
RE: Redirect Loop Installing Drupal 7.27 - Added by Bod2 over 11 years ago
Ah, okay, then.
I don't understand how php alone can cause a redirect loop in this situation, though. install.php currently contains no php. I get that index.php redirects to install.php, but then how does any further redirection occur? Or could this be from a php configuration error?
RE: Redirect Loop Installing Drupal 7.23 - Added by stbuehler over 11 years ago
Well, try curl -v on the install.php next... add debug output in the php files, and so on.