You haven't indicated version of drupal here. In some versions I've found that I needed to set $base_url for sites where the drupal base directory was not the root of the web server. Setting this may correct your problem.
________________________________
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Anthony Sent: Monday, February 27, 2012 4:30 PM To: support@drupal.org Subject: Re: [support] URL weirdness
It's commented out in the \sites\default\settings.php file.
On Mon, Feb 27, 2012 at 4:12 PM, Metzler, David metzlerd@evergreen.edu wrote:
I would check for accuracy of $base_url variable in settings.php file.
________________________________
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Anthony Sent: Monday, February 27, 2012 3:46 PM To: support@drupal.org Subject: [support] URL weirdness
I am trying to login to my site. After I hit login I get a 404. The Url is changed to http://foo/bar/bar/mysitename/node?destination=node
Somehow the second bar is getting inserted into the URL. (I used backup and migrate to back it up every day but can not start the restore as far as I know. ) Looked in the .htaccess and all is the same. Any ideas?