Raised This Month: $ Target: $400
 0% 

Odd behavior from CS:S HTML MOTD


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Doulos
AlliedModders Donor
Join Date: Aug 2007
Old 03-05-2020 , 14:22   Odd behavior from CS:S HTML MOTD
Reply With Quote #1

My HTML MOTD quit updating at the server. When I recently changed my HTML MOTD and restarted my server the MOTD remains the same as it was before the said changes.

I have my MOTD read remotely like this example:

motd.txt:
HTML Code:
<html>
<head>
<meta HTTP-EQUIV="Refresh" CONTENT="0; URL=http://mycss-server.site.nfoservers.com/motd/index.htm">
</head>
<body>
</body>
</html>
I know the server is being read from this file because if I change the name if the html file to index.html (instead of .htm) I get an error that it can't find that file. However, if I copy and paste the URL into my browser the MOTD shows up as the changed version, whereas the old version shows up when on the server. I have been managing this server for 15 years and I have never had this issue before.

Any ideas what is going on?

Last edited by Doulos; 03-05-2020 at 14:56.
Doulos is offline
Doulos
AlliedModders Donor
Join Date: Aug 2007
Old 03-05-2020 , 14:57   Re: Odd behavior from CS:S HTML MOTD
Reply With Quote #2

Fixed it by changing the URL to myscc-server.com/motd, restarting the server then changing the URL back to the original and restarting. Weird.
Doulos is offline
sphinx
Senior Member
Join Date: Jun 2005
Location: E.U. / localhost
Old 03-06-2020 , 01:52   Re: Odd behavior from CS:S HTML MOTD
Reply With Quote #3

Why use HTTP-EQUIV="Refresh"? Useless.
sphinx is offline
Doulos
AlliedModders Donor
Join Date: Aug 2007
Old 03-06-2020 , 05:04   Re: Odd behavior from CS:S HTML MOTD
Reply With Quote #4

Quote:
Originally Posted by sphinx View Post
Why use HTTP-EQUIV="Refresh"? Useless.
Copied that from a google search years ago.
Doulos is offline
sphinx
Senior Member
Join Date: Jun 2005
Location: E.U. / localhost
Old 03-07-2020 , 05:19   Re: Odd behavior from CS:S HTML MOTD
Reply With Quote #5

In motd.txt you can use just
Code:
http://mycss-server.site.nfoservers.com/motd/index.html

Last edited by sphinx; 03-07-2020 at 05:20.
sphinx is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:20.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode