Perl on Linux and NT - Clarification(attempt)

Patrick McManus mcmanus at AppliedTheory.com
Wed Aug 25 16:16:04 EDT 1999


you need to have the person in NY address their HTTP transactions at
the NT box.. because of the rfc1918 address space involved you'll have
to do this by forwarding a port of the linux box to the NT machine and
perfomring NAT on that, and the NY fellow will address their queries
to this port on the linux box..

if you want the resource to be executed on the NT platform then the
web transaction has to occur on that platform (or be triggered out of
band somehow by the box that did have the web transaction performed,
but you don't want that..)

I've certainly got ipchains setup to do exactly that (forward one of
my cable-modem connected ports to an NT box inside the defacto firewall)..

There are a myriad of port forwarders for both user and kernel
space.. I use ipmasqadm.

mounting the filesystem is not going to do what you want at all.. it
doesn't sound like you're even using the linux web server, which is
fine. or maybe you're using it for a different part of the solution
you don't describe here.


-P

In a previous episode Phil Buckley said...
:: 
:: This clarification might be a bit long, but here goes...
:: 
:: Here's the scenario:
:: Person in New York wants to do data entry on a database that resides on
:: the NT box.
:: The linux box mounts the directory which serves as the web root of the
:: NT box to home/httpd/html/nt
:: It is now possible to browse the NT's web directory
:: The NT box has MySQL and Perl installed.
:: The NT box contains the HTML and perl to access and manipulate the NT's
:: box MySQL database.
:: The network is comprised of 192.168.1.* IP addresses, only the modem has
:: a real IP address.
:: 
:: Is there a way, beside telling the NT box's scripts to run from the
:: linux perl, to have the perl compile locally on the NT box?
:: 
:: This is almost as hard to explain as it is to fix :(
:: 
-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).



More information about the Discuss mailing list