Answer the question
In order to leave comments, you need to log in
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
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question