خرید بک لینک

Vote count: 0

Is there a way to only serve existing files in a static directory? For example in my app.yaml file I have

- url: /img
  static_dir: img

Which works fine if you go to /img/exists.jpg. However if you go to /img/doesnt-exist.jpg you get an ugly Error: Not Found message. Is there a way to make it skip this file and go to this script so that I can add a custom 404 message?

- url: /.*
  script: index.php

asked 42 secs ago

برچسب: نویسنده: استخدام کار تاريخ: سه شنبه 24 فروردين 1395 ساعت: 8:07

صفحه بندی