Questions tagged [cherokee]

Cherokee is a fast, flexible and easy to configure Web Server.

66 questions
14
votes
4 answers

serving static files on Django production tutorial

Does anyone have a simple step-by-step tutorial about serving static files on a Django production app? I read the Django docs and it sounds really complicated... I'm trying to go the route of serving static files using a different server like…
rabbid
  • 5,465
  • 7
  • 26
  • 37
12
votes
3 answers

Why use Apache over NGINX/Cherokee/Lighttpd?

Apache has been the de facto standard web server for over a decade, but recent years have brought us web servers that consume less RAM and handle many more requests per second using fewer threads and asynchronous i/o. In my opinion, I also find the…
codysoyland
  • 633
  • 1
  • 5
  • 7
8
votes
3 answers

Test if X-Sendfile header is working

I am looking for a way to confirm if X-Sendfile is properly handling requests handed back to the webserver by a script (PHP). Images are being served correctly but I thought I would see the header in curl requests. $ curl -I…
5
votes
1 answer

Deploying a Pyramid application using uWSGI and Cherokee

I'm attempting to setup a generic Pyramid project to work with uWSGI through Cherokee, but constantly get a "no app loaded" error. All the research I've done doesn't really give me much to go on. Anyone have any ideas? Please note that I 'am' using…
William Chambers
  • 499
  • 2
  • 13
3
votes
3 answers

C++ compatibility for lightweight web servers

I'm very new to Web server matters, and relatively a naive student of C++. I'm now working on a project where I have to create a Plugin to an existing web server. It is a commercial project for a company, but it's also my bachelor thesis project.…
the_naive
  • 2,936
  • 6
  • 39
  • 68
3
votes
1 answer

What is the correct directory layout for a web server under Mac OS X?

I'm packing the Cherokee Web Server, a very very fast webserver with a nice web-based GUI for configuration written by the spanish hacker Alvaro Lopez Herrera and available from http://www.cherokee-project.com. So far, I've managed to create a .pkg…
gnrfan
  • 19,071
  • 1
  • 21
  • 12
3
votes
1 answer

How can I redirect ports in Cherokee?

I've installed cherokee and am very happy with it. But now I'm wondering how I can redirect ports. I'd like to redirect port 80 to other ports based on the hostname, as follows: Request for http://a.mysite.com to http://mysite.com:8000 Request for…
Jan Willems
  • 171
  • 2
  • 11
3
votes
2 answers

X-Requested-With/HTTP_X_REQUESTED_WITH weird problem

I'm building a Django site and trying to use the request.is_ajax() function... But it's only working locally and it's driving me crazy! I'm at the point where I've just dumped the headers. Here (on the django test server) there's…
Oli
  • 235,628
  • 64
  • 220
  • 299
3
votes
1 answer

Multiple php.ini files

I'd like to use multiple .ini files in a certain PHP instance. php-cgi -c /etc/php5/cgi/php.ini -c /var/www/php_oc.ini I tried something like this but it uses the last defined config file. I'd like to use the default ini as the base and then…
fie
  • 407
  • 3
  • 10
2
votes
1 answer

Cherokee causing problems spawning multiple uwsgi instances

I am running cherokee to serve a django app using uwsgi. I have been having some strange behavior since upgrading to cherokee 1.2.x. The setup worked fine prior to cherokee 1.2.x and I haven't changed any of my configuration. The problem is that…
dgel
  • 16,352
  • 8
  • 58
  • 75
2
votes
2 answers

Deploying flask on cherokee and uwsgi

I'm attempting to deploy a flask web app I've developed using cherokee and uwsgi. I got cherokee and uwsgi installed and working (i think uwsgi works), but when I configure the app in cherokee, i just get an error saying uWSGI Error wsgi application…
Tom Brunoli
  • 3,436
  • 9
  • 36
  • 54
2
votes
1 answer

How to maintain multiple Django projects as port-based Cherokee virtual hosts?

Is it possible to maintain multiple Django (actually, FastCGI/SCGI) projects on one IP address, and distinguish them by port? I really like Cherokee. Its admin interface and ease of customization, which it brings, are just awesome. So, I feel kinda…
Ewan Doe
  • 205
  • 1
  • 8
2
votes
2 answers

Restart to see changes? Cherokee + uWSGI + Django/Pinax + Virtualenv

I'm having some trouble with Cherokee + uWSGI picking up on code changes to .py files in my django app. Even using find -name "*.pyc" -delete ...seems to have no effect. Changes are noticed instantly, on refresh, when running the same code base…
Daryl
  • 1,469
  • 5
  • 18
  • 30
2
votes
2 answers

Set up Cherokee + Web2py on Ubuntu 10.04 Lucid

Anyone have a script or set of instructions for setting up a fresh install of web2py on Cherokee on Ubuntu 10.04 Lucid (in the cloud)? Lucid or Cherokee repositories OK. Sqlite fine for now but MySql or Postgres would be great.
pbreitenbach
  • 11,261
  • 3
  • 33
  • 24
2
votes
1 answer

PHP not loading custom extension

I'm writing a custom extension in PHP and am loading the extension in the php.ini file. The extension loads and runs fine when using the command-line interface, but it doesn't load in the web server (Cherokee with FastCGI). To head off some…
okalex
  • 788
  • 5
  • 12
1
2 3 4 5