HTTP ERROR 500

sickminds444

Well-known member
Registered
Joined
Mar 16, 2021
Messages
56
Points
28

Reputation:

Randomly started getting this error, cant login just rejects everything. Anyone know if an add on is causing this?

Thank you
 

Sgc

Active member
Registered
Joined
Nov 19, 2021
Messages
25
Points
13

Reputation:

There is an unauthorized code in the .htaccess file
 

sickminds444

Well-known member
Registered
Joined
Mar 16, 2021
Messages
56
Points
28

Reputation:

There is an unauthorized code in the .htaccess file
SgcThank you, could it be a template issue? I am completely locked out, Im not sure how to fix this.
 

Sgc

Active member
Registered
Joined
Nov 19, 2021
Messages
25
Points
13

Reputation:

Example Index+Follow No+ ending with +No at the end of the appendix
Are there any such examples?
 

sickminds444

Well-known member
Registered
Joined
Mar 16, 2021
Messages
56
Points
28

Reputation:

Example Index+Follow No+ ending with +No at the end of the appendix
Are there any such examples?
SgcI wish i knew what any of that meant. newbie here.
 

sickminds444

Well-known member
Registered
Joined
Mar 16, 2021
Messages
56
Points
28

Reputation:

Capture.JPG
 

Sgc

Active member
Registered
Joined
Nov 19, 2021
Messages
25
Points
13

Reputation:

dellete

Add
Code:
# LiteSpeed XenForo cache
<IfModule litespeed>
CacheLookup public on
RewriteEngine On
# cache
RewriteCond %{HTTP_COOKIE} !xf_user [NC]
RewriteRule .* - [E=Cache-Control:max-age=360]
# no cache
RewriteCond %{HTTP_COOKIE} xf_user [NC]
RewriteRule .* - [E=Cache-Control:vary=loggedin]
RewriteCond %{HTTP_COOKIE} xf_user [NC]
RewriteRule .* - [E=Cache-Control:no-cache]
</IfModule>
#    Mod_security can interfere with uploading of content such as attachments. If you
#    cannot attach files, remove the "#" from the lines below.
#<IfModule mod_security.c>
#    SecFilterEngine Off
#    SecFilterScanPOST Off
#</IfModule>

ErrorDocument 401 default
ErrorDocument 403 default
ErrorDocument 404 default
ErrorDocument 405 default
ErrorDocument 406 default
ErrorDocument 500 default
ErrorDocument 501 default
ErrorDocument 503 default

<IfModule mod_rewrite.c>
    RewriteEngine On

    #    If you are having problems with the rewrite rules, remove the "#" from the
    #    line that begins "RewriteBase" below. You will also have to change the path
    #    of the rewrite to reflect the path to your XenForo installation.
    #RewriteBase /xenforo

    #    This line may be needed to workaround HTTP Basic auth issues when using PHP as a CGI.
    #RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -l [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^.*$ - [NC,L]
    RewriteRule ^(data/|js/|styles/|install/|favicon\.ico|crossdomain\.xml|robots\.txt) - [NC,L]
    RewriteRule ^.*$ index.php [NC,L]
</IfModule>
<IfModule mod_expires.c>
  ExpiresActive On

 # Images
  ExpiresByType image/jpeg "access plus 1 year"
  ExpiresByType image/gif "access plus 1 year"
  ExpiresByType image/png "access plus 1 year"
  ExpiresByType image/webp "access plus 1 year"
  ExpiresByType image/svg+xml "access plus 1 year"
  ExpiresByType image/x-icon "access plus 1 year"

  # Video
  ExpiresByType video/webm "access plus 1 year"
  ExpiresByType video/mp4 "access plus 1 year"
  ExpiresByType video/mpeg "access plus 1 year"

  # Fonts
  ExpiresByType font/ttf "access plus 1 year"
  ExpiresByType font/otf "access plus 1 year"
  ExpiresByType font/woff "access plus 1 year"
  ExpiresByType font/woff2 "access plus 1 year"
  ExpiresByType application/font-woff "access plus 1 year"

  # CSS, JavaScript
  ExpiresByType text/css "access plus 1 year"
  ExpiresByType text/javascript "access plus 1 year"
  ExpiresByType application/javascript "access plus 1 year"

  # Others
  ExpiresByType application/pdf "access plus 1 year"
  ExpiresByType image/vnd.microsoft.icon "access plus 1 year"
</IfModule>
 

Sgc

Active member
Registered
Joined
Nov 19, 2021
Messages
25
Points
13

Reputation:

Be careful not ftp directly in src/.htaccess.
 

sickminds444

Well-known member
Registered
Joined
Mar 16, 2021
Messages
56
Points
28

Reputation:

I will pay someone to help me fix this with crypto.
 
Top