So have you updated passenger_wsgi please connect to our django project
WSGI

On Fri, 25 Oct 2024, 23:50 Lenny, <[email protected]> wrote:

> Yes i tried all that but there seems to be no change. The cpanel is
> provided by a hosting company so i have very limited access to the machine.
> When i create a python app it automatically generate a passenger_wsgi in
> the project folder. I tried following various tutorials online but they are
> limited and none of them worked for me.
>
> On Fri, 25 Oct 2024 at 19:17, Aatish G Nair <[email protected]> wrote:
>
>> Yes, I’ve  used cPanel deployments. A 500 error usually happens because
>> of:
>>
>> Please check allowed host , collect static
>>
>> WSGI Path kindly Ensure the WSGI file has the correct Django project path.
>>
>> Let me know if any of these solve it!
>>
>> If not please check with debug= true. Possible some error in the code.
>>
>> On Fri, 25 Oct 2024, 21:34 Lenny, <[email protected]> wrote:
>>
>>> Hey, any of you ever hosted a website on cpanel? If so what process did
>>> you use? I tried uploading the django website code, creating the python app
>>> and installing dependencies but the site seems not to run unless Debug is
>>> True. I get a server error 500 when Debug is False. I followed this
>>> tutorial
>>> https://geekydocs.com/blog/deploying-your-django-application-in-cpanel
>>> and still get the error. Kindly help.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion visit
>>> https://groups.google.com/d/msgid/django-users/CAE1sx0K%3D3EGGEBN4FyZkb2N8z4eRsd478%3D%2BWSmDs%2Bvg%2BAm90dg%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CAE1sx0K%3D3EGGEBN4FyZkb2N8z4eRsd478%3D%2BWSmDs%2Bvg%2BAm90dg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion visit
>> https://groups.google.com/d/msgid/django-users/CAOp5q4D1cj3B8Fnu%3DZqtbAkQr4oxzFsADo2iRPKccoCWidUPuQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAOp5q4D1cj3B8Fnu%3DZqtbAkQr4oxzFsADo2iRPKccoCWidUPuQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion visit
> https://groups.google.com/d/msgid/django-users/CAE1sx0%2B-5ZXZ8H%2BmKW94%2BASkD4%3DkvCCP-_oHv5Fs_1bYJhmf%2BA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAE1sx0%2B-5ZXZ8H%2BmKW94%2BASkD4%3DkvCCP-_oHv5Fs_1bYJhmf%2BA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-users/CAOp5q4DWQoK71u8TFm%2BwY0FTKwkAHF%3DvrNiSOU-vvJG%3DtZA3mw%40mail.gmail.com.

Reply via email to