[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Filtering Directories.



Hi,
 
I have been trying to configure glimpse to filter some directories. But yet when i run wgreindex, the directories get indexed. Below are my configuration files.
1. .wgfilter-index
--SNIP--
Deny ~$
Deny (^|/)_vti
Deny (^|/)\.htpasswd$
Deny (^|/)\.htgroup$
Deny ^/home/papers/public_html/WWW/books/.*
-----------------------------------------------
The last line was added by me to prevent wgreindex to prevent files in  "/home/papers/public_html/WWW/books/" directory from getting indexed.
However these files are still indexed.. why is that..??
Below is the output of .wg_toindex
[shashank@mia 1]# cat .wg_toindex | grep "/home/papers/public_html/WWW/books/" | more
/home/papers/public_html/WWW/books/perl_bookshelf/perlnut/c02_021.htm ... 
/home/papers/public_html/WWW/books/networking_bookshelf/tcpip/ch12_08.htm ...
 
 
Any help is greatly appreciated.
 
Regards
Shashank
http://mia.ece.uic.edu/~papers