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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

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

Directory structure - what do you do?


Go to End


4 Posts   2025 Views

Avatar
dc

Community Member, 3 Posts

8 January 2008 at 4:26am

Just getting started, but really like what I see with SilverStripe! When installing SS, I put all the files in a directory under the webroot: mysite.com/ss/ Unfortunately, that means that all my files will be one directory deep - can this be resolved with a simple RewriteRule in .htaccess? Or would I be better off moving everything one directory up? Sorry, I feel a bit stoopid on this one.

What do you do?

-dc

Avatar
Wojtek

Community Member, 149 Posts

8 January 2008 at 6:09am

hey,
check this one out:

RewriteEngine On
RewriteRule ^ss/(.+)$ $1

should work.

Avatar
Salzheld

Community Member, 8 Posts

9 January 2008 at 8:15am

doesn't work here.

Avatar
Wojtek

Community Member, 149 Posts

9 January 2008 at 8:21am