Does the htaccess file get cached? What od I Do to clear it.

ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS
User avatar
Posts: 1
Joined: 09 May 2012, 14:35

Does the htaccess file get cached? What od I Do to clear it.

09 May 2012, 14:52

I have a rule

RewriteRule ^Care_Tools/Depression_Screener\> /CareTools/depression [NC]

which I am using for

It operates fine except that it displays the not so pretty URL /CareTools/depression instead
of the format string /Care_Tools/Depression_Screener

I have other similar rules all of which work fine and display fine.

So I experimented and did things like changing the above rule to

RewriteRule ^Care_Tools/Depression_Screener\> /index.htm [NC]

But it still send me to /CareTools/depression and displaying /CareTools/depression

I even forced a refresh of the application pool and restarting my IIS
and it still maintains the old rule and bad behavior

IS IIS caching the htaccess file? If so what do I do to clear it?

User avatar
Posts: 1264
Joined: 07 Mar 2012, 10:16

Re: Does the htaccess file get cached? What od I Do to clear

10 May 2012, 05:49

Well,

It behaves like it's cached ,but it's not. The only possible reason for the changes to be delayed - permissions. Although, iisreset and any changes in httpd.conf are supposed to fix it.
Please, follow this documentation to avoid issues - permissions

You may also try enabling logging and see what's actually happening. Logging issues described in FAQ

Regards
Andrew

Return to ISAPI_Rewrite 3.0

Who is online

Users browsing this forum: No registered users and 4 guests