Skip to main content.
home | support | download

Back to List Archive

Index only htm

From: John Angel <angel_john(at)not-real.hotmail.com>
Date: Sat Dec 06 2003 - 20:53:46 GMT
Hi, how to index only directories (/) and html extensions?

I am not familiar with regexp, should be something like this in test_url:

return 0 if $uri->path = /\.(html|htm|shtml|asp|php|txt|phtml|cfm|jsp)$/;

but I am not sure if it works. How to index directories (/) also?

Will that work for queries?
Received on Sat Dec 6 20:53:57 2003