Hi all.
I have moved a Drupal 6 site from a home server running Apache to a machine running IIS. I have disabled the "nice URLs" and whatnot, but I still have one issue remaining:
I can not log in to the site. I see in the .htaccess file there are instructions for if the URL starts with/without a "www", but right now, the only access to the site is via an IP address (right now). I can get the company that is hosting the site to provide me a URL like help.xyz.com and that will definitely be the goal in the near future.
So I guess my question is: is my issue with logging in most likely an .htaccess issue? And if the answer is yes, how do I fix it to use an fixed IP address?
Thanks in advanced.
Dan
Comments
How are you trying to log in?
How are you trying to log in? Via URL or a login block?
IIS won't use the .htaccess file (as far as I'm aware).
Did you clear the cache before moving the database?
A couple more ideas: Make
A couple more ideas:
Make sure that your settings.php file doesn't contain an incorrect $base_url (usually it is better to leave it commented out with a # in front).
Try to set $cookie_domain = 'xxx.xxx.xxx.xxx'; You may also need to clear your browser cookies.
I'll try the above two suggestions but...
I just wanted to be sure: someone indicated in another post (http://drupal.org/node/17620) that the cache can be cleared by simply running update.php. (I don't recall clearing it ahead of time).
And to answer McJim: I am logging in using a login block.
Thanks,
Dan
Looking to Migrate from Drupal 6/7 to Drupal 10/11? Have a look at our Drupal 11 demo site and request access.