Does the htaccess file get cached? What od I Do to clear it.
2 posts
• Page 1 of 1
- shinpeikuga
- Posts: 1
- Joined: 09 May 2012, 14:35
Does the htaccess file get cached? What od I Do to clear it.
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?
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?
- HeliconAndrew
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: Does the htaccess file get cached? What od I Do to clear
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
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
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests