On Sat, Dec 06, 2003 at 12:52:17PM -0800, John Angel wrote:
> Hi, how to index only directories (/) and html extensions?
What are (/) directoires?
> 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)$/;
return 0 if $uri->path =~ /\.(html|htm|shtml|asp|php|txt|phtml|cfm|jsp)$/;
That says to return false if the path part of the URL ends in those file
extensions -- meaning NOT to index those documents.
> but I am not sure if it works. How to index directories (/) also?
> Will that work for queries?
What do you mean queries?
Received on Sat Dec 6 22:06:24 2003