webfrog
05-06-2003, 06:15 PM
Hello,
It will be obvious I know enough about cgi/perl to get myself in trouble here...
I've set up a Search Engine feature for our website. It works great with one exception. I need it to exclude a range of files within a directory. I can't exclude the entire directory as there are other files within that directory that need to be indexed. Here's the code I'm working with:
# List of files, which should not be indexed
$no_index_files = 'robots.txt dir1/no_index.html leftnav_1_12345678.inc
My goal is to exclude any inc file beginning with "leftnav". I have a series of leftnav files name with the number configuration posted above (cid and pid numbers). (I "inherited" this site from our previous developer.)
Any advice? Thanks!
WebFrog
It will be obvious I know enough about cgi/perl to get myself in trouble here...
I've set up a Search Engine feature for our website. It works great with one exception. I need it to exclude a range of files within a directory. I can't exclude the entire directory as there are other files within that directory that need to be indexed. Here's the code I'm working with:
# List of files, which should not be indexed
$no_index_files = 'robots.txt dir1/no_index.html leftnav_1_12345678.inc
My goal is to exclude any inc file beginning with "leftnav". I have a series of leftnav files name with the number configuration posted above (cid and pid numbers). (I "inherited" this site from our previous developer.)
Any advice? Thanks!
WebFrog