Hot Summer Deals are Here!
Celebrate with up to 99% off on 17,700 resources
01
Days
21
Hours
12
Mins
24
Secs

.htaccess issue with pinging servers

Status
This thread has been locked.

Alex Jones

Premium
Feedback score
7
Posts
145
Reactions
82
Resources
0
Trying to get my website to display players on a server, but it's got something to do with my .htaccess file. I tried googling how to allow connections to outside sources, but I legit have no fucking idea how to fix this lol

here's my current .htaccess file format

Code:
RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

ErrorDocument 404 /404.html

my website; https://dreamvalleymc.com/

currently pinging mc.hypixel.net - there should be a number in the obviously empty circle where it says "join online players" bla bla bla

pls help am retardo

thank you
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Severingcastle8

Backend Web Developer
Supreme
Feedback score
27
Posts
736
Reactions
270
Resources
0
I use and have no problems with stuff like that.
Code:
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://yourdomain.com/$1 [R=301,L]

Add me on discord if needed Severingcastle8#8743
 
Last edited:
Status
This thread has been locked.
Top