Community AlphaAlpha MUADMINS
PLPolski
Zaloguj się
Na MuADMINSConfig ScannerWgraj zip swoich plików: rates, dropy, spoty, limityOtwórzNa MuADMINSSpotkajmy się na DiscordziePoproś o pomoc, pokaż, nad czym pracujesz, i rozmawiaj o MU z innymi właścicielami serwerów.Otwórz
← Wszystkie rozwiązania

WebEngine on Nginx: module links like /register or /rankings give 404 because .htaccess is ignored.

Napisane przez MuADMINS na podstawie źródłaNot verified
  1. Nginx does not read .htaccess, so add the rewrite rules to the server block.
  2. Rewrite /page/subpage/request to index.php with page, subpage and request parameters.
  3. Leave /admincp out of the rewrite.
  4. Deny direct access to /includes/, /modules/, /admincp/inc/, /admincp/modules/ and dotfiles.
  5. Pass .php to your PHP-FPM socket and reload Nginx.
WebEngine docs · 2025-05-05
Czy to pomogło?

Nadal masz problem? Szukaj w MuGPS Zapytaj Asystenta MU

MuADMINS Community Alpha: za darmo, tworzone przez społeczność, w aktywnym rozwoju.