Forum Moderators: phranque
I've got a bit of a problem (for me anyway seeing as I know very little about the workings of .htaccess). Essentially I am going to have a series of directories containing text files. I dont want anyone to be able to access these text files directly via the url (i.e. if they type [mysite.com...] I want an error to be displayed),
However, I do wish to allow certain files (namely 2 particular .php and .swf files) to have full access to the .txt files so they can read and output them. The .php and .swf files will be sitting in the root of the server.
Does anyone have any suggestions? I appreciate any help offered.
Jim