Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-20, 15:59:44

Author Topic: [REQUEST] directory changes  (Read 2427 times)

0 Members and 1 Guest are viewing this topic.

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
[REQUEST] directory changes
« on: 2014-09-06, 18:09:55 »
Since you are changing directory structure in KloxoMR 7.0 there are some changes that are much needed.

1.  Backups should be stored in /home/{user}/backups

A client should be able to FTP his backups.  To stop backing up backups, just skip ALL '/home/{user}/backup' directory when tar.gz the backups.  This should not be very hard to do.  This also makes disk quota include backup space.

2.  Php Sessions should be stored in /home/{client}/php-session
There is a security risk in having one directory for all php sessions.  You're advanced php-setting does not work.  I proposed an easy solution here:  http://forum.mratwork.com/kloxo-mr-development/php-session-per-user-home-directory/msg35677/#msg35677

These are needed changes.  Thank you for considering.
« Last Edit: 2014-09-07, 03:41:49 by chrisf »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: [REQUEST] directory changes
« Reply #1 on: 2014-09-07, 03:44:39 »
I think you need to start making all user related files/directories in the user/client home directory.  This makes it much easier to follow a client's files, etc.
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: [REQUEST] directory changes
« Reply #2 on: 2014-09-07, 23:46:36 »
Mustafa?
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [REQUEST] directory changes
« Reply #3 on: 2014-09-07, 23:54:52 »
New 'directory structure' will be implementing immediately if I can implementing 'backward compatibility' backup files (that mean backup still compatible with 'old' Kloxo/Kloxo-MR.

I have an idea about it but it's not easy.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine

Page created in 0.033 seconds with 19 queries.

web stats analysis