Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Installing SilverStripe

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

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

Homepage Not Showing


Reply

3 Posts   875 Views

Avatar
MatJohnson

12 July 2011 at 3:42am Community Member, 2 Posts

Hi All,

Just moved a site as the prev hosting company went into administration. Now, I've got the .htaccess sorted for the sub pages, but the main page isn't showing.

http://s370896821.websitehome.co.uk/ just shows the standard 1and1 page
http://s370896821.websitehome.co.uk/publications and all the other sublinks work 100%

Anyone got any ideas as to why this is happening?

My .htaccess file looks like:

### SILVERSTRIPE Start ###
AddType x-mapp-php5 .php

Options +Indexes +FollowSymLinks
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} sssite$
RewriteRule (.*) $1/ [L]

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

<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
RedirectMatch 403 /silverstripe-cache(/|$)
### SILVERSTRIPE END ###

Avatar
swaiba

12 July 2011 at 5:36am Forum Moderator, 1796 Posts

Hi Mat,

It looks fine to me... maybe try in private browsing mode to ensure it's not served from the cache.

Avatar
MatJohnson

12 July 2011 at 5:49am Community Member, 2 Posts

yeah, just checked it at my house, weird, its working here.