Working group discussing best practices for Drupal development and deployment on Microsoft Windows.
Since there are so many combinations of web server and database server be sure to clarify in your posts whether you are talking about IIS, Apache, SQL Server, or MySQL.
Topics of interest are:
- Microsoft Internet Information Server (IIS)
- Microsoft Windows
- Microsoft SQL Server
- WAMP tools (WampServer, XAMPP, etc)
- Development environments (Visual Studio, Komodo, Eclipse, NetBeans, etc)
- PHP
- Integration with enterprise servers
Multi-site, single code base IIS7.5 with separate web.configs
My group and I are attempting a multi-site setup using a single codebase with IIS7.5. We have defined a ton of rewrite rules using the awesome built in UI. That has left us with a fully pimped out web.config file in our Drupal root. We have several sites already set up, some with their own databases and some that only exist as translated versions of our main site.
How can use new, clean web.config files for each site that would let us redefine rewrite rules (or create local rules only applicable to an individual site.)
Read moreDrupal 7 web.config patch waiting for review
The issue at http://drupal.org/node/567072 aims to add a web.config to D7. While we already have one in D7 beta 2, there's an updated patch with changes from the MS web team (rusland, mbrown) waiting for review.
If you care, please test and comment.
Read moreSharing Files directory (NFS) on load balanced IIS
Hi,
One of my clients who have constraints to use windows in production with IIS 6.0 have the following architecture:
1 hardware load balancer, 2 web servers and 1 dedicated mysql servers. It now has the classic issue in which the files directory on web01 and web02 needs to be either shared on a network file system or be in sync with each other. More
robust solutions are to use data cloud or a distributed file system, the last 2 options are out of question and currently we are looking at the 2 classic solutions.
Ship Drupal 6 with a web.config?
I've tried to stear the issue of web.config inclusion in D7 towards a D6 backport before, but people did not pick that up, and found other bugs. I've reopened http://drupal.org/node/567072 and would welcome your testing feedback. If you have issues with the D7 web.config (which I suspect can be used for D6 directly, no?), then we could even fix some D7 bugs. Your feedback is welcome.
Read moreFiles Existing on Server Produce 404 Error -- IIS 6 Migrated from Linux
I have a Drupal 6 install on IIS 6 (Windows 2003) that was recently migrated from Linux. We implemented with FastCGI so we could use CleanURLs. Just about everything is working with one exception. I have a content type that uses filefield field in the CCK. For some reason, I get a 404 error when trying to click on the links for these files.
Read moreDrupal on Vista with IIS and without Zend
Sorry if it appears that I've cross posted but I didn't realise the Drupal on IIS group existed.
I have successfully installed Drupal on my Vista desktop under IIS but only after I installed Zend.
I want to install Drupal under PHP , MySQL and IIS without Zend but couldn't get past the front installation screen.
Configuring Backup & Migrate Module on IIS
A recent update to backup_migrate module utilizes an .htaccess file to protect the server backups directory from access. Unfortunately, this functionality doesn't work in IIS and I found that when I tried to make a backup I got the following error:
- Security notice: Backup and Migrate will not save backup files to the server because the destination directory is publicly accessible. If you want to save files to the server, please secure the 'sites/default/files/backup_migrate/manual' directory
- Could not run backup because the file could not be saved to the destination.
Auth (permission?) problem in IIS 7
Hi all!
I got really annoying thing while moving my Drupal site from one Windows server to another and fighting it several days already.
I wanted just to clone the site (Drupal 5.18, MySql 5.1, PHP 5.2.6 all versions remain the same)
Servers config:
OLD: Windows Server 2003, IIS 6 with PHP ISAPI filter, standard auth model
NEW: Windows Server 2008 SP2, IIS 7 with PHP FastCGI module, Classic .NET application pool (operate under Network service), permissions to read on PHP and website folder are gratned for IUSR and NEWSERVER_IUSR.
Both servers are in domain.
Read morePotential survey for Drupal use on Windows hosts
Drupal is used on Windows far more then most people suspect. In part this is due to a large segment of our user base being Open Source advocates which tends to inadvertently suppress discussion when a response is often 'use a linux host'. However, there is a large portion of our user base that just wants to use or deploy Drupal already are familier with the OS they currently use and don't want to learn yet another operating system. As a result I plan to start blogging again with a renewed focus on Drupal on Windows and IIS.
Read moreApache Solr and IIS7?
Hi everyone,
Is there any way of getting the two to work?
Or maybe, is there an alternative and efficient way of getting faceted search on IIS?
Thanks,
Nimi.
500 - Internal server error on module update
Hi there
I'm running Drupal 6 on IIS7/php5.3 - I get the 500 error on /admin/build/modules 'save configuration' even though changes I've made are saved - I also get the same error when I select 'flush all caches' from the admin menu module (turns out I get a 403 when I flush the 'theme' cache - so that must be the problem - I am using a custom theme - a subtheme of blueprint which Ive created).
The latter problem suggests a permsissions error (i do not have direct access to the server) but I wondered if the first problem is something IIS7 specific?
Read moreDrupal Performance on IIS7
Yes I run Drupal on windows, period. I don't want this to be a windows vs linux flame far. I much prefer the windows server enviroment and think IIS is far superior to apache.
So with that said I am looking for a discussion to get the best drupal performance out of IIS7/windows server.
Read moreHeads up with Drupal 7 tests
A heads-up to my fellow developers. I ran into this problem on Lighty, but it probably is going to occur on all non-Apache server daemons, so I'm cross-posting this to the Nginx and IIS groups too.
Read moreWincache 1.1 support in CacheRouter
A quick port of the APC CacheRouter engine to Wincache: http://drupal.org/node/743028
Since this implements the new user cache, it only works with Wincache 1.1+ (currently available as a beta - http://pecl.php.net/package/wincache).
It seems to be working well, but I haven't done any serious testing on it yet.
Read moreDrupal on IIS stripping action from HTML forms
We've just installed drupal on an IIS machine in our office. It has installed successfully, however we cannot create any content or save settings in the admin menu.
It seems that the "action" attribute in the HTML FORMs are being cleared. For example, when you create a page, the form on index.php?q=node/add/page should post to (ie, the form element's action attribute) "index.php?q=node/add/page". (like it does on all the Mac and Linux servers I've setup with drupal).
What happens is that is just goes to "index.php".
Read more500.50 error on IIS7, and a solution
Just ran into this one, and I know others will too so I'm passing it along. When using IIS7 with the MS URL Rewrite module, I ran into a 500.50 server error when trying to view uploaded images. The issue has to do with the web server's use of c:\windows\temp to temporarily upload files and the permissions associated with that folder. A detailed explanation and two solutions can be found on this blog post.
Read moreDrupal on a virtual subdirectory - forms not posting correctly
Hi folks,
I'm using ISAPI Rewrite 3 on an Acquia Drupal site, on IIS6.
The external url of the site is something like this:
http://site.domain.com/directory
The site itself isn't actually in a subdirectory, but the url has to have that structure to conform with our firewall/web access control system.
By setting the $base_url parameter in Drupal's settings.php file to the url above, I have the site mostly working fine.
Read moreHow to get custom 404 and 403 error pages working with IIS7. Modify web.config's httpErrors?
I'm running Drupal 6 on IIS 7. I'm trying to get custom error pages working so that when users aren't logged in and they try to access restricted content they're redirected to the login page. For this I'm intending to use the logintoboggan or custom_error modules. However, regardless of how I set my default error pages in admin/settings/error-reporting I still see the standard 403 page. Is this because I need to do something in IIS web.config to tell IIS to observe those error page settings in admin/settings/error-reporting?
Read moreFailover architecture with IIS6
Hi folks,
Any ideas for a failover architecture with Drupal on IIS6? Basically looking for a way to keep a "hot spare" in sync with the live box and switchover automatically if the main box goes down.
Thanks in advance,
Read more404 Error on all php pages - ideas?
Hi folks,
I'm successfully running Drupal on IIS6 with PHP5 (fastcgi) which I installed via the IIS-Aid.com installer.
I am trying to setup a new website on the same server, same IIS, and have matched all the settings as the working site.
On the new site however, I can't get php files to execute - it just returns a HTTP Error 404 - File or directory not found.
Any ideas? This is driving me nuts.
Thanks!
Read more






