Jump to:

23487 Posts in 18996 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » How to upload images - is something missing?

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1 2
Go to End
Author Topic: 1396 Views
  • Sue
    Avatar
    Community Member
    26 Posts

    Re: How to upload images - is something missing? Link to this post

    Here is my htaccess info now

    ### SILVERSTRIPE START ###
    <Files *.ss>
    Order deny,allow
    Deny from all
    Allow from 127.0.0.1
    </Files>

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /

    RewriteCond %{REQUEST_URI} !^/_.*/.*
    RewriteCond %{REQUEST_URI} !(\.gif$)|(\.jpg$)|(\.png$)|(\.css$)|(\.js$)
    RewriteCond %{REQUEST_URI} ^(.*)$
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]
    </IfModule>
    ### SILVERSTRIPE END ###

    But the _ not being read is not working. Sorry to be a pest, but do you have any idea what I did wrong. I would love to get Gallery working with this.

    Sue

  • Sue
    Avatar
    Community Member
    26 Posts

    Re: How to upload images - is something missing? Link to this post

    Thanks - I found <% control Menu(1) %> and think I can poke at that till I get it. Now if I can just make the Rewrite work.

    Sue

  • zenmonkey
    Avatar
    Community Member
    528 Posts

    Re: How to upload images - is something missing? Link to this post

    Unfortunately I don't usually play with my .htaccess files. I let my IT guys do that Their may be someone able to help. It may be good to post the question either ssbits or in teh installing silverstripe forum

    Good Luck

  • Sue
    Avatar
    Community Member
    26 Posts

    Re: How to upload images - is something missing? Link to this post

    I will also check with my host admin - maybe it is something screwed up on the server. I had a problem with rewrite on my 2.0 Gallery on another site on the server. You have been a great help in my decision that Gallery will probably be my way out of this problem.

    Sue

    1396 Views
Page: 1 2
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.