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 HTTP_X_REQUESTED_WITH but on the production server (cherokee+scgi) all I get is X-Requested-With.
I've used...
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 installer using Apple's PackageMaker.app that comes with Xcode but i'm installing everyth...
I'm running Cherokee web server 0.99.30 on (Ubuntu Hardy) and I have been having some issues getting the admin to run property.
When I run sudo cherokee-admin -b
Login:
User: admin
One-time Password: {password}
Web Interface:
URL: http://localhost:9090/
[20/11/2009 22:57:29.733] (error) config_reader....
I develop on different machines. I use MAMP, I have it installed on my dropbox folder and created symbolic links to the applications folder. That way if I work one day on my desktop and make changes to lets say a database schema and next day I work from my laptop I won't have to do any db migration stuff the same applies for all the apac...
Is is possible to run Cherokee per vhosts and using a given linux username similar to apache2-mpm-itk. Or there is any other way to run each vhost in a sperate uid (and maybe gid)?
...
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 configuration of these servers to be more straightforward and minimal.
Why do people use ...
I have a django-mingus blog running perfectly fine with the integrated development web server of django. It's installed in a virtualenv.
Once deployed using the django app wizard of cherokee 0.99.42 the admin pannel is displaying a strange behaviour. Sometimes all apps are displayed in the admin pannel sometime only a subset of the apps...
I'm running Cherokee on a Linux server, and I have a simple script like this:
$(function() {
$('#avatars, #Avatar').hide();
$('shoo').change(function() {
$('#avatars, #Avatar').hide();
});
});
But I keep getting Javascript parse errors. The reason is because if I access the script from my browser, it is truncated. The output is s...
I am moving from Apache to Cherokee for some trials
I want to do the redirect in cherokee that i do for Apache:
# Redirect to the WWW canonical name
RewriteEngine On
RewriteCond %{HTTP_HOST} !=www.domain.com
RewriteRule ^ http://www.domain.com%{REQUEST_URI} [R=301,L]
But cant find any explanation on how this is done
any help ap...
I have a Cherokee virtual host configured as follows:
1st rule: "Directory /" -> HTTP Reverse Proxy
2nd rule: "Directory /" -> uWSGI
I know the second rule is useless because it's never triggered.
However, the first rule seldom returns a 504 Gateway Timeout error so I was thinking of failing over the second rule, yet I don't know how...
Has anyone tried using uWSGI with Cherokee? Can you share your experiences and what documents you relied upon the most? I am trying to get started from the documentation on both (uWSGI and Cherokee) websites. Nothing works yet. I am using Ubuntu 10.04.
Edit: To clarify, Cherokee has been working fine. I am getting the error message:
...
I recently got my first app to work in uWSGI with Cherokee. I used the following code taken from the uWSGI docs:
def application(environ, start_response):
start_response('200 OK', [('Content-Type', 'text/plain')])
yield 'Hello World\n'
The page correctly reads Hello World. When I change that text to New Thing and refresh, nothing ...
I use cherokee(1.0) as web server and django web framework(1.2.1).
When I update django files like views.py or static files, web server seems
not to update instantly. I guess it is about cache, so i set expiration "already expired on 1970", but the problem remains.
I also try to restart server in admin website, but still can't solve t...
Hello All,
I'm having a real problem with this because I just can't get my head around regexes.
I'm using Cherokee Web Server and I'm trying to use a regex to perform a redirection.
I need to get the following url (for example)
/parts/tr/accessories/tyres
to the controller like this
index.php?page=parts&catalogue=tr&category=acces...
I have successfully deployed a Django app with uWSGI + Cherokee.
However, I want to experiment with Pylons before I go decide on Django.
So far I have followed the instructions/recommendations here:
http://stackoverflow.com/questions/2217679/deploying-pylons-with-uwsgi
Paster serve works without a hitch. But when I try to serve via uWS...
I had no issue with Django + uWSGI + Cherokee. BUt I would like to try pylons before committing to either framework.
I followed the tutorial from pylonshq.com - 1.0/gettingstarted
I ran into no problems when running pylons with paste.
So I used instructions to run pylons with uWSGI from projects.unbit.it - uwsgi/wiki/UsePaste
This is...
I have a Cherokee instillation that I'm using to serve a few web applications. One blog/calendar/etc. and 2 compute intensive web-applications (1 stable version and 1 "developmental" version). All three are Django or Pylons webservices that are served with Cherrypy. I use the reverse-proxy handler in Cherokee to handle the mappings.
...
Hey all,
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 questions before they're asked, I am definitely using the proper php.ini file(s) and I'v...
How do you compare Nginx and Cherokee in terms of memory usage and performance? My VPS serves Drupal 6.16, magento 1.4.1 and CS-CART 2.0.15 with apache2 prefork-mpm. Apache2 eats my memory even though my sites are pretty low traffic profile (htop shows that each apache process eats %18 memory) . If I change apache to nginx or cherokee w...