papasenpai Posted 2 hours ago Posted 2 hours ago Hello, I'm trying to convert my Django (v5.0.7, python version 3.12.7) project to work on my Morty account (specifically my testing domain papasenpai.heliohost.us), however I cant seem to get it working. I apologize in advance for my lack of knowledge of the subject. I have followed the Django tutorial https://wiki.helionet.org/Converting_an_Existing_Django_App#Converting_an_Existing_Django_App_to_work_on_HelioHost, and I still get this error: Quote 2025-05-01 14:48:09 Error 54.229.63.86 500 GET / HTTP/1.0 Plesk screenshot bot https://support.plesk.com/hc/en-us/articles/10301006946066 1.22 K Apache SSL/TLS access 2025-05-01 14:48:09 Error 54.229.63.86 500 GET /favicon.ico HTTP/1.0 https://papasenpai.heliohost.us/ Plesk screenshot bot https://support.plesk.com/hc/en-us/articles/10301006946066 1.22 K Apache SSL/TLS access 2025-05-01 14:48:09 Error 54.229.63.86 AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace. Apache error 2025-05-01 14:48:09 Error 54.229.63.86 AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: https://papasenpai.heliohost.us/ Here is my directory structure: Quote home/ └── domain/ └── httpdocs/ ├── .htaccess ├── db.sqlite3 ├── manage.py └── senpai_wtf/ └── pages/ └── senpai_wtf/ ├── __init__.py ├── asgi.py ├── dispatch.wsgi ├── settings.py ├── urls.py └── __pycache__/ └── static/ └── staticfiles/ └── templates/ Here is my .htaccess: Quote Options +ExecCGI RewriteEngine On RewriteBase / RewriteRule ^(media/.*)$ - [L] RewriteRule ^(admin_media/.*)$ - [L] RewriteRule ^(senpai_wtf/dispatch\.wsgi/.*)$ - [L] RewriteRule ^(.*)$ senpai_wtf/senpai_wtf/dispatch.wsgi/$1 [QSA,PT,L] Finally here is my dispatch.wsgi: Quote import os, sys sys.path.append("/home/papasenpai.helioho.st/httpdocs/senpai_wtf") from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'senpai_wtf.settings') application = get_wsgi_application() Thank you, Troy 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.