ujcis Posted yesterday at 10:33 AM Posted yesterday at 10:33 AM Hi! I'd like an additional domain (if I can get one) with the url wegocarryfirst.helioho.st. I intend to run a flask app on it, and I'll be needing wsgi control as well. My username is ujcis. Thank you! Quote
wolstech Posted yesterday at 12:59 PM Posted yesterday at 12:59 PM Domain added. It can take up to 2 hours to work. We can't add the WSGI access at the moment because the app doesn't exist yet. The WSGI file must exist before that can be requested. Let us know when the app has been installed and we can set that up for you. Quote
ujcis Posted 19 hours ago Author Posted 19 hours ago Thanks! I've decided to use PHP, however I ran into an issue. I'm not sure where to place my htaccess file. I placed it in the new wegocarryfirst.helioho.st folder's root and it's content is: # .htaccess RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] I'm trying to route everything to index.php but I'm getting 502 Bad Gateway (nginx) or "Not Found". I'll appreciate any help. Thanks again. Quote
wolstech Posted 18 hours ago Posted 18 hours ago We're looking into this. It looks like Johnny's PHP may have something wrong with it. You're not the only one seeing Gateway Timeout unexpectedly when Apache isn't restarting. I put a basic phpinfo on your account and renamed the .htaccess to disable that...even that won't run: http://wegocarryfirst.helioho.st/phpinfo.php gives a 504 for me. Quote
ujcis Posted 15 hours ago Author Posted 15 hours ago (edited) Thanks for your help. For now, I'll temporarily go with flask (I'll try PHP again when everything's normal). Can you kindly enable wsgi control for me? I followed the python set up instruction and have /cgi-bin/test.py running successfully, however, my flask app located in the main directory (wegocarryfirst.helioho.st) is showing "Internal Server Error". I once had a python app here with error logs. I'm not sure if I enabled the error logs myself or by the help of a moderator. The app runs without issues on my localhost. In summary, I need wsgi control and error_logs. Thanks again! Edited 15 hours ago by ujcis Quote
wolstech Posted 14 hours ago Posted 14 hours ago Krydos can help with the WSGI and troubleshooting. 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.