I have a directory in which there will only ever be one .html file, but I don’t know what it will be called, as it is retrieved by an engine that I have no control over.
How can I make the .htaccess DirectoryIndex point to the first (and only) .html file it comes across?
DirectorIndex to
index.phpand write a small PHP script which does the following. This will scan the directory for the first HTML file and redirect to that.