I have created a images.mysite.com subdomain, where I only have one directory /myimages/, where I've placed all images that are served on my main www.mysite.com site.
1. I am trying to create an image sitemap for google 2. How to disallow an access to any other directory on the subdomain including main directory that in fact does not contain an index file.
I have seen this on some sites, when you try to access any directory including main and directory where images are located, you'll get an error like the one below, but you can still access an individual images on the subdomain. In my case I always get a server response 403 instead.
This XML file does not appear to have any style information associated with it. The document tree is shown below.
In my case I always get a server response 403 instead.
403 should be the response you get when you request a directory in which no DirectoryIndex has been specified or the default directory index document does not exist and "Options Indexes" has not been specified.