Jump to content

ajaxStardust

Members
  • Posts

    33
  • Joined

  • Last visited

Everything posted by ajaxStardust

  1. trying this way... Options +ExecCGI AddHandler cgi-script .py RewriteEngine On # RewriteBase /flaskdemo RewriteBase / RewriteRule ^(media/.*)$ - [L] RewriteRule ^(admin_media/.*)$ - [L] RewriteRule ^(flask\.wsgi/.*)$ - [L] RewriteRule ^(.*)$ flaskdemo/flask.wsgi/$1 [QSA,PT,L] i am getting the heliohost/ hestia default 404 -- so i guess that's a good sign for the .htaccess? import os, sys # edit your path below sys.path.append("/home/admin/web/vps111.heliohost.us/public_html/flaskdemo"); sys.path.insert(0, os.path.dirname(__file__)) from myapp import app as application # set this to something harder to guess application.secret_key = 'secret' does that look correct for the wsgi file? if my path is ./flaskdemo the (presumed) public url being https://vps111.heliohost.us/flaskdemo
  2. i have an app which uses .phtml files, and an iframe for viewing file system stuff. i encounter the problem w/ the .pthml file not processing as Php i read the hestia forum on the issue, and edited the template file, as suggested (theres 2 files if i recall, an .tpl / .stpl [or tpls ]) i think the iframe presents an issue about ... it's a php ini setting. i'll have to look at my notes. pHp thing about reading filesystem stuff common [mostly] to VPS setups.
  3. Edit: How do I identify which server i'm on? (e.g. morty, etc..) reading here, but not really sure what to make of it. also, the examples provided are for a Plesk install, but i'm on a VPS w/ Hestia. My past Experience w/ Python web apps: i've installed (on my private LAN, debian setup) and run Python Flask (and Django, and the Jupyter notebook thing,etc.) my setup required Gunicorn. that's right at the time that i incurred the brain damage. that's basically where i was, but i totally can't remember... i guess it doesn't matter for an Apache Server? or maybe Gunicorn was independent of NGINX. maybe it doesn't matter w/ the Helio servers? i find it confusing before i get started, because I don't see you guys talking about that sort of setup at https://wiki.helionet.org/Flask i must be forgetting something simple. Suggestions?
  4. This matter is resolved (after I learned how to better identify the correct configuration). Thank you!
  5. hi there. i added the IP t-mobile 5G home IP addr to the Hestia allowed IP's. still i cant connect to the cannonical TLD s. centrewebdesign.com - has loaded; worked when DB was attached to uploaded files. confirmed - migrated okay neutility.life - has loaded (i think? but the db i have is too old to leave it published); worked when DB was attached to uploaded files. confirmed - migrated okay statecollegeguitarlessons.com (req domain renewall currently - havent done anything here) whatsonyourbrain.com - has loaded; worked when DB was attached to uploaded files. confirmed - migrated okay wordpresscenter.net - has loaded; worked when DB was attached to uploaded files. confirmed - migrated okay [EDIT] and vps111.heliohost.us (the acct name assoc subdomain) when i attempt to load the sites (windows 10), it's as if i'm not connected to the network: yet, the Hestia c/p i can get into fine on port :8086
  6. I started to "FTP HTML" circa 1997. I was in a student teaching program at Penn State University, where I was "pioneering internet use in the Classroom"... I actually received accolades for that. Anyway. Lol But, I was a "rockstar", and needed to do that bit while I was still young. So, I never became a school teacher see WhatsOnYourBrain.com/about-the-author That's a dead link at time of writing. I got this!
×
×
  • Create New...