请提供有关Apache虚拟主机规则的帮助...
因此,规则:
1) If resourse exists - static handler (apache's 200)
2) If resource not exists and not /img/{type}/{param}/{hash}.jpg - static handler (apache's 404)
3) If resource /img/{type}/{param}/{hash}.jpg and not exists - php-fpm handler
5) All directory requests (non-file format) - php-fpm handler
请注意,我未使用mod_php,而是使用php-fpm
(例如应实现SetHandler“ proxy:fcgi ...”指令)
预先感谢