Hi there,
I'm super new and I've given the task to get a silverstripe website up live on my first few days here so I'm completely new to silverstripe!
Problem I have is the the dev site was hosted in a subdirectory of the clients shared server. I have tried to take a backup and move the files into the root and change the rewrite mod to / like below.
### SILVERSTRIPE START ###
<Files *.ss>
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Files>
<Files web.config>
Order deny,allow
Deny from all
</Files>
ErrorDocument 404 /assets/error-404.html
ErrorDocument 500 /assets/error-500.html
<IfModule mod_alias.c>
RedirectMatch 403 /silverstripe-cache(/|$)
</IfModule>
<IfModule mod_rewrite.c>
SetEnv HTTP_MOD_REWRITE On
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]
</IfModule>
### SILVERSTRIPE END ###
I assumed this would be easy (from reading other solved issues with .htaccess and moving instances to different directories) however I am faced with this error when I view the home root of the site.
A file permissions error has occurred. Please check the permissions on the script and the directory it is in and try again.
Now if I take away the htaccess the error doesn't appear but my silverstripe doesn't kick in.
I have tried my UTTER best to get the file permissions right from the dev site (which I didn't build and the developer vanished) but I have a feel it has to be more than that.
I also checked my log files and it gives me this error:
suexec policy violation: see suexec log for more details
..... no idea :/
Any help to troubleshoot this would be MUCH appreciated.