Community AlphaAlpha MUADMINS
VITiếng Việt
Đăng nhập
Trên MuADMINSConfig ScannerTải lên zip file của bạn: rate, rơi đồ, spot, giới hạnMởTrên MuADMINSGặp chúng tôi trên DiscordNhờ giúp đỡ, chia sẻ những gì bạn đang làm và trò chuyện về MU với các chủ server khác.Mở
← Tất cả giải pháp
Websiteany

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

MuADMINS biên soạn từ nguồnNot 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
Cách này có giúp được bạn không?

Vẫn còn vướng mắc? Tìm trên MuGPS Hỏi Trợ lý MU

MuADMINS Community Alpha: miễn phí, do cộng đồng xây dựng, đang được phát triển tích cực.