It is easy to install ffileman8. I will give examples assuming that my root directory is "/home/ffileman" on the server.
- Upload all the files from unzipped "v8/cgi-bin" folder to your cgi-bin directory on the server. You have to upload .cgi files in ASCII mode and chmod 755 them. You should prefer uploading files to a subfolder in the cgi-bin such as "ffileman".
- ex. /home/ffileman/cgi-bin/ffileman
- Upload all the files from unzipped "v8/htdocs" folder to your public_html directory on the server.
- ex. /home/ffileman/public_html/images
- Open ffileman_config.cgi and change the variables according to your server environment.
- $dil = Set the language of the script. The language files are in the "cgi-bin/lang" directory. "english" and "turkce" are supported by default.
- $dosya_kilit = If your platform does not support flock() function set this variable to 0 otherwise set this variable to 1. For windows you have to use 0.
- $resim_dizin = This is the full path of the directory where you upload the content of the "v8/htdocs" folder in the zip file. No trailing slash. ( ex. /home/firidin/public_html/images )
- $resim_url = This is the URL equivalent of the "$resim_dizin" variable. No trailing slash. ( ex. http://www.ffileman.com/images )
- $ana_dizin = This is the full path of the directory which you want to be the base directory for the listing. If you set this variable to a non-public level such as /home/firidin than the script will not work properly. No trailing slash. ( ex. /home/firidin/public_html )
- $ana_url = This is the URL equivalent of the "$ana_dizin" variable. No trailing slash. ( ex. http://www.ffileman.com )
- $sifre_kontrol = If you want to use password protection set this variable to 1 otherwise set this variable to 0. Your username and passwords can't be longer than 8 chars. This is not a powerful protection. You should use .htaccess to add extra protection.
- $admin_kullanici = Admin username.
- $admin_sifre = Admin password.
- $dizin_combo = Set this variable to 1 if you want to use quick jump functionality.
- @dizin_combo_yok = This is an array of directories with relative path to the root which you don't want to see in the quick jump combobox. ( ex. @dizin_combo_yok = ("/images","/admin/editor") )
- $config_edit = Set this variable to 1 if you want to edit ffileman_config.cgi using the script.
- Upload ffileman_config.cgi to your cgi-bin directory on the server in ASCII mode and chmod 755 the file.
- Open http://.../cgi-bin/ffileman/ffileman.cgi and login with your username and password.
|
|