Cherokee Webserver
See all
Members (124)
Stefan de Konink's profile photo
Alvaro Lopez Ortega's profile photo
Leslie Shearer (Cherokee)'s profile photo
Derwent Ready's profile photo
Jeremy Morton's profile photo
Kacper Jabłonka's profile photo
Mehmet Ali Sahin's profile photo
Leonel Nunez's profile photo
Daniel Lo Nigro (Daniel15)'s profile photo
Leon H.'s profile photo
Alexander von Gluck's profile photo
Keith Murphy's profile photo
Leslie Yvonne Shearer's profile photo
Iain Williams's profile photo
Thomas Khaipi's profile photo
Leslie  Shearer's profile photo
Jacob Padilla's profile photo
Antonio Pérez's profile photo
Alejandro Illescas's profile photo
Johan van Bers's profile photo
Ismael Perez (King Caonabo of Maguana)'s profile photo
Trevor Black's profile photo
Daniel Niccoli's profile photo
Albert Bruc's profile photo

Stream

Join this community to post or comment
 
Hello.
I'm still a beginner, so do not judge strictly.

Given:
1) my home router, external ip (say): 111.111.111.111
2) my home is an experimental server. Internal ip (say): 222.222.222.222
3) On your home router set port forwarding the Internet:
from the outside 80 to 8080 home server 222.222.222.222
from the outside 443 443 home server 222.222.222.222
from the outside 8181 to 8181 home server 222.222.222.222
4) the server uses debian 8.1. Install the web server cherokee. It has a Web administration interface.

5) At work I am behind a proxy. Its external ip (say): 333.333.333.333
6) the internal ip of my desktop PC (for example): 444.444.444.444
7) Debian user on my work computer (for example): myuser

You need to configure the computer at work for remote administration of the Cherokee web server on your home server.
Tried to follow the article (http://cherokee-project.com/doc/other_faq.html).
But there is little information. Please help.

Thanks in advance.
Cherokee is a flexible, very fast, lightweight Web server. It is implemented entirely in C, and has no dependencies beyond a standard C library. It is embeddable and extensible with plug-ins. It supports on-the-fly configuration, TLS/SSL, virtual hosts, authentication, cache friendly features, PHP, custom error management, several load balancing policies, database balancing, and much more.
1
Stefan de Konink's profile photoSergio Aguilar Guerrero's profile photo
2 comments
 
I kinda created a small script for this if you wanna check it out: https://github.com/chekolyn/cherokee-remote/blob/master/cherokee-remote.py 
Add a comment...

Stefan de Konink
owner

Discussie  - 
 
Guys Guys. Did you know Cherokee is running on these awesome Xiaomi Yi camera's too? I already bought two of them for some experiments with slowmotion.
The first thing my Spanish mother-in-law asked me when she saw the Xiaomi Yi was, "Is that a toy camera?" With its lime-and-aqua-marine color scheme, it's not h...
3
M. David Peterson's profile photo
 
VERY COOL!
Add a comment...

Albert Bruc

Discussie  - 
 
Hi,

Since few months ago the Cherokee website is unmaintained
this is a dead project ?
1
Stefan de Konink's profile photoDaniel Silverstone (Kinnison)'s profile photo
4 comments
 
I still have some feature updates to mess about with including better CGI user/group control etc, but I've not had the combination of time and energy.  I will be getting to it soon, at minimum to update my branch, because I need to update our server with the latest SSL stuff.
Add a comment...

John Tabor

Discussie  - 
 
Documented Cherokee
Real Cherokee & can prove it
View community
2
Add a comment...

Stefan de Konink
owner

Discussie  - 
 
I have just merged two very important improvements for cherokee. We now maintain keep-alive with 304 and 204 requests. The first will improve your client experience considerably, the latter might help you when you run an API at a rate of 3000 req/min like I do ;)

Secondary I have finally merged and reviewed the code of +Daniel Silverstone. His work is plain awesome and improves the code that forks new processes. Change "improves" with "replaces" and you get the point. We will finally have code that just works with CGI processes running as the file owner, sources that spawn as the requested user (also when your server runs nobody/nogroup or similar).

Long story short: we are rolling again with some big things, and you probably like to git pull again ;)
8
Add a comment...

Arti Zirk

Discussie  - 
 
I just installed Cherokee on my personal server and I have to say that it is the easiest server I have ever used!

nice work guys
1
Stefan de Konink's profile photo
 
Thanks :)
Add a comment...

Stefan de Konink
owner

Discussie  - 
 
Check this awesome website!
Dear recruiters: While you read this, make sure that you remember that GitHub is not your C.V. and that these stats only provide a biased and one-sided view. This is just a toy. Don't take it too seriously! OK. I promise!
3
Daniel Silverstone (Kinnison)'s profile photoStefan de Konink's profile photo
2 comments
 
We should! Aren't we?
Add a comment...

JC de Villa

Discussie  - 
 
Had a weird situation with cherokee earlier.

To put it in context, the application saves an uploaded file into a subdirectory structure that is dynamically generated (/docroot/files/year/month/date/filename.ext <- the y/m/d parts are dynamically generated).

On to the weirdness...

We created a rule that matches by directory with a static content handler. This was fine in the early stages.

