Forum Moderators: phranque
I have a webserver setup for business and personal use on my xp system.
I have used apache 1.33 several times and can do basic configurations with it.
Concerning some directories; I would like to be able to link to files (.jpg,.gif,.doc,etc.) individualy from another website and server but don't want the directories to be browsable.
I put this in the directory
<Directory "/Apache/dir/images">
Options Indexes
Order allow,deny
deny from all
</Directory>
but this blocks access to all files in addition to the directory.
I know this is probably a simple fix but I am a little confused by the apache documentation on directory access.
Also, what is a good resource on making .htaccess files if this is needed?
Thanks,
Carlos
Welcome to WebmasterWorld!
Delete all of that stuff and use this single line in your .htaccess file:
Options [b]-In[/b]dexes
More info: [httpd.apache.org...]
Jim