We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18654
    • 191 Posts
    I have modx installed in public_html/modx_app/ and I have a domain that is pointed directly to the modx_app folder (as opposed to public_html which my primary domain is pointed to).

    When I use the domain that has the document root set to the modx_app with the url website.com/manager, the manager login screen doesn’t work. Is there any workaround for this?

    The reason why I’m doing it this way is that I have a client who I’m doing a website for. They have their domain hosted at GoDaddy, but they don’t have their own webhost - so I’m letting them use mine (BlueHost) as an addon domain. When I use mydomain/modx_app/manager, I have no problem getting the manager screen to come up, it’s only when I try and use theirdomain.com/manager that I have a problem. Any thoughts?

    -matt

      God does not save those who are only imaginary sinners. Be a sinner, and let your sins be strong, but let your trust in Christ be stronger, and rejoice in Christ who is the victor over sin, death, and the world.
    • It sounds like you don’t have the domain correctly configured on your server.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 3749
        • 24,544 Posts
        I’m fairly dumb about domain redirection but I wonder If you need rewrite rules to get you to the secondary domain and the .htaccess in the Manager folder is turning off the rewrite engine.
          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
          • 18654
          • 191 Posts
          Thanks for the responses. Susan - any ideas on what configuration might need to be changed? Here’s a link to the page: http://www.reasonablefaithdallas.org/manager/
          The view-source code that shows up is exactly what it should be, so I’m thinking that it has something to do with relative-urls of the page-resources (css, javascript) being based on the wrong root folder or perhaps "var CONNECTORS_URL = ’/modx_rf_dallas/connectors/’;" needs to be modified? But if this is the case I’m not sure how to adjust. The site itself works fine (although there’s hardly anything to it at this point). Here’s a link to the exact same folder, but using a domain that points to public_html http://www.datacodesolutions.com/modx_rf_dallas/manager/

          As far as modifying rewrite rules - that may well be what is needed. I’m just not sure what code to change and where it needs to be changed. Currently, the htaccess folder is still named ht.access. If I understand correctly, this file needs to be renamed for it to start being utilized. I was initially under the impression that the only reason to do this was if using friendly url’s, but let me give it a shot. I’ll post back if it works.

          **Update**

          I tried RewriteEngine Off and RewriteEngine On but no luck. According to the tech-guy at Bluehost, there’s a configuration in the app that needs to be changed, which is what I was thinking also, but I’m still not sure what to modify.

          **Update 2**

          Login from addon domain works successfully using evo RC-1 but still no luck with Revo. I’ll try a reinstall when beta2 becomes available. It looks like I can’t use revo right now anyway because beta-1’s not letting me modify template variables and it gives errors when adding web links if option is chosen to continue editing after save.
            God does not save those who are only imaginary sinners. Be a sinner, and let your sins be strong, but let your trust in Christ be stronger, and rejoice in Christ who is the victor over sin, death, and the world.