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   1307 Views

Avatar
abelcreative

4 Posts

28 July 2007 at 5:04pm

Edited: 28/07/2007 5:05pm

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

Community Member, 94 Posts

29 July 2007 at 9:51am

Edited: 29/07/2007 9:54am

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]