4571 Posts in 1384 Topics by 1376 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 2628 Views |
-
Code to move directory up one level on server

20 May 2009 at 9:57pm Last edited: 20 May 2009 9:57pm
I would like to make my site live by putting some code to move the directory up one level to the root.
Could someone give share their code on how to make that happen? And where should I put it?My site is here: http://www.lasergraph.fr/SS/
And I'd like it to be here: http://www.lasergraph.fr
-
Re: Code to move directory up one level on server

22 May 2009 at 11:47am
Can't you just copy all the files in the sub folder to the root folder via FTP?. You would just need to make sure even the hidden files are moved (.htaccess)
-
Re: Code to move directory up one level on server

6 June 2009 at 8:43pm Last edited: 6 June 2009 8:56pm
My website was ready and everything working great with Silver Stripe and so today I
decided to moved the files to the root via FTP and I get this error: PHP 5 required
To run SilverStripe, please install PHP 5.0 or greater. I didn't change anything, except for the "SS" in the hidden (.htaccess)Worked here http://www.lasergraph.fr/SS/
Doesn't work here: http://www.lasergraph.fr
-
Re: Code to move directory up one level on server

6 June 2009 at 9:01pm
some hosts use the .htaccess to tell their server if you are running php4 or php5 - make sure you haven't deleted that existing htaccess rule in the root folder which told the server to use php5 rather then 4
-
Re: Code to move directory up one level on server

6 June 2009 at 9:20pm
Thanks Will, that was it!!!!
| 2628 Views | ||
|
Page:
1
|
Go to Top |


