Well, Dinky wants such solution, that if a user asks for an unexisting directory, then do a search on his site with the name of the directory.
Unfortunately there seems to be a small bug in my rewrite rule. If
http://www.mysite.com/bob
is entered, should work fine.
But if
http://www.mysite.com/bob/house/door
is entered, then it will use 'bob/house/door' for keyword in Search:
http://www.mysite.com/cgi-bin/search.cgi?query=bob/house/door'
So I'm thinking, that a script based rewrite rule would be needed, where the needed actions can be done. But this is much slower, than using the built-in regexps, especially, if script is executed in CGI mode, and in not Persistent Environment.
Best regards,
Webmaster33
Paid Support from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...