17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1176 Views |
-
Redirect problem

23 November 2008 at 5:43am Last edited: 23 November 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
-
Re: Redirect problem

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?
-
Re: Redirect problem

24 November 2008 at 4:19am Last edited: 24 November 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.
-
Re: Redirect problem

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 ###
| 1176 Views | ||
|
Page:
1
|
Go to Top |


