This is what I ended up using (for anyone that's interested).
#!/usr/bin/perl
use LWP::Simple;
$user="60a-001";
$URL="http://internal_server/inv/$user/$user.htm";
$content = get($URL);
print "Content-type: text/html","\n\n";
print "$content","\n";
exit (0);
> I'm trying to build a page which grabs content from an
> internal server(IIS).
>
> I assume I cannot redirect as the internal server has a
> 10.x.x.x ip address.
>
> I've tried SSI but that seems to only work for local files (?).
> <!--#include file="//internal_server/inv/60a-001/60A-001.htm" -->
>
> I've also tried a minimalist script but that just shows as a link.
> #!/usr/bin/perl
>
> print "Location:
> http://internal_server/inv/60a-001/60a-001.htm", "\n\n";
>
> # exit (0);
>
> I'm using apache btw. Could anyone offer some advice on a
> clean way to do
> this please before I resort to using cgi to reading the file
> line by line?
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web