We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22586
    • 74 Posts
    Hello everyone,

    Question : I recently migrated all my files/DB from my test ModX 0.9.6 environment to our live/production server with 0.9.6. I put a password on the html folder (webroot) because we are still in beta and it happily wrote out a .htaccess file and renamed the old htaccess from ModX.

    I do have a 500 Server Error when I try to edit document home page (1), but only the homepage seems to have this error, very strange.

    Is it wise to merge the two .htaccess file and does it matter in what sequence the commands appear? So can I just paste the password lines before or after all the modx stuff?

    htaccess are reasonably new to me and I understand it is quite an art in itself to work with them.
      • 20289
      • 958 Posts
      If you don’t like the visitors to browse your site, simply make your site offline (manager\tools/configuration),you’ll be able to work out but users will get the "site is not available" msg.
        [img]http://i10.tinypic.com/52c4eir.gif[/img][/td]
        [td][Wiki] [Persian support forum]
        [SVN] [RTL SVN Branch] [bugs] [FishEye+Crucible] [Learn MODx!] | [My Google Code]
        [font=tahoma][برای دسترسی به راهنمای فارسی به [url=http://www.modxcms.ir]
        • 22586
        • 74 Posts
        Ah yes, I had considered that (even reconsidered when you mentioned it) but to cut a long story short its not possible at this particular time. It has to be through .htaccess for now.
          • 20289
          • 958 Posts
          Okay then Make it thru .htaccess file, Note that there will be one .htaccess file at all (so copy/paste the code in one file, there is no issue of new guests!(before/after the MODx .htaccess made syntax’s, as a code ine or poets for beauty of the file laugh, yet the poetry lines come with # at the lines start!. you know what it means! ), if you have the MODx carried ht.access file and another .htaccess file, consider not to rename the ht.access to .htaccess cause it simply replaces the file and makes one .htaccess file.
            [img]http://i10.tinypic.com/52c4eir.gif[/img][/td]
            [td][Wiki] [Persian support forum]
            [SVN] [RTL SVN Branch] [bugs] [FishEye+Crucible] [Learn MODx!] | [My Google Code]
            [font=tahoma][برای دسترسی به راهنمای فارسی به [url=http://www.modxcms.ir]