Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Deploying SilverStripe on Cherokee Http Server


Go to End


12 Posts   6468 Views

Avatar
gour

Community Member, 22 Posts

29 June 2011 at 8:11am

I use Cherokee and see that this info is still not available in wiki.

Moreover, Cherokee server now has 'Market' which provides free wizard for installing SilverStripe and automatically creating rewrite rules (see http://cherokee-market.com/#11-SilverStripe%20CMS)

Here is the patch for SilverStripe installer:

--- silverstripe-v2.4.3/install.php.orig        2010-11-18 19:03:09.227958161 +0100
+++ silverstripe-v2.4.3/install.php     2010-11-18 19:05:15.947958403 +0100
@@ -294,6 +294,14 @@
                }
        }
 
+       function isCherokee() {
+               if(strpos($this->findWebserver(), 'Cherokee') !== false) {
+                       return true;
+               } else {
+                       return false;
+               }
+       }
+
        /**
         * Find the webserver software running on the PHP host.
         * @return string|boolean Server software or boolean FALSE
@@ -346,6 +354,8 @@
                        $this->requireApacheRewriteModule('mod_rewrite', array("Webserver Configuration", "URL rewriting support", "You need mod_rewrite to use friendly URLs with SilverStripe, but it is not enabled."));
                } elseif($isIIS) {
                        $this->requireIISRewriteModule('IIS_UrlRewriteModule', array("Webserver Configuration", "URL rewriting support", "You need to enable the IIS URL Rewrite Module to use friendly URLs with SilverStripe, but it is not installed or enabled. Download it for IIS 7 from http://www.iis.net/expand/URLRewrite"));
+               } elseif($this->isCherokee()) {
+                       /* Nothing to check. Cherokee is good */
                } else {
                        $this->warning(array("Webserver Configuration", "URL rewriting support", "I can't tell whether any rewriting module is running.  You may need to configure a rewriting rule yourself."));
                }

(from http://svn.cherokee-project.com/filedetails.php?repname=Cherokee&path=%2Fdistribution%2Ftrunk%2Fsilverstripe%2Fpatch-01-detect_url_redir.diff) so I wonder what do you think about adding official support in SilverStripe for Cherokee web server?

Sincerely,
Gour

Avatar
Willr

Forum Moderator, 5523 Posts

29 June 2011 at 10:19pm

Hi gour,

Do you want to submit your research and work in this as a ticket on open.silverstripe.org so the core devs can review / talk about adding this feature. Making it on the official supported list is probably too much ongoing support work considering we don't have any Cherokee machines setup but if that patch is all that is required to 'support' it then it would be easy enough to include.

Avatar
gour

Community Member, 22 Posts

29 June 2011 at 10:40pm


Hello, Willr

Do you want to submit your research and work in this as a ticket on open.silverstripe.org so the core devs can review / talk about adding this feature.

It seems to be good idea...

Making it on the official supported list is probably too much ongoing support work considering we don't have any Cherokee machines setup

I understand...Otoh, Cherokee is much lighter than Apache, has web-based UI and can save some MBs for SS. ;)

...but if that patch is all that is required to 'support' it then it would be easy enough to include.

OK. Fair-enough. Shall I open a ticket, or you will do it?

Sincerely,
Gour

Avatar
Willr

Forum Moderator, 5523 Posts

30 June 2011 at 5:05pm

If you create a ticket, attach all your patches to it then we can take it from there.

Go to Top