login community faq

Hi,

I am in the process of setting up Wordpress, going through various steps to make this installation as secure as possible. One of the security tricks is to move the config.php file up one directory. This does not seem possible due to the way the Webfaction installer deals with new WP installations. Any suggestions? Thanks, Peter

asked Sep 11 '12 at 02:09

petervh's gravatar image

petervh
1


You can do this easily using a "Symbolic Link to Static/CGI/PHP" application.

For example, if your wordpress application is $HOME/webapps/wp, then create a new directory at $HOME/webapps/wp/webroot and create a new application of type "Symbolic Link to Static/CGI/PHP". In the extra_info field of that application, enter the full path to that new webroot directory, then mount the symbolic link application to your website record instead of the wordpress application.

This will have the effect of making the web root for the application $HOME/webapps/wp/webroot instead. Put the wordpress files there, and then move the wp-config.php file up a directory.

Hope that helps!

answered Sep 11 '12 at 02:38

ryans's gravatar image

ryans ♦♦
28411420

edited Sep 11 '12 at 02:39

Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
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

Tags:

×143
×41
×29
×4

Asked: Sep 11 '12 at 02:09

Seen: 507 times

Last updated: Sep 11 '12 at 02:39

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited