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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

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

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

How to upload images - is something missing?

Go to End

12 Posts   2224 Views


Community Member, 26 Posts

21 July 2011 at 8:49am

Here is my htaccess info now

<Files *.ss>
Order deny,allow
Deny from all
Allow from

<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]

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.



Community Member, 26 Posts

21 July 2011 at 8:58am

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.



Community Member, 545 Posts

21 July 2011 at 9:11am

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


Community Member, 26 Posts

21 July 2011 at 9:57am

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.


Go to Top