Author Topic: Trying to get my .htaccess file to still let me run my xml file  (Read 800 times)

0 Members and 1 Guest are viewing this topic.

Offline Fox_Of_The_Wind

  • Forecaster
  • *****
  • Posts: 483
  • Hi there!
    • http://www.desotowiwx.com
Trying to get my .htaccess file to still let me run my xml file
« on: February 27, 2020, 11:30:03 AM »
I have been trying to get my website secured and I think I am getting someplace. But right now I see that a few of my LED signs I have in my work shop are not updating anymore. The XML file is still updateing (https://www.desotowiwx.com/wdfulldata.xml) But the program that I have that reads the file and updates the sign can't see the file anymore.

Anyway for a test I deleted the .htaccess file from the server. The signs then seen the xml file again.

So can I put in some way into my htaccess file to be able to still run my xml file? I will post my htaccess file here (its small)

RewriteEngine On
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]
RewriteRule ^ https://www.%1%{REQUEST_URI} [L,NE,R=301]

Any thoughts on it?

thanks!

Anthony

Offline Mapantz

  • Forecaster
  • *****
  • Posts: 781
    • Wareham Weather
Re: Trying to get my .htaccess file to still let me run my xml file
« Reply #1 on: March 25, 2020, 07:31:12 PM »
Are you trying to force HTTPS?


Offline Fox_Of_The_Wind

  • Forecaster
  • *****
  • Posts: 483
  • Hi there!
    • http://www.desotowiwx.com
Re: Trying to get my .htaccess file to still let me run my xml file
« Reply #2 on: April 22, 2020, 08:32:12 PM »
Are you trying to force HTTPS?

sorry for not seeing this faster. What do you mean by forcing HTTPS? I am using sslforfree does that help?

Anthony