When a directory for the year 2014 was finally created (so the path was /docroot/files/2014/03/04/filename.ext), cherokee could not traverse the path and locate the file. permissions for the file were world readable, the preceding directories were world r/x.

While testing, I realized that we could get to http://example.com/files/ but couldn't get further than that. I changed the directory to 2013 and we could get into the lower directories up to the file. same with the directory being named 2015 and so on. but if the directory was named 2014, cherokee refused to enter it and either redirected or errored out.

This is on ubuntu 12.04.4 with cherokee 1.2.101-1 installed via apt-get.
1
JC de Villa's profile photo
11 comments
 
It's starting to look like it's a problem local to his machine. I've tried it on all the dev workstations, and everything works fine.

I'll pull in his code tomorrow to see if that has any bearing on it (although all the code does is create directories that don't exist in the top level directory...)

Thanks so much for your time! :)
Add a comment...
 
I am reworking Cherokee's process spawner to support spawning CGIs as other users when the webserver has been locked down to a non-root UID/GID combo.  My work is on a branch in my fork of the webserver repo.  People can track the work via the pull request at: https://github.com/cherokee/webserver/pull/1118 which is not yet ready for merging.

The reason I'm posting this is because I'm very much interested in having feedback as I go.  I will often rebase this branch because I want to end up with a clean set of patches for +Stefan de Konink to be able to review easily, so don't base your own work on it, but do comment here or on the pull request if you have ideas/suggestions.

Thanks,

D.
1
Daniel Silverstone (Kinnison)'s profile photo
 
I've updated the branch to fully support CGIs being spawned as the file owner even when the worker is not root.

I'm unsure if there's implications should the CGI be spawned and then the cgi object be destroyed since waitpid can't see it as it was spawned by the owner.  Might need some mechanism for services to kill the CGI later if it's not already dead, but for now there's no need.
Add a comment...
 
Hi, am using cherokee in VPS for my Web server.

Am using WordPress for my website in /var/www/aaa but I dont know how to make a rule for URL accessing from http://aaa.com. I haved make a virtual host but I dont understanding how to make it work.

Please help me, I am glad using cherokee. 
1
Daniel Niccoli's profile photoNuryadin Nurdin's profile photo
13 comments
 
Thanks I Will Try
Add a comment...

About this community

The open source Cherokee Webserver!

Stefan de Konink
owner

Discussie  - 
 
Xiaomi Yi running 1.2.101 ;)
3
1
Add a comment...

Stefan de Konink
owner

Discussie  - 
 
SSL 3.0 deemed insecure, how should we handle this in Cherokee? Should we remove all options to enable it at all (code cleanup). Or keep the situation as it is, it is disabled by default, but configurable?
1
Locke Bircher's profile photoAlvaro Lopez Ortega's profile photo
6 comments
 
I'd say that making sure a sane default value is used is the most important thing. That will cover the vast majority of people.
Add a comment...

Stefan de Konink
owner

Discussie  - 
 
Today I received an e-mail that FreeWear.org still offers the original Cherokee t-shirts that were given away at the first Cherokee congress. I must say I still wear (and wash) them regularly and the imprint still looks great.
1
Add a comment...
 
I'm drowning here - does anyone know where theres a working tutorial on how to get uwsgi to work on cherokee? i've tried everything and nothing is working. i'm attempting to get a cherokee+uwsgi+django trifecta
1
Daniel Niccoli's profile photo
13 comments
 
Also, in the vserver config, you can define an alternate hostname than example.com (of course) or switch it to ip address.
Add a comment...

Jeff Mikels

Discussie  - 
 
Can cherokee run on Ubuntu 14.04 LTS?
1
Uri Preminger's profile photoJeff Mikels's profile photo
10 comments
 
Honestly... thanks for all the feedback on this thread, but I've chosen nginx. I can help you get that set up if you send me a private message. Cherokee looks really interesting, but it just doesn't feel to me like the support/community/documentation are there for the people who just want to get things done.

If it's good for you, great, but I've chosen nginx.
Add a comment...

Stefan de Konink
owner

Discussie  - 
 
If you didn't already do it. Update your openssl installation and test if your server (incl. webserver, mailserver, jabber etc.) are restarted after your upgrade. Consider your private keys leaked.
1
Locke Bircher's profile photo
 
Thanks for the heads up!
Add a comment...

Stefan de Konink
owner

Discussie  - 
 
We missed the news...
2
1
Antonio Pérez's profile photoDaniel Niccoli's profile photo
4 comments
 
Europeans will never understand what is going on in their heads, when it comes to "being 'offended'". Gladly …
Add a comment...

Steve Jensen

Discussie  - 
 
SSL/TLS back-end on the General page won't allow me to change the drop-down

Am I doing something wrong? I just want to enable SSL
1
Steve Jensen's profile photoStefan de Konink's profile photo
3 comments
 
then you need to search for an extra cherokee package with libssl  suffix ;)
Add a comment...

Stefan de Konink
owner

Discussie  - 
 
If you like assembly this issue is something nice to read.
1
Add a comment...

Stefan de Konink
owner

Discussie  - 
 
From third place in the commit statistics to second. Only 3822 commits to go, to finally beat +Alvaro Lopez Ortega ... thumbs up!
9
1
Add a comment...