Cant set HOME-dir, only basedir of quixplorer

Help
2006-11-28
2013-05-17
  • HaveFun2000

    HaveFun2000 - 2006-11-28

    Hello!

    I installed quixplorer, set require-auth to true, and set the home-dir correctly:

    // the home directory for the filemanager: (use '/', not '\' or '\\', no trailing '/')
    $GLOBALS["home_dir"] = "/var/www/vhosts/mydomain.de/httpdocs/";

    When I login as admin, I'm only see the directory from quixplorer, i cant go "UP" oder "HOME" with the toolbar. I'm staying in the quixplorer-dir ( /var/www/vhosts/mydomain.de/httpdocs/quixplorer )

    Whats going wrong?

     
    • John Fiala

      John Fiala - 2006-11-28

      Hmm.  You'll have to forgive me, I haven't looked at the code lately - had my own big project going on.

      But I seem to remember that when you use require-auth, each user has their own home directory set with their user information.  I suspect that the quixplorer default admin login uses the quixplorer directory as it's default home.  You might try looking at the file that holds the users and updating that so that the admin's home directory is where you want it to be.

      John

       
    • stefi

      stefi - 2007-03-23

      I checked in the file
      ".htusers.php" but I don't know the syntax, so I can't update the file (if it is the good one)...
      Here is the code included in this file:

      <?php $GLOBALS["users"]=array(
          array("admin","9628d0d187029e6337baa86780b2abb6",".","http://localhost",1,"",7,1),
      ); ?>

       
    • stefi

      stefi - 2007-03-23

      It works now with

      array("admin","21232f297a57a5a743894a0e4a801fc3","../../../../","http://localhost",1,"",7,1)

      The problem is that I can't access to the root because it is not available for this moment I supppose.

      It is not possible to get "../../../../../" or "/"

      Is there another solution ?

       
      • John Fiala

        John Fiala - 2007-03-23

        I'm afraid I don't really understand what your problem is.  I'm not the owner of the project, but I'm willing to help out if you can explain it to me in some more detail.

         
    • petec113

      petec113 - 2007-06-14

      If I understand what you want to do, open .config and edit the following section...

      Global User Variables (used when $require_login==false)
         
          // the home directory for the filemanager: (use '/', not '\' or '\\', no trailing '/')
          $GLOBALS["home_dir"] = "SET THIS TO WHERE YOU WANT YOUR "HOME" TO BE.";

      If you leave it as $GLOBALS["home_dir"] = "." this will keep you in the home directory where quixplorer is installed.

      From there you should be able to figure out where you want to go from there.

       
    • Anonymous - 2008-01-23

      Have same problem here.

      Can't go Up.
      Home dir set to "/home/mat"

      Tried to create a new user with this directory.

      It says :
      The home directory doesn't exist, check your settings.

      With default admin account, stay stuck in /home/mat/quixplorer

       
      • Claudio Klingler

        Does your user under which is running the webserver has access (read/execute) to this directory?

         
    • Bill Nash

      Bill Nash - 2009-01-20

      I open QuiXplorer from the webGUI in Freenas and successfully login and see the filesystem ([admin] - Directory:/ ) . However, when I click on anything on this page, I am sent back to the login page.
      I am a total newbie, so have no idea where to start looking. Hope this is the right place to start.
      Thanks....

       
  • Anonymous - 2011-12-06

    I also can only see the quixplorer directory, I have tried changing $GLOBALS  and $GLOBALS  with no luck

     
  • dangs

    dangs - 2011-12-19

    Hi ,

    When you change passwd you see the syntax.

    Name, Home Dir, Show hidden files, permission, Active

     

Log in to post a comment.