Jump to content

patents

Members
  • Posts

    92
  • Joined

  • Last visited

About patents

  • Birthday February 17

Profile Information

  • Gender
    Male
  • Location
    India
  • Interests
    Python, Django

patents's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Please unblock my IP 202.131.108.4
  2. When I tried logging in today, I saw this message for the first time since I created my account. That account has been backed up and then taken offline due to extended maintenance on the server that you were on. Is is possible to reactivate My account? Thanks.
  3. Thank you Krydos. This is all I wanted. A Try. I am done with requesting nginx on heliohost.
  4. https://blog.cpanel.com/brace-yourselves-nginx-is-coming/
  5. April 2019 Web Server Survey on netcraft says that Most websites now use nginx! It reminds me my original post: Tommy is useless for Production. Here is the link to survey:https://news.netcraft.com/archives/2019/04/22/april-2019-web-server-survey.html Nginx just became the most used web server among the top 1000 websites The Apache HTTP server and NGINX are the two most popular open source web servers powering the Internet today. When Igor Sysoev began working on NGINX over 10 years ago, no one expected that the project he created for the purpose of accelerating a large Apache‑based service would grow to have the influence it has now. Apache HTTP server is a solid platform for almost any web technology developed over the last 20 years, but time is showing that the architectural decisions made when the code was first laid down are becoming limiting factors in its suitability for modern web demands. Conclusion Apache and NGINX both have their place, and NGINX is clearly in the ascendency. Your requirements and experience might lead you to chose one or both, or even a different path. A monolithic architectural framework was sound practice when Apache was new and fresh, but app developers are finding that such an approach is no longer up to the task of delivering complex applications at the speed their businesses require. Microservice architecture is emerging as the wave of the future for web apps and sites, and NGINX is perfectly poised to assume its place in that architecture as the ideal application delivery platform for the modern Web from https://www.nginx.com/blog/nginx-vs-apache-our-view/ I don't want to start it again. Just saying what stats says. Most websites now use nginx we should consider too! and no I don't want to delete my account and start using vps.
  6. As krydos mentioned It depends on library (called modules in python community) that you are trying to use. Pure python library are ok to use that way. You can always request here to install any library on pypi to be installed.
  7. I want to set it up so that when the tommy is down, my main domain will redirect to another url. Then, when the server comes back up, it directs back to server tommy. Is that possible? If so, how do I set that up? Thanks in advance!
  8. It's been 6 hours tommy's down. I think only krydos can fix it.
  9. Thanks. Sorry for not making it clear. I posted above sample from working example your provided in the original flask discussion which was working fine for me when I hosted at public_html/flask (by off course changing username). however when I created it as subdomain it was not working. The reason I presume could be this line. RewriteRule ^(.*)$ flask/flask.wsgi/$1 [QSA,PT,L]Because, when I was visiting flask.patents.heliohost.org it was giving me error but when I visited patents.heliohost.org/flask it was working fine. I am not Apache guy. you can throw some light. when I changed it to this: RewriteRule ^(.*)$ flask.wsgi/$1 [QSA,PT,L]Now patents.heliohost.org/flask is not working but flask.patents.heliohost.org is working. Thanks
  10. I am trying to deploy flask app on subdomain say testings. this is my .htaccess. RewriteEngine On RewriteBase / RewriteRule ^(media/.*)$ - [L] RewriteRule ^(admin_media/.*)$ - [L] RewriteRule ^(flask\.wsgi/.*)$ - [L] RewriteRule ^(.*)$ flask/flask.wsgi/$1 [QSA,PT,L]This is my 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 = '<removed>'when I visit using user.heliohost.org/testings it works but when I visit using testings.user.heliohost.org it throws internal server error.
  11. Check this out. This may be helpful: https://github.com/mikehaertl/phpwkhtmltopdf
×
×
  • Create New...