You can use rewrite rule to tell LSWS to proxy request to the target Apache instance.
What you need to do is to define a "Web Server" external application from LSWS web console, with name of "127.0.0.1:82". Then define a rewrite rule like
RewriteRule (.*)\.cgi$ http://127.0.0.1:82/$1 [P]