Static Web Page - https

Back to Problem Solutions forum

Moff     2015-01-08 11:12:52
User avatar

I'm using https://www.pythonanywhere.com for hosting files:

https://www.pythonanywhere.com/user/Moff/files/home/Moff/p187.txt

But checker return

Url should start with http://
Rodion (admin)     2015-01-08 17:29:56
User avatar

Sergey, Hi!

I'm afraid that this url is anyway inaccessible for anyone except you (when you are logged into pythonanywhere).

I.e. even if I make checker to work with https, it will not be able to load this page.

Could you please check - probably this is some internal url... Moreover it is to your home folder while files are served, I think, from /var/www instead...

I believe that when you have you web-app running here (it should appear in Web tab) your link would be like

http://moff.pythonanywhere.com/p187.txt

(not quite sure whether first letter M would be capitalicised or not)

I'm sorry for I have no experience with PythonAnywhere. I'll try to improve soon...

UPD I've started researching this resource. Just found how to serve static files and started writing instructions: http://www.codeabbey.com/index/wiki/pythonanywhere-basic-usage

Moff     2015-01-08 20:05:35
User avatar

Thanks, I've followed by instructions and solved a problem.

Please login and solve 5 problems to be able to post at forum