View Full Version : Help with Helm ISAPI & ISAPI_Rewrite v3 & IISPassword
Chris Danks
10-23-07, 12:06
ISAPI_Rewrite v3 will not automatically find httpd.ini config files; if you do not wish to use .htaccess (v3 default), you must change the config file name to httpd.ini in the ISAPI_Rewrite v3 server config file - see docs.
so does v3 work with Helm ISAPI if configured right?
Warren Ashcroft
10-23-07, 12:32
so does v3 work with Helm ISAPI if configured right?
This post has all the information everybody needs regarding Helm ISAPI, ISAPI_Rewrite v3 and IISPassword.
Yes - providing you use the latest version of Helm ISAPI.
The optimal configuration is to:
Use the new Helm IIS Service Property to set the filename of the IISPassword config file to something other than .htaccess.
Use the new Helm ISAPI IIS Service Property to set the filename of the ISAPI_Rewrite config file to .htaccess.
Leave ISAPI_Rewrite at its default config filename of .htaccess.If you are already using IIS Password, you will need to write a script to rename all the original .htaccess files to the new IISPassword config filename. You will also need to set the new IISPassword config filename in the IISPassword IIS Snapin on the IIS "Web Sites" folder of the associated server(s). I believe the snapin can also do the rename for you - but I didn't use this method so cannot say how/if it works.
If you are already using ISAPI_Rewrite v2, you will need to either write a script to convert all the old httpd.ini files into new syntax .htaccess files; or have your customers reconfigure their rules. Baring in mind ISAPI_Rewrite v3 rules syntax is totally different to v2 and cannot be copied and pasted (it now uses Apache mod_rewrite syntax).
...this is what we have done, and it worked well.
If you cannot move IISPassword onto a new filename so that ISAPI_Rewrite v3 can use .htaccess, use a new filename for ISAPI_Rewrite v3 (remember to set its Helm ISAPI IIS Service Property) and remember to tell it the new filename in its global server config file - see ISAPI_Rewrite v3 documentation.
Those scripts to convert and rename would be appreciated.
Chris Danks
10-26-07, 16:23
Those scripts to convert and rename would be appreciated.
Agreed ;)
Warren Ashcroft
10-26-07, 17:17
...they weren't too difficult ;)
Well release them Warren!!!
Thanks in advance.
ozgurerdogan
02-26-08, 15:38
[B]
Use the new Helm IIS Service Property to set the filename of the IISPassword config file to something other than .htaccess.
Use the new Helm ISAPI IIS Service Property to set the filename of the ISAPI_Rewrite config file to .htaccess.
We can not do these in helm 4 right? Yet..
Hi,
My problem with these extension is migration later to HELM 4 wich will not support them. And if you have customer accomodated with these they will cry loudly ! :(
Regards
M B
We can not do these in helm 4 right? Yet..
Helm 4 also support custom config file name for IIS Password ..
ozgurerdogan
02-28-08, 08:11
Where is that set, in IIS Service property, I can only see:
.htpasswd, .htgroups, .htgroups. Where do I set custom name for .htaccess ? Also where do I set custom file name for ISAPI_Rewrite config file? In db or something? Does it make conflict in system that both are using same file name as .htaccess? Or thats ok.
Thanks
You are right .. Helm 4 doesnt seems to have custom name for ..htaccess file .. Put this request on the bug tracker ..
ozgurerdogan
02-29-08, 08:36
Ok I created one http://bugs.webhostautomation.com/browse/HLM-1687
Rubal what could be the problem after I was able to make IIS password run by adding Network Service to domain folder, to a web site that was using isapi rewrite http://blog.yesilbeyaz.com.tr this web site was running fine before adding the user permission to domain folder.
Try removing IIS Password ISAPI from the master domain.
Also you cant use Helicon and ISAPI password on same domain as far as the config file name is same for both.
ozgurerdogan
02-29-08, 08:44
Try removing IIS Password ISAPI from the master domain.
Also you cant use Helicon and ISAPI password on same domain as far as the config file name is same for both.
What is the master domain for IISPassword ? Also IIS Password http://www.sadecenet.com/anadolu/ and isapi http://blog.yesilbeyaz.com.tr using different web sites. But http://blog.yesilbeyaz.com.tr does not work anymore.
Remove IISPassword from Websites node .. The node just above default web site ...
http://blog.yesilbeyaz.com.tr/ isnt working probably because you have both ISAPI Rewrite and Helicon URL Rewrite enabled on it.
ozgurerdogan
02-29-08, 09:11
Ok I did not have default web site as I deleted it. For blog.yesilbeyaz.com.tr web site setting, under iispassword, I set to "unprotect" it and also deleted .htaccess file and it is running fine now. So where does isapi_rewrite uses .htaccess file?
Master Web Site is not the default Web site .. See the screenshot..
ozgurerdogan
02-29-08, 21:08
Ok Rubal thanks. I sorted it out. So a web site can not use both of them. Can we use it, if helm allows us to set custom file name for IIS password or ISAPI rewrite? Or here is no way in IIS 6?
Thanks again.
. Can we use it, if helm allows us to set custom file name for IIS password or ISAPI rewrite? Or here is no way in IIS 6?
Thanks again.
Warren's first post under this thread is answer of all your queries.
ozgurerdogan
03-01-08, 19:41
Fine but those are for helm3. I hope to see those service properties in helm4 also. Thanks in advance.
Fine but those are for helm3. I hope to see those service properties in helm4 also. Thanks in advance.
Raise a topic under Bug Tracker for that.
ozgurerdogan
03-01-08, 20:36
Did that already but no vote yet :(
Sorry to bump an old thread but I'm having issues locating the IIS ServiceProperty discussed in this thread to change the filename that IISPassword looks for
Use the new Helm IIS Service Property to set the filename of the IISPassword config file to something other than .htaccess.We have the most current Helm3 version installed yet the only options I see in the IIS Service Settings are for Secure Folder Type, Secure Filter Path and Secure Folder Realm
TIA.
Are you talking about Helm 4 here ... ?
Warren Ashcroft
07-29-08, 11:50
Sorry to bump an old thread but I'm having issues locating the IIS ServiceProperty discussed in this thread to change the filename that IISPassword looks for
Thats done in IIS itself, go the the Properies page on the "Web Sites" folder in IIS, the filename is changed on the IIS Password tab.
Thanks Rubal and Warren. I have set it in IIS yet it is still creating them as .htaccess and I've also performed an IISReset just in case that was the issue.
Is there a newer version of IISPassword 1.0 (408) ? ... I should probably check that out too I guess.
Warren Ashcroft
07-29-08, 14:54
Thanks Rubal and Warren. I have set it in IIS yet it is still creating them as .htaccess and I've also performed an IISReset just in case that was the issue.
Oh - its the Helm setting you need to set, if you have the latest version of Helm it should be with the Secure Folder Realm setting.
You're not using skins are you? If so, use the standard Helm skin to set the setting.
Thanks .. that setting though is most definitely not present, I presume one of the two products we have installed has clobbered it somehow ISAPI_Rewrite and HELM_SSL from memory. So I'll have to try a reinstall of HELM and see if that fixes it.
A reinstall of 3.2.18 has corrected this issue for me.
Thanks.
vBulletin® v3.7.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.