Welcome! Log In Create A New Profile

Advanced

how to exclude subdirectory

Posted by palindrome 
how to exclude subdirectory
February 19, 2024 07:44AM
Hi,
i have installed a flarum forum underneith a wordpress installation. the forum directory is the sub-directory https://abc.de/forum.
The wordpress rewrite rules have affect to this. which causing that the forum is not running well. I try excluding it by adding:

location /forum {
try_files $uri $uri/ /forum/index.php?$query_string;
}

to the nginx config. but this causes a 403 forbidden to access error. I check the chmod and chown. but is not the problem. What else can i try? Or did i do mistake by using location?

Thanks for any help
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 211
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready