We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20407
    • 82 Posts
    I've got a site on Revo 2.0.4 and I want to allow a 3rd party search engine (Picosearch) to index PDFs in a directory under assets/pdf/. The problem is that attempting to access that directory returns a 404 currently (the files themselves are accessible). I've searched the forum for answers but haven't found anything helpful. Is there a simple change I can make in .htaccess or should I do something else with settings in the Manager?

    Also, this is my first time on here since the new forum was created so I don't know if this should be a "Discussion" or "Question and Answer" -- hope I chose the right one. Also, there was something about merging the old forum account? My username looks clickable, I'll try that...

    Appreciate any help.
    Wes
    • Whether or not a directory listing can be accessed depends on server configuration. Usually, for the sake of security, the ability to view a directory listing is disabled. This can be worked around by having an index.php file in the directory that has code for making links for the files in the directory. Then accessing the directory itself will load the index.php file.
        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
        • 20407
        • 82 Posts
        Thanks Susan. I was trying to avoid having to create an index page. Do you know how to change the server configuration?
          • 20407
          • 82 Posts
          OK, I figured it out. I put "Options +Indexes" in an .htaccess file in the directory that I want indexed.