Jump to:

4952 Posts in 14241 Topics by 1491 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Running ~/db/build on web server

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: 1931 Views
  • Trimaran
    Avatar
    Community Member
    6 Posts

    Running ~/db/build on web server Link to this post

    Hi,

    I would like to rebuild the database on the web server. http://www.mywebsite.ch/mydatabasename/build?flush=1 doesn't work.
    Any recommandation? Thanks!

    In case it helps, the content of my .htaccess file is:

    ### SILVERSTRIPE START ###
    <IfModule mod_dir.c>
    DirectorySlash Off
    </IfModule>

    RewriteEngine On
    RewriteBase /

    RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$

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

  • Willr
    Avatar
    Forum Moderator
    5489 Posts

    Re: Running ~/db/build on web server Link to this post

    No you actually just run /db/build/ you dont need to enter your database name eg - http://www.site.com/db/build?flush=1

    1931 Views
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.