• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Apache Rewrite if image doesn't exist

#2
I'm now using

PHP Code:
$route['^public/upload/([a-z]+)/(large|catalog|thumb|banner)/([^/]+\.(?:jpg|png|jpeg))$'] = 'resize/index/$1/$2/$3'


but this should be possible with just .htaccess rewrite rules, shouldn't it?
Reply


Messages In This Thread
Apache Rewrite if image doesn't exist - by RBX - 04-15-2017, 02:11 AM
RE: Apache Rewrite if image doesn't exist - by RBX - 04-16-2017, 11:14 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.