Home  >  Q&A  >  body text

nginx - Subdirectory issue with Typecho

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_u1582phpcn_u15822712 days ago671

reply all(1)I'll reply

  • phpcn_u1582

    phpcn_u15822017-05-16 17:29:41

    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.

    reply
    0
  • Cancelreply