Does your folder setup look something like;
public_html (root of the site)
public_html/dir/admin (LSQL admin folder)
? If so, try;
RewriteRule ^search/(.*) dir/search.cgi?query=$1 [L]
(not the missing / in front of "dir").
Hope that helps.
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!