I've set a virtual directory in /etc/apache2/sites-available/default like so:
Alias /lynx/ "/home/srv1100/"
<Directory "/home/srv1100/">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
every file is accessible when I write http://127.0.0.1/lynx/... I want that only files, which their extension is NOT "bsp" or "nav" and will be accessible. I can't put them in other directory.
Any ideas?
Thanks.
Please see the mod_autoindex documentation at http://httpd.apache.org/docs/2.0/mod/mod_autoindex.html
Check out the IndexIgnore directive.
You can use Apache's
mod_rewrite
to do this.