We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15715
    • 1 Posts
    Hi.

    I got a little problem with my site. I’m using friendly URLs, and everything works great. Except for one thing - I have a "dump" directory, where I upload all kinds of stuff I need to put online.

    Now I want a nice directory listing for this directory. Of course I get one generated by Apache when I just go to http://domain/dump, but that one is - well, not the most eyecandy laugh

    So I downloaded a PHP script, put it in the "dump" directory as index.php, and now I get to the 404 page configured in my modx when I pull up http://domain/dump

    So, is there a way that I can disable friendly URL for the "dump" directory?

    Thanks in advance for your help!
      • 12512
      • 42 Posts
      "Friendly URLs" is a site setting, so you cannot disable it for one page. But you can use the FileDetails snippet for example to display the content of a directory.