3

I run a website with Drupal in Linux/Cpanel/Apache/MySql and it worked perfect.
I want to put this site in Windows/plesk/IIS/MySql. I backed up and restore database in the new host and copied Drupal files.

My website run in new host with some problem.

  1. I can't see administrative page; this page is white.
  2. My links don't work with clean URLs and I should add (?q=) to links.
  3. My images with ImageCache are not shown. The URLs for images are not correct and have a space.
0

3 Answers 3

6

You need to translate the Apache server's rewrite rules into their IIS equivalents, in the root web.config.

For reference, see what is reported in the Windows Download Instructions.

IIS7: Create/modify web.config file. Drupal distributions come with .htaccess files for *nix use; IIS7 users should convert this file to a web.config file for their site. If you have used the IIS Manager to create a new site, a basic web.config file will exist in your site's root directory.

3
  • My Drupal version is 6.I download D7.7 and copied web.config file to root,but have problem so!see help me... please Aug 30, 2011 at 0:02
  • are you using iis7
    – Attiks
    Aug 31, 2011 at 9:34
  • I am using IIS 6 Sep 5, 2011 at 21:55
0
  1. It can be solved by cleaning all cache tables using something like phpMyAdmin.
  2. See the other answer; just use the web.config file that comes with Drupal.
  3. It will be solved if point #2 is solved, and the right permissions are set.
0

Running D6 on an IIS machine is a little more difficult. You require a IIS module that allows for rewrite rules, there a quite a few, some free others are a paid solution. There will be quite a few quirks to work out. But that should get you started.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.