SMF Support > Server Performance and Configuration

Htaccess - exclude subdirectory from a rule?

<< < (2/2)

Colin:
Who are you hosting with?

đukela:
EuroVPS. Don't think this plays big role. It's highly unlikely to get access to httpd.conf on shared hosting...

đukela:
I posted the same question on couple of boards, but never got any solutions. Maybe it's not possible.

Anyway, I found a workaround solution for my case. I excluded specific file from caching like this:

<Files myfile.php>
  Header set Cache-Control "max-age=0, must-revalidate"
</Files>

Maybe it will be of help to somebody.

Colin:
Hmmm, alright. Well glad you got it working. Sorry I couldn't get back to you faster.

đukela:
No problem, man.

Thanks for the effort

Navigation

[0] Message Index

[*] Previous page

Go to full version