WebFaction
Community site: login faq

I'm a bit confused/unsure about how to accomplish a recommendation in the installation guide. For enhanced security they recommend renaming and moving the ExpressionEngine "system" folder above webroot.

So I need to go from:

WebFactionAppName
    index.php
    images
    **system**
        index.php
    themes

To:

WebFactionAppName
    index.php
    images
**renamedSystem**
        index.php
    themes

I found a previous forum post that mentioned creating a symbolic link app to accomplish this but unfortunately I'm still confuzzled. The instructions I'm referring to are here.

Once I do this I have to update/set a config variable value to the "full server path" of this directory. I don't know if I'd use the path to the actual folder or the symlink, or if that would even matter.

Bueller? ... Anyone?

asked 03 Nov '10, 18:52

sixtyten
624
accept rate: 0%


From the instructions in that link it looks like all you have to do is, 1. Move or rename the directory someplace that is not in the webroot 2. move system/index.php to admin.php in the webroot 3. change your configuration files to reflect the above changes.

Moves system to your home directory

$ mv -f ~/webapps/APPNAME/system/ ~

Move system/index.php to your app as admin.php

$ mv ~/system/index.php ~/webapps/APPNAME/admin.php

Follow Steps 3 and 5 to edit the configuration files.

permanent link

answered 03 Nov '10, 20:32

johns
5.4k412
accept rate: 23%

edited 03 Nov '10, 20:44

Hi,

When I set up Expression Engine I put the System folder at $HOME/system and then set the path to be the full path to that directory.

With the symlink you can do either. I suggest using the full path so that there are no confusions.

permanent link

answered 03 Nov '10, 20:30

klynton
1.6k1210
accept rate: 41%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×12
×4
×3

question asked: 03 Nov '10, 18:52

question was seen: 7,318 times

last updated: 03 Nov '10, 20:44

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2020 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM