Monsta is an open source web based FTP file manager written in PHP and Ajax. Easy to install too, it lets you upload, download and manage your file in an easy way too. With drag & drop to upload or move, on screen file editing and multi language support, Monsta can replace your desktop FTP software like Filezilla and others …

Before Install Check apache2 and php5 are installed :
prerequesites

1) Download and unzip their latest zip in a dedicated folder of your /var/www

Currently, their latest version is the V1.8.5. But make sure you download the latest one.

In root (or with sudo), run:

1
2
3
4
5
6
cd /var/www
mkdir monsta
cd monsta/
wget www.monstaftp.com/download/monsta_ftp_v1.8.5_install.zip
unzip monsta_ftp_v1.8.5_install.zip
rm monsta_ftp_v1.8.5_install.zip

On a new VPS debian wheezy we can do also :
wget  –no-check-certificate https://www.monstacdn.com/downloads/monsta_ftp_v1.8.5_install.zip -O monsta.zip
sudo apt-get unzip
unzip -q monsta.zip && rm -rf monsta.zip

Under Monsta folder give apache user permission www-data (33) :
chown -R www-data:www-data mftp.

chmod -R 755 mftp

The Monsta FTP default language is English (en_us).

To switch to French:

Go in / var / www / html / mftp / languages

Assign the value 0 into $ file_lang_default en_us.php the file.

Assign the value 1 to the variable $ file_lang_default fr_fr.php the file.

PS: feel free to correct some spelling mistakes contained in the fr_fr.php provided by default …

monsta2

2) Change the owner of the folder (by www-data:www-data) to avoid permission issues.

1
chown -R www-data:www-data monsta

chmod -R 755 mftp

You can directly access it through http://yourserverIP/monsta

monsta

Serve multiple directories with Apache (virtualhost monstaftp.conf)

Running Apache on Debian. My /var/www folder consists of two directories /codeigniter /wordpress

I would like mydomain.com to point to /codeigniter and mydomain.com/blog to point to /wordpress. I have acheived the first one but not the second. How can we do it ?

I have the following in site-available/mydomain.com

<VirtualHost *:80>
  ServerAdmin me@example.com
  ServerName  www.mydomain.com
  ServerAlias mydomain.com

  # Index file and Document Root (where the public files are located)
  DirectoryIndex index.html index.php
  DocumentRoot /var/www/codeigniter/public

  <Directory "/var/www/codeigniter/public">
  Options FollowSymLinks
  AllowOverride All
  Order allow,deny
  Allow from all
  </Directory>
</VirtualHost>

Simple, add an Alias and another directory block inside your VirtualHost block :

Alias /blog/ "/var/www/wordpress/"
<Directory "/var/www/wordpress/">
    ... whatever you want ...
</Directory>