Jump to:

4965 Posts in 17834 Topics by 1495 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: 412 Views
  • simon2012
    Community Member
    4 Posts

    Installing Silverstripe outside web folder Link to this post


    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>
    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]

    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?



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.