A
A
Albert Tobacco2014-09-30 17:15:33
Apache HTTP Server
Albert Tobacco, 2014-09-30 17:15:33

How to organize .htaccess caching?

I play with mod_rewrite, everything works. Achieved a certain result.
And now I change the contents of .htaccess - and it does not give any result.
Thus if to write obviously bosh like "pktsprkrr" - gives Internal Server Error.
And as if he cached my .htaccess and does not pay attention to changes.
I spat, created a new site, threw content there, and everything behaves as if .htaccess does not exist at all.
here is the content of .htaccess

<IfModule mod_rewrite.c>
 Options +FollowSymLinks
  RewriteEngine On
  
  #redirect all to index.php
  #RewriteRule ^(.*)$ index.php [L,QSA]
  
  
  #RewriteRule ^image.*([0-9]+).*\..*$ /generate.php?id=$1 [R=301,L]
  RewriteRule ^image123.jpg /generate.php?id [R=301,L]
  #RewriteRule ^image(.*)\.png$ /generate.php?id=$1 [R=301,L]

</IfModule>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
ShamblerR, 2015-02-20
@ShamblerR

Disable browser cache! They also cache redirects!
or go in incognito mode

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question