Community AlphaAlpha MUADMINS
DEDeutsch
Anmelden
Auf MuADMINSConfig ScannerZip deiner Dateien hochladen: Rates, Drops, Spots, LimitsÖffnenAuf MuADMINSTriff uns auf DiscordFrag nach Hilfe, zeig, woran du arbeitest, und sprich mit anderen Serverbetreibern über MU.Öffnen
← Alle Lösungen
Websiteany

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

Von MuADMINS anhand der Quelle geschriebenNot 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
Hat das geholfen?

Kommst du immer noch nicht weiter? MuGPS durchsuchen Frag den MU-Assistenten

MuADMINS Community Alpha: kostenlos, von der Community gemacht, in aktiver Entwicklung.