Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 2.x support forum
 Helicon Tech : ISAPI_Rewrite 2.x support forum
Subject Topic: httpd.ini file on NAS device Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
aswanson
Newbie
Newbie


Joined: 24 January 2008
Online Status: Offline
Posts: 13
Posted: 27 February 2008 at 1:08pm | IP Logged Quote aswanson

I seem to not be able to get a site to redirect using the httpd.ini file that lives on on cifs share on a netapp. It will only read the local httpd.ini file ??

I have this working for many other sites and am lost as to why this is not working. I am using IIS 6.0 with 2003 server. The application pool is runnig as network service and has permssions to the share where the httpd.ini file lives. So I can get to the root webiste no problem. I have the re-write filter installed at the root of IIS only, and it refusese to read the httpd.ini file on the cifs share.

 

Am I missing something, this is working for thousands of other sites that I hqave hosted on same server. Permissions are also the same???

 

Back to Top View aswanson's Profile Search for other posts by aswanson
 
aswanson
Newbie
Newbie


Joined: 24 January 2008
Online Status: Offline
Posts: 13
Posted: 27 February 2008 at 7:56pm | IP Logged Quote aswanson

I am using the full version and have approx 20 applicaition pools with many sites in each application pool.


Does this tool work with an httpd.ini file in each of the sites??? am I running into some limitation of the tool that I missed? I am wondering if I am even able to do what I am trying to do now??
Back to Top View aswanson's Profile Search for other posts by aswanson
 
Yaroslav
Moderator Group
Moderator Group


Joined: 15 August 2002
Online Status: Offline
Posts: 6466
Posted: 28 February 2008 at 8:45am | IP Logged Quote Yaroslav

For network share you need to give permissions for IIS_WPG to this share. If you have some other problems please describe your situation in detail.

__________________
Yaroslav Govorunov,
Helicon Tech
Back to Top View Yaroslav's Profile Search for other posts by Yaroslav Visit Yaroslav's Homepage
 
aswanson
Newbie
Newbie


Joined: 24 January 2008
Online Status: Offline
Posts: 13
Posted: 28 February 2008 at 11:24am | IP Logged Quote aswanson

The application Pool runs as the network service and authentication is Basic. AS I said this is working with the same permissions on some IIS sites on this server.

These are cifs shares that IIS uses the UNC path to get to and they are not mapped drives.  The application pool runs as the network service and is a member of this IIS_WPG group. This has permissions to the shares and still does not work. Or I should say the filter will not read the config file local to the web site.

I dont see any kind of debugging to turn on here??? Any suggestions.
Back to Top View aswanson's Profile Search for other posts by aswanson
 
aswanson
Newbie
Newbie


Joined: 24 January 2008
Online Status: Offline
Posts: 13
Posted: 28 February 2008 at 11:41am | IP Logged Quote aswanson

The content dir also has the machine account permissions as that is how the filter authenticates. I have verified this by removing the machine accounts on sites that are working. When I remove the re-direct fails.



Back to Top View aswanson's Profile Search for other posts by aswanson
 
Lexey
Moderator Group
Moderator Group


Joined: 15 August 2002
Location: Russian Federation
Online Status: Offline
Posts: 7559
Posted: 29 February 2008 at 9:00am | IP Logged Quote Lexey

First, make sure than there are no user name and password specified for a share connection in a site root properties.
Second, check permissions on the /LM/W3SVC/<siteId>/Root/ metabase key (where SiteId is an ID of the site in question). IIS_WPG should have at least read access to this key.
Back to Top View Lexey's Profile Search for other posts by Lexey
 
aswanson
Newbie
Newbie


Joined: 24 January 2008
Online Status: Offline
Posts: 13
Posted: 29 February 2008 at 10:31am | IP Logged Quote aswanson

The IIS_WPG group has permissions to this key
Back to Top View aswanson's Profile Search for other posts by aswanson
 
aswanson
Newbie
Newbie


Joined: 24 January 2008
Online Status: Offline
Posts: 13
Posted: 29 February 2008 at 10:34am | IP Logged Quote aswanson

Also there is no user configured for a shared connection.
Back to Top View aswanson's Profile Search for other posts by aswanson
 
aswanson
Newbie
Newbie


Joined: 24 January 2008
Online Status: Offline
Posts: 13
Posted: 29 February 2008 at 4:10pm | IP Logged Quote aswanson

I have resolved this issue... The problem was related to delegation properties that someone had given to the computer object for the NAS device in AD.

This was causing active directory to refuse the machine account authentication as it was not allowed to via kerberos\cifs. Once I corrected the delegation properties that filter was able to read the site level config properly.

thanks for responding and giving direction......... So no issues with the re-write filter at all..

Back to Top View aswanson's Profile Search for other posts by aswanson
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum