17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1579 Views |
-
New install, getting a list of iles instead of SS

30 August 2008 at 12:14am Last edited: 30 August 2008 8:18am
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:SetEnv REGISTER_GLOBALS 0
SetEnv ZEND_OPTIMIZER 1
SetEnv MAGIC_QUOTES 1
SetEnv PHP_VER 5
### SILVERSTRIPE START ###
<IfModule mod_dir.c>
DirectorySlash Off
</IfModule>RewriteEngine On
RewriteBase /silverstripeRewriteCond %{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 ### -
Re: New install, getting a list of iles instead of SS

7 September 2008 at 4:14am
I am really impressed by the number of answers ! What a vibrant community !
-
Re: New install, getting a list of iles instead of SS

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/
-
Re: New install, getting a list of iles instead of SS

7 September 2008 at 7:48am Last edited: 7 September 2008 8:03am
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
to the .htaccess.Options -Indexes
This indeed prevents browsing, but by raising an Error 403 with the www.idevlop.com/silverstripe. Not ideal yet.Any other idea/suggestion welcome !
-
Re: New install, getting a list of iles instead of SS

7 September 2008 at 8:36am
Hello all,
same problem in here. I managed to solve it by changing DirectorySlash to On in .htaccess
-
Re: New install, getting a list of iles instead of SS

7 September 2008 at 9:13am Last edited: 7 September 2008 9:23am
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.
-
Re: New install, getting a list of iles instead of SS

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?
| 1579 Views | ||
|
Page:
1
|
Go to Top |


