nginx - Subdirectory issue with Typecho
phpcn_u1582
phpcn_u1582 2017-05-16 17:27:41
0
1
702

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 {

phpcn_u1582
phpcn_u1582

reply all(1)
phpcn_u1582

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template