Quantcast
Channel: Recent posts across whole site
Viewing all articles
Browse latest Browse all 49235

Auth (permission?) problem in IIS 7

$
0
0

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.

I installed PHP and MySQL on new server, configured them, created new website, granted permissions as I always did for my IIS sites, copied Drupal files from old server.. and got this:

Warning: require_once(./includes/bootstrap.inc) [function.require-once]: failed to open stream: No such file or directory in C:\WEBSITES\site1\index.php on line 15
Fatal error: require_once() [function.require]: Failed opening required './includes/bootstrap.inc' (include_path='.;C:\php5\pear') in C:\WEBSITES\site1\index.php on line 15

After two days of googling and checking everything in PHP settings I can tell for sure it's NOT a PHP issue (btw, "include_path" line was commented in php.ini on old server).

I found something that pointed me to the authentication area: If I disable Anonymous auth in IIS 7 and enable Windows auth and go to my site, of course I was asked to login. Then I type my domain account (I'm Active Directory admin) and magic happen! My Drupal site is working nice!

I have no ideas how to solve this...
How to trace or watch process of authentication under IIS identities on server?

Thanks for any help.


Viewing all articles
Browse latest Browse all 49235

Trending Articles