4577 Posts in 1388 Topics by 1377 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 190 Views |
-
Installing Silverstripe outside web folder

4 February 2013 at 5:20am
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
| 190 Views | ||
|
Page:
1
|
Go to Top |

