Jump to:

23369 Posts in 18155 Topics by 2863 members

General Questions

SilverStripe Forums » General Questions » Critical Help!

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1 2
Go to End
Author Topic: 615 Views
  • airgrace
    Avatar
    Community Member
    8 Posts

    Re: Critical Help! Link to this post

    I believe your mentioning the one that's found in the root of public_html. This all I see.

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

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

  • swaiba
    Avatar
    Forum Moderator
    1784 Posts

    Re: Critical Help! Link to this post

    ok that looks fine... so I am back to thinking it is the database connection from the enviorment files...
    if it was me I would download the entire site and search for the dbname and search unix for all of the env config files used

    The only reason that data appears in different site must be becasue it shares the database - however you do it that is what you are looking to prove/disprove right now.

  • airgrace
    Avatar
    Community Member
    8 Posts

    Re: Critical Help! Link to this post

    Yeah, I have a feeling that is what is happening, that the database is being accessed. I'll download the entire sites, and search for the dbnames.

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