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.

Archive

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

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

Moving SS installtion to main /html folder on server


Reply

2 Posts   1286 Views

Avatar
abelcreative

28 July 2007 at 5:04pm (Last edited: 28 July 2007 5:05pm), 4 Posts

Can I do that? I unzipped the folder and the auto-install put the whole site into /html/silverstripe-v2.0.2b - so all my links would be: http://www.mydomain.com/silverstripe-v2.0.2b/about-us, etc - can I move all the files out of that silverstripe-v2.0.2b folder and into my main /html folder?

Avatar
xmedeko

29 July 2007 at 9:51am (Last edited: 29 July 2007 9:54am), Community Member, 94 Posts

yeah, you can copy it, or you can play with mod_rewrite in the main folder, maybe something like

RewriteEngine On

## Directory CRM is not in SilverStripe
RewriteRule ^CRM$ - [L]
RewriteRule ^CRM/.* - [L]

## All other to SS
RewriteRule ^(.*)$ silverstripe/$1 [L,QSA]