in reply to index.htm and .cgi

You can do this with the Apache web server with the AddHandler directive:
<Directory /path/to/web_files> Options ExecCGI AddHandler cgi-script .htm </Directory>
Personally, i don't like that. HTML files should not be CGI files in my humble opinion. What i do like is to use this trick with Excel (.xls) files and images (.jpg .png etc).

As for your second question, well, i must admit that i really don't understand what you mean. A search engine will add a page to it's repository, but most likely not with arguments. Why is this a worry to you, by the way?

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)

Replies are listed 'Best First'.
Re: (jeffa) Re: index.htm and .cgi
by diotalevi (Canon) on Oct 06, 2002 at 02:23 UTC

    While likely unrelated to this specific problem Lotus Domino (now IBM) does much of it's work using urls like http://www.domain.com/foo/bar.nsf/01234567890123456789012345678901/abcdefabcdefabcdefabcdefabcdefas?OpenDocument. Now this URL is pretty simple - the command is just OpenDocument. It's also quite common to get urls like ?OpenFrameset&Src=foo&Target=bar, ?OpenAgent¶m..... etc.

    This is poor planning on Lotus' part but doesn't change the fact that people do need search engines to index the information after the ? mark. Heck - the UseMod wiki does this as well. Everything to the right is the page being viewed/edited. You can't google a UseMod site unless you use the ? data as well. It's just not a good heuristic anymore. Like anything on the internet - those good old days are gone. Now Lotus does have workaround where you can get it to use the '!' bang mark but I recall there are some caveats to that. I've never needed it for my work and can't speak to it.

    __SIG__
    printf "You are here %08x\n", unpack "L!", unpack "P4", pack "L!", B::svref_2object(sub{})->OUTSIDE

Re: (jeffa) Re: index.htm and .cgi
by andrew (Acolyte) on Oct 06, 2002 at 01:00 UTC
    Hmm you wanna know what ill just make .shtml files search engine will crawl through that, it just a worry cause it doesnt search for after the "?"