135 Posts in 60 Topics by 70 members
Jump to:If this is your first visit, you will need to register before you can post. However, you can browse all messages below.
| Page: 1 | go to end | Reply | |
| Author | Topic: New install, getting a list of iles instead of SS | 742 views |

30 August 2008 at 12:14am
Hi all,
I am totally new here. I made a successfull install of SS in a ../silverstripe folder on my site.
When I http to mysite.com/silverstripe, I get a list of files.
However, if I go to mysite.com/silverstripe/anytext then I site the default site with a "page not found" page. From them I can navigate perfectly within the site.
If I navigate to mysite.com/silverstripe/admin, I get the admin page fine.
Is this a .htacces porblem ? A folder permission problem ?
Here is the content of the .htaccess file:
RewriteEngine On
RewriteBase /silverstripe
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 ###
Last edited: 30 August 2008 at 8:18am

7 September 2008 at 4:14am
I am really impressed by the number of answers ! What a vibrant community !

7 September 2008 at 5:30am
Insulting an entire community isn't how to go about asking for help.
However.
Try adding a slash to the end of your url.
yoursite.com/silverstripe/

7 September 2008 at 7:48am
Thank you Grilldan.
This was definitely not an insult, just a comment.
Unfortunately, your answer does not reply to the question. I know how to reach the test site, and your suggestion takes me to the "Page not found" page.
I'd like SS to answer to the url www.idevlop.com/silverstripe (without slash) by providing the Home page, like anyone would expect.
After googling I tried adding
Any other idea/suggestion welcome !
Last edited: 7 September 2008 at 8:03am

7 September 2008 at 8:36am
Hello all,
same problem in here. I managed to solve it by changing DirectorySlash to On in .htaccess

7 September 2008 at 9:13am
Problem solved.
1) I had changed the homepage url to "accueil" (same as home, in French) and I didn't know that keeping the homepage url to home was critical.
2) Following Mihkel's suggestion, I modified the part of .htaccess generated by Silverstripe installation, changing DirectorySlash from off to on.
Now it's ok.
Thanks.
Last edited: 7 September 2008 at 9:23am

12 September 2008 at 3:57am
I have the same question and am happy that changing this setting seems to resolve it. But I'm a bit reluctant to do this as presumably it has been set like this for a reason and I don't want to break anything. For those of us who have tried this change- have you noticed if anything else gets broken or is it all good news from now on?
| 742 views | |||
| go to top | Reply |