NamelessMC

Internet Explorer

Internet Explorer is not supported. Please upgrade to a more modern browser.

DeCrys

Member

Feed

There are no wall posts here yet.

About

Registered:
14 days ago
Last Seen:
11 hours ago
Profile Views:
20
Minecraft
DeCrys

Latest Posts

12 hours ago
Version 2.2.0

I am encountering a persistent issue after updating my NamelessMC installation. Initially, I received an "Internal Server Error" (500). Through troubleshooting, I've identified that commenting out the line # Prevent Apache from removing the Authorization header, we need to check it for the API. followed by CGIPassAuth On in my .htaccess file resolves the "Internal Server Error".

However, when this line is commented out, the website loads but displays the "Sorry! Something went wrong while loading the page. Please contact the administrator." message, indicating an internal application error.

It seems there might be an incompatibility or a change in how the API authorization headers are handled in the updated version, potentially related to the CGIPassAuth On directive.

My current .htaccess file is as follows:

 
 Options +FollowSymLinks
 <IfModule mod_negotiation.c>
  Options -MultiViews
 </IfModule>
 Options -Indexes
 RewriteEngine on
 IndexIgnore *

 <IfModule mod_headers.c>
  Header append X-FRAME-OPTIONS "SAMEORIGIN"
 </IfModule>

 RewriteCond %{REQUEST_URI}::$1 ^(.*?/)(.*)::\2$
 RewriteRule ^(.*)$ - [E=BASE:%1]

 RewriteCond %{REQUEST_FILENAME} !-d

 RewriteRule ^avatar/([^/]+)/([^/]+)/(f|l|r|b|front|left|right|back)/?$ %{ENV:BASE}core/avatar/face.php?u=$1&s=$2&v=$3
 RewriteRule ^avatar/([^/]+)/(f|l|r|b|front|left|right|back)/?$ %{ENV:BASE}core/avatar/face.php?u=$1&v=$2
 RewriteRule ^avatar/([^/]+)/([^/]+)/?$ %{ENV:BASE}core/avatar/face.php?u=$1&s=$2
 RewriteRule ^avatar/([^/]+)/?$ %{ENV:BASE}core/avatar/face.php?u=$1 [L]

 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-d

 RewriteRule ^(.*)$ %{ENV:BASE}index.php?route=/$1  [NC,L,QSA]

 # Prevent access to template files
 <files "*.tpl">
  Deny from all
 </files>

 # Prevent access to GeoIP database
 <files "*.mmdb">
  Deny from all
 </files>

 # Prevent access to log files
 <files "*.log">
  Deny from all
 </files>

 # Prevent Apache from removing the Authorization header, we need to check it for the API.
 CGIPassAuth On

Could you please investigate this issue? It seems the handling of API authorization in the updated version might need review, especially concerning the .htaccess configuration.

 

Thank you for your time and assistance.

1 day ago
Version 2.2.0

The update broke my website, it is unusable.

Reactions

Received Given
👎 1 0
👍 0 0
😐 0 0
🛠 0 0
🌈 0 0
⭐ 0 0
Reaction score: -1
Forum score: -1
Profile posts score: 0