0 Members and 1 Guest are viewing this topic.
UrlToolkit { ToolkitID = xenforo RequestURI exists Return Match [^?]*(\?.*)? Rewrite /index.php$1}
UseToolkit=xenforo
1. Add file xenforo.conf in /opt/configs/hiawatha/toolkit with content:Code: [Select]UrlToolkit { ToolkitID = xenforo RequestURI exists Return Match [^?]*(\?.*)? Rewrite /index.php$1}2. Add .hiawatha file in document root (example: /home/admin/domain.com) with content:Code: [Select]UseToolkit=xenforo3. Restart web server with 'sh /script/restart-web -y'.
location /xf/ { try_files $uri $uri/ /xf/index.php?$uri&$args; index index.php index.html;}location /xf/internal_data/ { internal;}location /xf/library/ { internal;}location ~ \.php$ { try_files $uri =404; fastcgi_pass 127.0.0.1:9000; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params;}
Page created in 0.043 seconds with 17 queries.