Jump to content

Krydos

Chief Executive Officer
  • Posts

    24,867
  • Joined

  • Last visited

  • Days Won

    886

Everything posted by Krydos

  1. The host is wrong. Use host: ricky.heliohost.org Also you don't have remote access to the postgres database. You have remote access to bma_bookmyarrival like you requested.
  2. You're using a Let's Encrypt free ssl certificate right now. The system can't install another SSL certificate until you uninstall that one. If you use Let's Encrypt you will need to update it yourself every 3 months. If you use the free ssl certificate that we automatically install for you it will even update itself when it gets close to expiring.
  3. Deployed. http://hkaldane.heliohost.org/Website/
  4. Deployed. http://sh4.heliohost.org/AppList/
  5. I renamed your .htaccess for you to remove the 403 forbidden message.
  6. You should now be able to access the postgresql database bma_bookmyarrival remotely with the postegresql user bma_user from all IPs.
  7. Also keep in mind that you posted at 4am, and then again at 6am on the morning of a holiday. I was soundly asleep at both times. Please be more patient. His IP is from India.
  8. Personally, I wouldn't waste money on an SSL certificate. Since your account is on Tommy free SSL certificates are automatically installed and updated on all of your domains for you.
  9. Please don't post your password. In case someone saw it before I edited it make sure you change your password. Remote postgresql is only available if you request it. What postgresql user, database, and IP would you like to access remotely?
  10. It looks like mysql on Johnny restarted itself right around the exact time that you posted this thread. It didn't crash it doesn't look like. During a restart there can be a little downtime. If you want better mysql uptime and stability I recommend transferring your account to Tommy. Mysql on Tommy hasn't restarted in 20 days, and I think I manually restarted it anyways.
  11. Deployed. http://hkaldane.heliohost.org/Website/
  12. There you go http://esp-diego.mg/
  13. Maybe try deleting the whole thing and installing it again instead of upgrading? I just installed phpmyadmin on Tommy and didn't get any errors, but I didn't have an old version to try updating.
  14. Alright! Create a folder in public_html called flask /home/username/public_html/flask/ In that folder create a .htaccess file: /home/username/public_html/flask/.htaccess RewriteEngine On RewriteBase / RewriteRule ^(media/.*)$ - [L] RewriteRule ^(admin_media/.*)$ - [L] RewriteRule ^(flask\.wsgi/.*)$ - [L] RewriteRule ^(.*)$ flask/flask.wsgi/$1 [QSA,PT,L] Create a file named flask.wsgi import os, sys # edit your username below sys.path.append("/home/username/public_html/flask"); sys.path.insert(0, os.path.dirname(__file__)) from myapp import app as application # make the secret code a little better application.secret_key = 'secret' Create a python script named myapp.py import sys from flask import Flask, __version__ app = Flask(__name__) application = app @app.route("/") def hello(): return """ HelioHost rules!<br><br> <a href="/flask/python/version/">Python version</a><br> <a href="/flask/flask/version/">Flask version</a> """ @app.route("/python/version/") def p_version(): return "Python version %s" % sys.version @app.route("/flask/version/") def f_version(): return "Flask version %s" % __version__ if __name__ == "__main__": app.run() Here is the working example: https://krydos.heliohost.org/flask/ This will only work on Tommy at the moment. Feel free to play around with it and let me know if you have any issues. If everything is working I'll see about writing up a wiki and making a news post about HelioHost now supporting flask.
  15. That looks pretty close to what I use.
  16. There you go http://quickpaydayloansrjnsh.com/
  17. Just use .htaccess. Even I don't really have access to virtualhosts. Cpanel gets very angry at me when I mess with httpd.conf.
  18. Thanks a lot! I'm sure this post will help a lot of people.
  19. You have to select the database first otherwise it tells you "No database selected".
  20. To import a .sql file go to https://ricky.heliohost.org:2083/frontend/paper_lantern/sql/PhpMyAdmin.html Select the database, and click import.
  21. You choose the Johnny server which is our experimental server. This means he can be rather unstable quite a lot of the time because of high load. When Johnny is experiencing high load adding a domain can sometimes break or fail halfway through. Our stable production servers, Tommy and Ricky, don't experience these kinds of problems.
  22. ...this one should be pretty self explanatory... The table settings doesn't exist: mysql> use exploit_database; Database changed mysql> show tables; Empty set (0.00 sec) Do you have a .sql file you meant to import perhaps?
  23. The postgresql user cthieme_admin should now be able to remotely access the postgresql database cthieme_tales from any IP.
  24. You didn't add permissions for that account on that database.
  25. Deployed. http://llou21.heliohost.org/roadangel/
×
×
  • Create New...