Web Timing throws 403 Forbidden

Posts: 53
I've tried the web live timing, but I've run into some issues. The settings are ok, the web folder is set on chmod 777 for testing purposes, but it says Running with errors and I can't see the website.

It says: "The remote server returned an error: (403) Forbidden." in the log.

Could that be something with HTTPS as mentioned in Help on the website? The website must run in HTTP instead of HTTPS?

Thanks
Posts: 785
It should work in HTTPS if the webserver accepts TLS 1.0, 1.1 or 1.2 I think. Although I am not an expert on these things, but that's how it's configured.

I am not sure if 403 is related to HTTPS, I think it's likely another access issue. Can you access the post.php file just in your browser? You won't be able to send any data so it will say "incorrect password" but it should at least show something other than 403.
Posts: 46
Hey Nick,

I just wanted to say that the Webtiming worked like a charm today. I switched multiple times the session, and everything worked like it should. Great work mate 👍

I here's the url to the page if you want to have a look on the timing page
lowgrip.lu/webtime
Posts: 53
Nick Thissen wrote:
I am not sure if 403 is related to HTTPS, I think it's likely another access issue. Can you access the post.php file just in your browser? You won't be able to send any data so it will say "incorrect password" but it should at least show something other than 403.

It's the ATVO that throws that error, while the live timing website itself is just grey, without any text.

I can access post.php. It says indeed Incorrect password on a simple basic site with white background.
Posts: 785
Can you find any logging on your webserver that may indicate why it is showing 403? 403 means the connection was OK but the webserver decided for some reason to not allow it. There can be so many reasons that it's not useful to speculate. If you can find more information we can see if it is something we have to support or if it is something you have to configure differently on your webserver.

One more thing, does the error say "Webtiming error" or "Server error" in front of that error text?
Edited (1 time)
Posts: 53
Nick Thissen wrote:
One more thing, does the error say "Webtiming error" or "Server error" in front of that error text?

Good point. It says "Webtiming error"

Also, I'm going to check if I can access some logging to try to gather as much information as possible.
Posts: 53
I can confirm it's a webserver setting. I put it on my friend's website at another hosting company and it's working flawlessly. I'll try to find out what's behind it.
Posts: 785
It's probably related to access rights on the server or misconfigured htaccess file. Some potential solutions here perhaps: https://stackoverflow.com/questions/1300125/php-script-403-forbidden-error
Posts: 53
Nick Thissen wrote:
It's probably related to access rights on the server or misconfigured htaccess file. Some potential solutions here perhaps: https://stackoverflow.com/questions/1300125/php-script-403-forbidden-error

Got it! It was indeed about rewrite rules in .htaccess and security measures. First, I had to reset it for that specific folder by using:

RewriteEngine On
RewriteRule ^ - [L]

And then I could set up the rules again but this time also allowing this PHP/JS code.
Edited (2 times)