Is there an easy way to script a function based off a file existing or not in a particular folder? Perhaps running a 404 test against the folder?
For example:
If default.html exists in child directory preview, then do this ... else do this ...?
Thanks for any help.