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

Installing in root when there's an unreadable folder


Reply


4 Posts   1455 Views

Avatar
bcartier

Community Member, 3 Posts

8 December 2007 at 7:39am

Edited: 08/12/2007 7:39am

My webhost (Mosso) has a system folder in trhe root the site that can't be removed or read. There's an issue with the installer where it tries to crawl all of the folders in silverstripe installation folder.

I managed to get around this (with some help on the IRC channel) by first installing in a sub-folder, then moving the installation back to root using FTP. I had to modify the .htaccess file to point to the root, but it's working fine now.

Just thought I'd post this in case someone ran into the same issue, or in the hopes that the installer might be adjusted to take this kind of situation into account ;-)

Avatar
Tomase

Community Member, 13 Posts

4 June 2008 at 8:34pm

Hello!

We have the same problem, and have a couple of questions..

Is it essential to use ftp when we move the files back to the root?
... and how do you modify the .htaccess file? - can you please write the code as we are not familar with it... and relativly new to this :-)

Avatar
bcartier

Community Member, 3 Posts

4 June 2008 at 11:51pm

I haven't looked at this for a while - but I'll look up what I did and get back to you in a couple of hours with the htaccess info.

Avatar
bcartier

Community Member, 3 Posts

5 June 2008 at 8:14am

Edited: 05/06/2008 8:15am

I'm afraid I removed that installation of Silverstripe.

Basically you need to install to a subfolder, then you could use mod_rewrite in your htaccess file to remove the subdirectory from your urls:

http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html

I'm afraid I'm only going by memory since I no longer have this set up.

Good luck!