问题标签 [cherokee]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
file-permissions - Cherokee:访问 uwsgi 配置文件
我在用于 Django 生产环境的 Ubuntu Server 13.10 上遇到了 Cherokee+uWSGI 的权限问题。当我在启动 cherokee 之前以 root 用户身份手动启动 uWSGI 时,一切都很顺利:
但是,当我尝试通过服务器(以 www-data 运行)访问该站点时,我不断503 Service Unavailable
在日志中收到响应和以下消息:
我花了很长时间试图找出导致问题的原因。我尝试将所有权授予各种文件权限,$USER:www-data
范围从.www-data:www-data
600
777
出于安全原因,我不想以 root 身份运行服务器。如何使切诺基可以访问 ini 文件?
apache - Cherokee 中的 Apache 重写规则
如何在切诺基中使用以下 apache 重写规则?
我试图像这样修复它:
但它没有工作......
django - 如何使用 Cherokee 服务 Django 媒体用户上传的文件,并限制登录用户
如何配置 Django 和 Cherokee 以提供来自 Cherokee 的媒体(用户上传)文件,但仅在生产中使用 @login_required 来登录用户。
linux - 切诺基基于 OBS 构建
我正在尝试通过 OpenSuse 的 Open Build Service 从源代码创建 Cherokee 的 rpm 包。我已经上传了 SUNWCHerokee.spec,但是构建失败了,我不知道为什么。这是日志文件。我希望有人能帮助我。
php - codeigniter 3.0rc2 Sqlite3 不返回任何数据
我在运行 ubuntu 的嵌入式设备上使用 codeigniter 3rc2 和 Sqlite3。服务器和php配置正确。当我尝试从数据库中检索数据时,它返回一个空查询对象。
我尝试并排除的问题:
- 使用 Python 时访问和读取数据库有效(数据库中有数据)
- codeigniter 日志中没有错误
- 将 /config/database.php 更改为不存在的文件时,codeigniter 按预期抛出错误
- 使用 querybuilder 或直接 sql 时,结果相同,没有数据
- 将 SQL 语法更改为不存在的表时,codeiginiter 会按预期抛出错误。
那么我在这里做错了什么?
一些codeigniter代码
导致浏览器窗口
配置/数据库.php
python - Django uwsgi subprocess and permissions
I'm trying to generate PDF file from Latex template. I've done it in development environment (running python manage.py straight from eclipse)... but I can't make it work into the server, which is running using cherokee and uwsgi.
We have realized that open(filename) creates a file owning to root (also root group). This isn't taking place in development environment... but the most strange thing about this issue is that somewhere else in our code we are creating a text file (latex uses is a text file too), but it's created with the user cherokee is supposed to use, not root!
What happened? How can we fix it?
We are running this code on ubuntu linux and a virtual environment both in development and production.
We started following some instructions to do it using python's temporary file and folder creation functions, but we thought that it could be something related with them, and created them "manually" in order to try to solve this issue... but it didn't work.
django - 在 Yocto 上部署 Django 应用
我目前正在开发一个需要将 Django 应用程序部署到运行自定义版本 Yocto 项目的 ConnectCore 6 UL SBC Pro 的项目。
我在将我的应用程序部署到这个设备上时遇到了很多问题,我想知道是否有人曾经在 Yocto 上做到这一点。
到目前为止,我正在尝试使用 Cherokee 部署我的应用程序,这并不像他们想象的那么容易!
* 更新 *
我选择了 Apache2 并添加了在 openembedded.com 上可用的 mod-wsgi。我需要能够使用以下命令访问我的开发服务器:
还允许任何主机将 * 添加到 settings.py