Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 3.0 support forum
 Helicon Tech : ISAPI_Rewrite 3.0 support forum
Subject Topic: .htaccess not working from UNC Path Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
mburke
Newbie
Newbie


Joined: 04 August 2008
Location: United States
Online Status: Offline
Posts: 10
Posted: 22 August 2008 at 9:25am | IP Logged Quote mburke

I have Windows 2003, IIS 6, ISAPI_Rewrite3, ColdFusion 7 running and am trying to access the .htaccess file stored on a UNC path to a common codesbase (multi-server environment). Due to ColdFusion's need to access the UNC share, I must use a login for the network share in IIS. Is there a way to get ISAPI to read the .htaccess file on the share? Right now I have all rewrite code in the httpd.conf file using <virtualHost> tags to separate the websites. It would be much easier to manage them in their own .htaccess files..

Any advise would be greatly appreciated.



__________________
MJB
Back to Top View mburke's Profile Search for other posts by mburke Visit mburke's Homepage
 
Yaroslav
Moderator Group
Moderator Group


Joined: 15 August 2002
Online Status: Offline
Posts: 6466
Posted: 23 August 2008 at 5:53am | IP Logged Quote Yaroslav

I don't think it is possible because there is no way for ISAPI_Rewrite to log in. It would be possible if this UNC share allowed anonymous access, but not with login restrictions.

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


Joined: 04 August 2008
Location: United States
Online Status: Offline
Posts: 10
Posted: 25 August 2008 at 9:15am | IP Logged Quote mburke

I do have annonymous access enabled. IIS is mapped set up to access the home directory through a UNC share with a listed 'connect as' user. I am using that same user for annonymous access to the website. All HTML, CFM and assets access from the share. The .htaccess is the only file I cannnot get to..

__________________
MJB
Back to Top View mburke's Profile Search for other posts by mburke Visit mburke's Homepage
 
Yaroslav
Moderator Group
Moderator Group


Joined: 15 August 2002
Online Status: Offline
Posts: 6466
Posted: 26 August 2008 at 7:19am | IP Logged Quote Yaroslav

ISAPI_Rewrite is executed as IIS Application Pool user, not as Anonymous Access user. You will need to allow UNC access for Application Pool user.

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


Joined: 04 August 2008
Location: United States
Online Status: Offline
Posts: 10
Posted: 26 August 2008 at 4:35pm | IP Logged Quote mburke

I am still looking for how to find the 'Application Pool' user. It is not obvoius using that term. I have given access to the IIS_WPG group and that did not help. IIS has an option for Application Pools, but the websites run with or without Application Pools active.

So far, the .htaccess file is the only file type that will not read from the UNC share.

Is this the only way to get assistance from Helicon? One comment / Aswer per day is going to take some time to get this resolved. A discussion may get it much faster. This is an issue on our live wegb sites and I am trying to get it resolved as soon as possible.

Thanks.

 



__________________
MJB
Back to Top View mburke's Profile Search for other posts by mburke Visit mburke's Homepage
 

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 can vote in polls in this forum