We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40097
    • 19 Posts
    Hi all,
    I have installed modx on ubuntu and I ran the setup.

    I then noticed that the default modx site was at www.whatever.com/modx so I updated the
    apache sites-avalable/default key DocumentRoot to the modx path and the site works correctly now but the manager doesn't get past the login.

    Any ideas how to I guess tell modx that the path is different or a more correct way of moving modX to the root of apache?

    Thanks for the feed back
      • 3749
      • 24,544 Posts
      MODX doesn't really have a default location and doesn't need to be in a directory called modx (or in a subdirectory).

      Do you need to have modx in a subdirectory? If not, you could start over and install modx in the document root, change the setting back, and run the install again. Once everything is working, you could delete the /modx directory from the root.

      The basic process is to unzip the MODX .zip file on your local machine and then create a new .zip file in the directory that contains the basic MODX files (/manager etc.). Transfer that new .zip file to the Apache web root on the remote and unzip it there. Then run install (or setup for MODX Revolution).

      You could also just move everything in your /modx directory up one level to the Apache web root and run install/setup, but I think the method above would be safer.


      ------------------------------------------------------------------------------------------
      PLEASE, PLEASE specify the version of MODX you are using.
      MODX info for everyone: http://bobsguides.com/modx.html
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting