Jump to:

4952 Posts in 14422 Topics by 1491 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Deploying SilverStripe on Cherokee Http Server

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

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

Page: 1 2
Go to End
Author Topic: 4248 Views
  • gour
    Avatar
    Community Member
    22 Posts

    Re: Deploying SilverStripe on Cherokee Http Server Link to this post

    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

  • Willr
    Avatar
    Forum Moderator
    5490 Posts

    Re: Deploying SilverStripe on Cherokee Http Server Link to this post

    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.

  • gour
    Avatar
    Community Member
    22 Posts

    Re: Deploying SilverStripe on Cherokee Http Server Link to this post

    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

  • Willr
    Avatar
    Forum Moderator
    5490 Posts

    Re: Deploying SilverStripe on Cherokee Http Server Link to this post

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

    4248 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.