Re: [htdig] Indexing only HTML (again)


Geoff Hutchison (ghutchis@wso.williams.edu)
Mon, 15 Mar 1999 22:42:36 -0500


>>I want to index only html files. Having limit_url_to set to html
>>and limit normalised set to ${start_url} almost worked.
>>The only problem was some servers (all?) interpret a URL ending
>>in a / as /index.html and many authors use this to skip the
>>index.html. Any ideas about how to get around this?

I will make the assumption that your server only serves HTML files when a
URL ends in /?

How about:
limit_url_to: html /
limit_normalized: ${start_url}

I haven't tried it, but I suspect it should work...

-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/

------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig@htdig.org containing the single word "unsubscribe" in
the SUBJECT of the message.



This archive was generated by hypermail 2.0b3 on Wed Mar 17 1999 - 10:05:12 PST