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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Redirect problem


Go to End


8 Posts   1699 Views

Avatar
fredrikhh

Community Member, 7 Posts

23 November 2008 at 5:43am

Edited: 23/11/2008 5:43am

Hello, I installed Silverstripe, and it worked..
But i think i deleted a file, so when i try to start my site, I get redirect to install.php..

what is the problem ?

Hope for help :)

Avatar
fredrikhh

Community Member, 7 Posts

23 November 2008 at 12:40pm

somewhone ? Pliz help

Avatar
fredrikhh

Community Member, 7 Posts

24 November 2008 at 1:16am

Can somewhone pliz help me ?

Avatar
jam13

121 Posts

24 November 2008 at 3:26am

If you previously had a working install, and it's now showing you the installer page, then I would guess that you had deleted your _config.php file. Have you not got backups?

Avatar
fredrikhh

Community Member, 7 Posts

24 November 2008 at 4:19am

Edited: 24/11/2008 4:24am

The config file is there, I dont have backup...

But i think it is the .htaccess file or something...

But I don`t know how to fix it.

Avatar
fredrikhh

Community Member, 7 Posts

24 November 2008 at 8:19am

Yes? hello, do somewhone know?

Avatar
jam13

121 Posts

24 November 2008 at 10:54am

The basic ss .htaccess file will be something like this:

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

Avatar
fredrikhh

Community Member, 7 Posts

24 November 2008 at 10:58am

Thanks, it worked :)