Перевод "PhpFox-Site Administration-Moving the development site to the production site"

myphpfox.ru, “PhpFox-Site Administration-Moving the development site to the production site”, public translation into Russian from English More about this translation.

See also 23 similar translations

Translate into another language.

Participants

Deniro10 points
Join Translated.by to translate! If you already have a Translated.by account, please sign in.
If you do not want to register an account, you can sign in with OpenID.
Pages: ← previous Ctrl next → next untranslated
1

PhpFox-Site Administration-Moving the development site to the production site

Moving from development to production

From a sub-folder

If your development site is in a subfolder of your main site, moving it is quite easy:

* Copy (safer than move) your existing files over to the new location

* Tell the script where he is now by editing the /include/setting/server.sett.php, in there look for:

$_CONF['core.folder'] = '/your/old/path/';

$_CONF['core.folder'] = '/your/old/path/';

History of edits (Latest: Deniro 1 year, 8 months ago) §

and change it for the new path:

$_CONF['core.folder'] = '/';

$_CONF['core.folder'] = '/';

History of edits (Latest: Deniro 1 year, 8 months ago) §

The value must start and end with a slash if there is any folder, otherwise no duplicates are needed. The script connects to the database directly, regardless of where in the file structure it is so there is no need to edit the database user.

.htaccess file

.htaccess файл

History of edits (Latest: Deniro 1 year, 8 months ago) §

If you use short urls you will also need to reset your /.htaccess file, in that file look for:

RewriteBase /your/old/path/

and match it to your other value in the server.sett.php file:

RewriteBase /

RewriteBase /

History of edits (Latest: Deniro 1 year, 8 months ago) §
Pages: ← previous Ctrl next → next untranslated
1