Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/345.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 在Openshift上为Ghost博客定制503_Python_Node.js_.htaccess_Openshift_Ghost Blog - Fatal编程技术网

Python 在Openshift上为Ghost博客定制503

Python 在Openshift上为Ghost博客定制503,python,node.js,.htaccess,openshift,ghost-blog,Python,Node.js,.htaccess,Openshift,Ghost Blog,我找到了一种使用Python的方法,但我不知道如何使用OpenShift中的Ghost博客来实现这一点。能找个更熟悉的人帮我吗?我现在不知所措 尝试将以下内容添加到htaccess文件中 ErrorDocument 503 /503.html 但这会持续到重新启动应用程序,这是我的问题。

我找到了一种使用Python的方法,但我不知道如何使用OpenShift中的Ghost博客来实现这一点。能找个更熟悉的人帮我吗?我现在不知所措

尝试将以下内容添加到htaccess文件中

ErrorDocument 503 /503.html

但这会持续到重新启动应用程序,这是我的问题。