Application environment: ubuntu nginx php-fpm
In the group chat, I mentioned installing typecho in a subdirectory, but it always failed.
1. Why must pathinfo be configured? Can it be done by modifying cgi settings?
2. How to configure pseudo-static rules for subdirectories? Do you want to add the subdirectory name
after the rules of the root directory?
Such as location / {
——————》 location /xxx {
Can’t you place the pseudo-static subdirectory in the corresponding directory? When pseudo-static was implemented using the second-level domain name method in the past, .htaccess was directly placed in the corresponding subdirectory.