Invalid command 'PassengerAppRoot', perhaps misspelled or defined by a module not included in the server configuration -django
I hosted a django website few week ago, it was working well and suddenly i got this error on my website.
[I am getting this error on my webpage] (https://i.stack.imgur.com/cIy6A.png) Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@plantsofnepal.com to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
And in webserver error log i am getting: Invalid command 'PassengerAppRoot', perhaps misspelled or defined by a module not included in the server configuration Latest web server error log messages: [Tue Nov 22 13:32:32.183578 2022] [core:alert] [pid 478] [client 40.77.167.57:34368] /home/plantsof/public_html/.htaccess: Invalid command 'PassengerAppRoot', perhaps misspelled or defined by a module not included in the server configuration [Tue Nov 22 13:32:32.183401 2022] [core:alert] [68] [client 40.77.167.57:34368] /home/plantsof/public_html/.htaccess: Invalid command 'PassengerAppRoot', perhaps misspelled or defined by a module not included in the server configuration
.htaccess file:
DO NOT REMOVE. CLOUDLINUX PASSENGER CONFIGURATION BEGIN
PassengerAppRoot "/home/plantsof/plantsofnepal" PassengerBaseURI "/" PassengerPython "/home/plantsof/virtualenv/plantsofnepal/3.8/bin/python" PassengerAppLogFile "/home/plantsof/plantsofnepal/logs/passenger.log"
DO NOT REMOVE. CLOUDLINUX PASSENGER CONFIGURATION END
I tried to remove this configuration and pass in .htaccess. I couldn't figure out why this error happened suddenly.