Skip to content
This repository has been archived by the owner on Mar 10, 2018. It is now read-only.
/ SilexProFTPd Public archive

Playing with Silex to (re)build the old MyFTP Admin

Notifications You must be signed in to change notification settings

j0k3r/SilexProFTPd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SilexProFTPd

This application allows to manage and monitor ProFTPd accounts. I used a custom MyFTP Admin (v0.6.1) for a while, since I lost everything from this custom version, I decided to quickly rebuild one using Silex.

Informations

First of all, I built this app to fit my needs about managing ftp's users with MySQL and ProFTPd. I'll be very happy if you want to add some functionnalities and I'm waiting your PRs :-)

This app doesn't (yet?) handle :

  • quota for users
  • groups management

This app runs perfectly :

  • users management
  • transfers (informations about downloaded/uploaded file)
  • errors browsing

Of course, this app runs with PHP 5.3 (check Silex configuration) and MySQL.

Installation

# clone the repository
git clone --recursive git://github.com/j0k3r/SilexProFTPd.git

# create and customize your config.php
cd SilexProFTPd/
cp src/config.php.dist src/config.php

ProFTPd configuration

You will find a part of my proftpd.conf about the server configuration.

If you don't have a proftpd database right now, you can use database.sql file to create empty table.

Webserver configuration

  • Apache users: you don't have to care about this part. It's done by the .htaccess file. You might have to uncomment the second line if you got some troubles.
  • Lighttpd users: here is the config for your simple-vhost:
  server.document-root = "/path/to/SilexProFTPd"

  url.rewrite-once = (
    "^/assets/.+" => "$0", # directories with static files
    "^/favicon\.ico$" => "$0",
    "^(/[^\?]*)(\?.*)?" => "/index.php$1$2" # default application
  )

About

Playing with Silex to (re)build the old MyFTP Admin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published