Jump to:

4949 Posts in 13939 Topics by 1489 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Installing Silverstripe outside web folder

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

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

Page: 1
Go to End
Author Topic: 379 Views
  • simon2012
    Avatar
    Community Member
    4 Posts

    Installing Silverstripe outside web folder Link to this post

    Hello,

    I downloaded and installed SS and placed it inside the website's root folder - no problems.

    Now I tried to move the SS folder outside the website's root folder to increase security but it doesn't work at all

    I'm running PHP Version => 5.3.17, Apache 2.2.22, MySQL on Linux.

    My .htaccess looks like this:

    <IfModule mod_rewrite.c>
    SetEnv HTTP_MOD_REWRITE On
    RewriteEngine On
    RewriteBase '/ss'

    RewriteCond %{REQUEST_URI} ^(.*)$
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule .* ../../SilverStripe-cms-v3.0.3/framework/main.php?url=%1&%{QUERY_STRING} [L]
    </IfModule>

    but in apache2 error log I get this:

    [Sun Feb 03 17:05:34 2013] [error] [client x.x.x.x] Invalid URI in request GET /ss/ HTTP/1.1

    (where /ss is the directory where I want to access SilverStripe)

    Any ideas?

    Regards

    Simon

    379 Views
Page: 1
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.