Topic: ISAPI 2 lite version - applying to 1 site
|

|
| Author |
|
neilp123 Newbie

Joined: 11 January 2010
Online Status: Offline Posts: 10
|
| Posted: 11 January 2010 at 4:08am | IP Logged
|
|
|
Hello there,
I have ISAPI Rewrite lite version 2 installed on my IIS 6 server. I'm building a site with the content management system - modx, and trying to achieve Search Engine Friendly URLs.
I have many different websites on this server, but am only trying to make the URLs work on one site. I'm having some trouble doing this at the moment!
I understand that I'm only able to use the lite version of ISAPI on one website, and thats all I want to do at the moment. I've seen people mention a httpd.ini file, but I don't seem to have one of those in the ISAPI file.
When I go into IIS, I right-click on 'Website', then 'properties', then I choose the 'ISAPI rewrite' tab, then I can enter the code required in there. But because this is only available under 'website', it would seem to me that its trying to apply itself to all of the sites on the server, whereas I just want to be able to apply it to one at the moment.
If I can get this working, then there's a strong possibility that I'll be purchasing the full version of ISAPI, but I need to see it in action on this one website first.
Any help would be greatly appreciated.
Thanks
|
| Back to Top |
|
| |
Anton Admin Group

Joined: 30 January 2007 Location: Ukraine
Online Status: Offline Posts: 10489
|
| Posted: 11 January 2010 at 4:51am | IP Logged
|
|
|
"I understand that I'm only able to use the lite version of ISAPI on one website" - unfortunately you are a slightly misunderstanding the
concept. Actually Lite version supports only server-wide config and the rules in this config (httpd.ini) are applied to ALL sites on the
server. To restrict the scope to one site only you may either use "RewriteCond Host: www.somedomain.com" directive before EACH RewriteRule you
have (which is not the best solution), or use the Full version and use per-site httpd.ini files that will affect the target site only
(recommended).
"but I need to see it in action on this one website first." - the Full version includes 45-day free trial for testing purposes.
__________________ Regards,
Anton
|
| Back to Top |
|
| |
|
|
If you wish to post a reply to this topic you must first login
If you are not already registered you must first register
|
|
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
|