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.

Installing SilverStripe

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

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

Deploying SilverStripe on Cherokee Http Server


Reply

12 Posts   4338 Views

Avatar
gour

29 June 2011 at 8:11am Community Member, 22 Posts

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

29 June 2011 at 10:19pm Forum Moderator, 5511 Posts

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

29 June 2011 at 10:40pm Community Member, 22 Posts

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

30 June 2011 at 5:05pm Forum Moderator, 5511 Posts

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