Question
Why does my python application created with CloudLinux Python Selector show a 503 error when using LiteSpeed?
Answer
You must ensure that you have enabled Python Selector properly for use with LiteSpeed. Use the following steps to resolve the issue:
- Make sure Python and Ruby Selector work properly under Apache (follow CloudLinux instructions to install and configure).
- Test a Ruby or Python application with Apache and ensure it is running OK.
- Run script to install required ruby/python lsapi modules:
/usr/local/lsws/admin/misc/enable_ruby_python_selector.sh - Switch to LiteSpeed and try a ruby/python app