LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Perl, script to serve files from another server (https://www.linuxquestions.org/questions/programming-9/perl-script-to-serve-files-from-another-server-259627/)

Ctawp 11-26-2004 05:45 PM

Perl, script to serve files from another server
 
I was wondering how I might go about setting up a Perl script that will serve files from a networked http server when executed. The server the script would reside on is internet accessible, while the networked server is not, and I wish to be able to remotely access that server.

Any help would be appreciated. (I have managed to get a simple script that will request files, but I would like it to basically, in effect, redirect to that server, such that I can still get the directory listings, etc)

-Chris

psychobyte 11-26-2004 07:56 PM

I don't really follow what you're saying but, you might not really need a perl script to do this.

If you SSH into the computer that is on the Internet then use something like lynx to get pages from the
http server. that would be simpler.

Ctawp 11-26-2004 10:07 PM

I basically just want to be able to access my web server through that web server, and my best idea thus far is just to relay information w/ cgi.


All times are GMT -5. The time now is 06:46 AM.