Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 15th March 2010, 18:48
dclardy dclardy is offline
Senior Member
 
Join Date: Sep 2009
Location: Dallas, TX
Posts: 347
Thanks: 10
Thanked 47 Times in 28 Posts
Default

I used the script to install the service, but I get an error when clicking on the folder icon.

Any help would be appreciated.

Code:
<\?php require_once('../../lib/config.inc.php'); require_once('../../lib/app.inc.php'); $app->auth->check_module_permissions('sites'); if (!isset($_GET['id'])){ die ("No site selected!"); } $domainId = intval($_GET['id']); $dbData = $app->db->queryOneRecord("SELECT server_id FROM web_domain WHERE domain_id = " . $domainId); $serverId = intval($dbData['server_id']); if ($serverId == 0){ die ("No Server found!"); } $serverData = $app->db->queryOneRecord( "SELECT server_name FROM server WHERE server_id = " . $serverId); header('location:/webftp?servername="'.$serverData['server_name'].'"'); exit; ?>
I am pretty sure that it has something to do with the leading slash, but where do I go to change this?
Reply With Quote
Sponsored Links
  #12  
Old 15th March 2010, 18:51
dclardy dclardy is offline
Senior Member
 
Join Date: Sep 2009
Location: Dallas, TX
Posts: 347
Thanks: 10
Thanked 47 Times in 28 Posts
Default

The leading "\" was the issue. I took that out from the /var/www/ispconfig/sites/site_webftp.php file, and it works fine now.

Thanks.
Reply With Quote
  #13  
Old 15th March 2010, 21:16
fducloux fducloux is offline
Junior Member
 
Join Date: Mar 2010
Posts: 8
Thanks: 4
Thanked 7 Times in 3 Posts
Default

oh sorry about that!
it's in /var/www/ispconfig/sites/site_webftp.php

i'll fix the script and upload it agan.
Reply With Quote
  #14  
Old 15th March 2010, 21:23
fducloux fducloux is offline
Junior Member
 
Join Date: Mar 2010
Posts: 8
Thanks: 4
Thanked 7 Times in 3 Posts
Default

here's the script after fixing line number 30.
Attached Files
File Type: gz web2ftp-install.sh.gz (1.2 KB, 414 views)
Reply With Quote
The Following User Says Thank You to fducloux For This Useful Post:
mveplus (14th February 2011)
  #15  
Old 17th March 2010, 21:58
theWeird theWeird is offline
Member
 
Join Date: Nov 2009
Posts: 70
Thanks: 10
Thanked 6 Times in 5 Posts
Default

Today I found this project and I really like it:
http://www.ajaxplorer.info
Do you think there is any way to integrate it with ISP3 as web FTP?
Reply With Quote
  #16  
Old 18th March 2010, 08:50
Germanius Germanius is offline
Senior Member
 
Join Date: Dec 2009
Location: Hannover
Posts: 121
Thanks: 37
Thanked 26 Times in 16 Posts
Default

Ajaxplorer is really nice. Can somebody write a howto like the one for net2ftp?
Reply With Quote
  #17  
Old 22nd March 2010, 22:22
apoana apoana is offline
Junior Member
 
Join Date: Feb 2010
Posts: 3
Thanks: 0
Thanked 5 Times in 2 Posts
Default Using AjaxPlorer integrated with ISPCONFIG

Hi,

No really an Howto, but, some info how I integrated AjaxPlorer with my multiserver ISPCONFIG setup. I attached to this post all files changed to get the integration done.


In the ISPCONFIG master server:
-------------------------------

1) Install and make work the default AjaxPlorer in /var/www/AjaXplorer - in the attached file is an apache configuration file named ajaxexplorer.conf, put it on /etc/apache2/conf.d

2) Access Ajaxplorer in your browse using an URL like http://www.yourispconfigmaster.com/_fm and test using the default login for newly installed Ajaxplorer. If it's works go to step 3, else, correct erros and try again.

3) Add to the AjaxPlorer plugins dir the directory named "auth.ispconfig" from the attached file, correct file permissions and owners.

4) Get the conf.php from the attached file and put in the ajaxPlorer installation dir server/conf, change permissions/owner.

5) Edit the new conf.php and change the configuration to allow ajaxPlorer acces your ISPCONFIG database. You need to change $CONF_STORAGE and $AUTH_DRIVER.

6) Create on the ISPCONFIG master database the tables used by AjaxPlorer configuration. You can get an sql file inside plugins/conf.sql - remember, these tables MUST BE on the ISPCONFIG master database.

7) Copy from the attached zip the file ftp_user.tform.php to /usr/local/ispconfig/interface/web/sites/form/ftp_user.tform.php - by default ISPCONFIG store the FTP user password encrypted, but, ajaxPlorer need to read it to make an login to the FTP server where the client must login in.

all changes in the ISPCONFIG master server are done.


In the ISPCONFIG www server (where the client sites are hosted):
---------------------------------------------------------------

1) Put in the /usr/local/ispconfig/server/plugins-avaiable the file ftpuser_base_plugin.inc.php from the attached file.
2) Change /etc/pure-ftpd/db/mysql.conf: MYSQLCrypt cleartext

done changes on the www server.


Some clarifications about this setup:

1) I have an multiserver ISPCONFIG setup
2) The login name for AjaxPlorer is the client login and password in ISPCONFIG, not the FTP login.
3) after logged in AjaxPlorer the client have all FTP repositories from his account avaiable to browse.
4) I Know, change the storage method from encrypted to plain text for the FTP accounts is not good for security, but, AjaxPlorer need to read the password in plain text to make the login in the FTP server to allow work. An solution for this can be make an auth plugin for pure-ftpd.
5) To put an icon on ISPCONFIG to call a new window with AjaxPlorer is only a matter of change the WEB2FTP example.

To Be Done:
------------

1) Make the client login automatic in AjaxPlorer.
2) Add client MySql databases as reporitories on AjaxPlorer - this can be done adding some code in the MySql plugin as I have made for the FTP plugin.


After all, sorry for my bad english.
Attached Files
File Type: zip AjaXplorer-ispconfig.zip (16.1 KB, 317 views)
Reply With Quote
The Following 4 Users Say Thank You to apoana For This Useful Post:
falko (23rd March 2010), Germanius (23rd March 2010), mveplus (14th February 2011), till (22nd March 2010)
  #18  
Old 30th April 2010, 02:04
mirk67 mirk67 is offline
Junior Member
 
Join Date: Apr 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default white site page

my problem



help me please
Reply With Quote
  #19  
Old 30th April 2010, 10:26
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,777
Thanks: 821
Thanked 5,332 Times in 4,184 Posts
Default

And how is this related to net2ftp?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #20  
Old 30th April 2010, 11:34
mirk67 mirk67 is offline
Junior Member
 
Join Date: Apr 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by till View Post
And how is this related to net2ftp?
yes
I followed the guide for ubuntu
I have ubuntu server 9.10
Reply With Quote
Reply

Bookmarks

Tags
net2ftp, webftp

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Drupal + Postfix Integration handheld HOWTO-Related Questions 9 11th January 2010 23:16
net2ftp please Server Operation 1 14th October 2009 14:09
Two Physical Servers for "Zimbra Integration With Samba - Ubuntu Based"? chris.zeman HOWTO-Related Questions 0 13th July 2009 02:29
FileManger, UnZip, installer for CMS mike_phi General 4 4th January 2009 12:39
Installing net2ftp inside ispconfig timaaarrreee General 2 3rd December 2008 10:41


All times are GMT +2. The time now is 22:26.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.