wordpress & ftp

Questions about hosting a Website, using MySQL and PhP may be posted here.
Forum rules
This is a user forum for Synology users to share experience/help out each other: if you need direct assistance from the Synology technical support team, please use the following form:
https://myds.synology.com/support/suppo ... p?lang=enu

wordpress & ftp

Postby inkuyo » Fri Oct 03, 2008 6:54 pm

I have the CS407 with the latest firmware. I installed wordpress in the web directory and all works great EXCEPT I cannot use the internal updating for plug ins.

Where I am stuck is adding the FTP information for the directory where wordpress is located. cs407/web/redonegreen/wordpress.

Wordpress asks for the FTP information, user, password. But even after turning on FTP I cannot access the web directory. Is there any way to access the web directory via FTP?

inkuyo
Dale T Hylton
dale (at) bspectrum.com
CS-407+ (7-03-08) | Firmware Version: DSM 3.1-1613 | 4 X HDD: Seagate 500Gb ST3500320NS
User avatar
inkuyo
Trainee
Trainee
 
Posts: 19
Joined: Mon Jul 07, 2008 10:33 pm
Location: Bothell, WA

Re: wordpress & ftp

Postby Hein » Wed Oct 21, 2009 10:16 am

I got this from this board.. this was made by supposedly one of the wp developers. Has not yet worked for me but you can give it a try.

without virtual host:

define('FTP_BASE', '/web');
define('FTP_CONTENT_DIR', '/web/wp-content');
define('FTP_PLUGIN_DIR', '/web/wp-content/plugins/'

with virtual host:

define('FTP_BASE', '/web[/virtualhostdir]');
define('FTP_CONTENT_DIR', '/web[/virtualhostdir]/wp-content');
define('FTP_PLUGIN_DIR', '/web[/virtualhostdir]/wp-content/plugins/');

I tried using a package which should enable webshare but that did not work either. The idea is to share folders such as web to applications such as wordpress.. but the package was made for a older range of syno's and has not yet been updated.
Synology DS411Slim - 4 x 1TB
External WD Elements Desktop 1TB usb harddisk as backup.
User avatar
Hein
Novice
Novice
 
Posts: 40
Joined: Wed Sep 09, 2009 8:33 am
Location: NL

Re: wordpress & ftp

Postby inkuyo » Wed Oct 21, 2009 5:19 pm

Is that code suppose to go in the config.php file? Or some other where?

Okay, found the code here: viewtopic.php?f=20&t=13208
Dale T Hylton
dale (at) bspectrum.com
CS-407+ (7-03-08) | Firmware Version: DSM 3.1-1613 | 4 X HDD: Seagate 500Gb ST3500320NS
User avatar
inkuyo
Trainee
Trainee
 
Posts: 19
Joined: Mon Jul 07, 2008 10:33 pm
Location: Bothell, WA

Re: wordpress & ftp

Postby eakinasila » Wed Nov 25, 2009 6:24 am

How to restrict a unix ftp user to its home directory? I want to restrict one ftp user so that it cannot access any other directory on the server other than the home directory assigned to it. It should have full access to its home directory and all its sub-directories. Any help is greatly appreciated.
eakinasila
I'm New!
I'm New!
 
Posts: 1
Joined: Fri Nov 20, 2009 11:25 am


Return to Web Server + PHP / MySQL

Who is online

Users browsing this forum: No registered users and 5 guests